lego-ble-wireless-protocol-docs
lego-ble-wireless-protocol-docs copied to clipboard
3.32.1. Port Output Command Feedback Format - unknown feedback - 0x0A
I got a little lost: I send a normal drive command : 0x08,0x00,0x81,0x00,0x11,0x51,0x00,0x25} and got : 05-00-82-00-0A
What does response code "0A" mean, could not find in documentation
Thanks
Marc
This one bugged me for a while as well until I realised the value is coded as BIT-fields
https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#port-output-command-feedback-format
The hex value 0A is in decimal form 10. In binary format 10 is equal to 1010. 1010 is one 8 and one 2
2 = Buffer Empty + Command Completed 8 = Idle
Therefor, 0A is the same as: Buffer Empty + Command completed + Idle