Skip to content

lora: Fix SNR value in SX126x received packets. #1000

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

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

projectgus
Copy link
Contributor

Wasn't being treated as a signed value. Closes #999 .

Tested on NUCLEO-WL55 (same underlying driver as SX126x), by moving the transmitter far enough away for SNR to be <0dB.

@projectgus
Copy link
Contributor Author

@hlym123 thanks again for the very clear bug report!

Wasn't being treated as a signed value.

Fixes issue micropython#999.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
@dpgeorge dpgeorge force-pushed the bugfix/lora_sx126x_snr branch from 58c3e31 to f8c8875 Compare April 24, 2025 06:21
@dpgeorge dpgeorge merged commit f8c8875 into micropython:master Apr 24, 2025
4 checks passed
@projectgus
Copy link
Contributor Author

@dpgeorge Oops, thanks for bumping the manifest version!

@projectgus projectgus deleted the bugfix/lora_sx126x_snr branch April 24, 2025 07:24
@dpgeorge
Copy link
Member

thanks for bumping the manifest version!

No worries! It's a habit now.

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.

Incorrect SNR parsing in _read_packet of LoRa SX1262 driver
2 participants