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.
|
length = (property_id[0] >> 1) + 1 |
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