lego-ble-wireless-protocol-docs icon indicating copy to clipboard operation
lego-ble-wireless-protocol-docs copied to clipboard

3.32.1. Port Output Command Feedback Format - unknown feedback - 0x0A

Open marcrupprath opened this issue 5 years ago • 1 comments

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

marcrupprath avatar Feb 02 '20 15:02 marcrupprath

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

teolag avatar May 11 '20 20:05 teolag