Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marcrupprath opened this issue Feb 2, 2020 · 1 comment

Comments

@marcrupprath
Copy link

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

@teolag
Copy link

teolag commented May 11, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants