Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
64 stars 11 forks source link

Question: What is the semantic meaning of 0x3C00 #84

Closed afarago closed 11 months ago

afarago commented 11 months ago

This is rather question to understand the format and move on with a .cpp implementation.

Is 0x3C00 a valid payload? What is the semantic meaning of it? Is this an error in the specification that can be neglected?

It has importance as this type moves between 2 or 3 bytes that is quite annoying.

For reference - this is the local bthome decoder & bthome over espnow.

Ernst79 commented 11 months ago

Ah, I see your point. 0x3C should be followed by two bytes, so if you want to send an Dimmer event None, you should send 0x3C0000.

I’ll update the documentation.