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

network_key read and write takes extra byte #18

Open
stuart opened this issue May 17, 2022 · 1 comment
Open

network_key read and write takes extra byte #18

stuart opened this issue May 17, 2022 · 1 comment

Comments

@stuart
Copy link

stuart commented May 17, 2022

Whilst implementing this in Elixir/Erlang I found that Read Parameter Request frames frames for the network key parameter required an extra 0x00 byte after the parameter_id in order to return a value. The value returned also had the extra byte, that is the payload had 17 bytes not 16 as per the document.

The Write Parameter Request also required the extra byte or the response was invalid value.

Is there a quirk where the parameter id treated as a u16 in this case or is the data padded with an extra byte?

@jtorvald
Copy link

At crazy as it sounds, I can confirm that this is the case even after almost 3 years. Mind is blown

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