You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think to have found a small issue with the parsing of the Sensor Status message. The parsing method stops, when sensor_setting_raw is empty, due to the length field value being 0x7F (128) instead of 0x00 (0). I solved the issue by adding length = (length % 128) on the line number 165.
The text was updated successfully, but these errors were encountered:
diocorreia
changed the title
Problem during sensor status message parsing
Report of a problem (and fix suggestion) about sensor status message parsing
Mar 30, 2021
I'm using a node with a nRF Connect SDK sensor_server sample flashed on it. The sensor status message (in hex) I get, when I send an SENSOR_SERIES_GET message, is '52ff4d00820a1b08ff6400220d0000'. I've already tested the node with nRF Mesh android app, and the node seems OK.
Hello,
I think to have found a small issue with the parsing of the Sensor Status message. The parsing method stops, when sensor_setting_raw is empty, due to the length field value being 0x7F (128) instead of 0x00 (0). I solved the issue by adding
length = (length % 128)
on the line number 165.python-bluetooth-mesh/bluetooth_mesh/messages/sensor.py
Line 164 in f3b2057
The text was updated successfully, but these errors were encountered: