Open marcrupprath opened 4 years ago
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
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