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

fix: zigate: parse all values as big endian #1170

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

devbis
Copy link
Contributor

@devbis devbis commented Aug 30, 2024

NXP chips are big-endian, so all serial communication is going in big endian multi-byte values.
I changed all conversions to Big Endian which simplifies the code and also fixes reversed IEEE addresses.

Fixes: #1169

@devbis devbis force-pushed the zigate-big-endian branch from b7f04e8 to e21d465 Compare August 30, 2024 09:38
@devbis
Copy link
Contributor Author

devbis commented Aug 30, 2024

@Koenkk it would be nice to see this fix merged in the next release as the long as addresses are broken in 1.39.1 for Zigate

@Koenkk Koenkk merged commit 1a50e2e into Koenkk:master Aug 30, 2024
1 check passed
@Koenkk
Copy link
Owner

Koenkk commented Aug 30, 2024

Thanks, it will be part of the next release!

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

Successfully merging this pull request may close these issues.

ZiGate reverse IEEE address on adding devices (probaby in other messages)
2 participants