Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Fixed the command IDs. Prior to this change the command IDs were usin…#10

Merged
fahhem merged 2 commits intogoogle:masterfrom
dbonafilia:cmd-id-fix
Oct 27, 2015
Merged

Fixed the command IDs. Prior to this change the command IDs were usin…#10
fahhem merged 2 commits intogoogle:masterfrom
dbonafilia:cmd-id-fix

Conversation

@dbonafilia
Copy link
Copy Markdown

…g the 4 letter code to generate the ID rather than the reversed 4 letter code.

…g the 4 letter code to generate the ID rather than the reversed 4 letter code.
@fahhem
Copy link
Copy Markdown
Contributor

fahhem commented Jun 30, 2015

It's not reversed, it's just little-endian. For instance, STAT, the 'S' is the lowest-value byte, then 'T' and so-on. I made the constants for the doc before actually writing the code, which is when I actually wrote the MakeWireIDs function that creates the constants correctly.

With that change, LGTM.

fahhem added a commit that referenced this pull request Oct 27, 2015
Fixed the command IDs in the protocol description
@fahhem fahhem merged commit 2cbe0a5 into google:master Oct 27, 2015
@fahhem
Copy link
Copy Markdown
Contributor

fahhem commented Oct 27, 2015

Would you like to be in the CONTRIBUTORS file? If so, I'll accept either a merge request or just reply with your name and email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants