-
Notifications
You must be signed in to change notification settings - Fork 835
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
Possibly a bug in the auto_analyse_raw_data.py LSB #1882
Comments
This should be consistent with how the library works. What you say makes sense for this protocol, but maybe not for every protocol. |
@danielegobbetti Sorry, but this is working as intended. It's provides a first approximation, not a definitive "This is how you should structure this data" etc. |
Oh, and FYI: |
Many thanks for the clarification and sorry for the noise. I am used to reversing BT/BLE messages and in that case the byte endiannes is a variable but the bits on the wire are always kept as they are. Of course those are all byte-based protocols so to each their own :-) |
Version/revision of the library used
master
Describe the bug
The LSB output of
auto_analyse_raw_data.py
inverts also the byte order: the last bytes in the message are the first in the LSB line.To Reproduce
Output:
Example code used
Nothing else as written above
Expected behaviour
The LSB representation should reverse the bits in each byte, but the byte should remain in its position.
As a side note, I noticed this strange behavior while reversing the IR protocol of my York AC device. I found the structure and am now working on the checksum. It seemed strange to me that the checksum bytes were at the beginning (the protocol uses LSB) . Perhaps this is a know behavior and not a bug, but I found no notice in the source file.
The text was updated successfully, but these errors were encountered: