We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 979b23e + 29a9953 commit a616e36Copy full SHA for a616e36
libs/SmartMeshSDK/protocols/oap/OAPNotif.py
@@ -72,7 +72,9 @@ def parse_oap_notif(data, index = 0):
72
raise SystemError("unknown OAP sample with channel={0}").format(channel)
73
74
#===== populate result structure
75
-
+
76
+ if channel[0]==ANALOG_ADDRESS or channel[0]==DIGITAL_IN_ADDRESS:
77
+ result.input = channel[1]
78
result.packet_timestamp = (secs, usecs)
79
result.rate = rate
80
result.num_samples = num_samples
0 commit comments