We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
micropython/lora/lora-sx126x/lora/sx126x.py, line: 599
In sx1262.py, the SNR value is parsed incorrectly in _read_packet. The driver currently does:
sx1262.py
_read_packet
rx_packet.snr = pkt_status[2] # Incorrect
pkt_status[2] is a signed 8-bit integer in two’s complement format (unit: dB × 4), and should be converted before use.
raw_snr = pkt_status[2] if raw_snr >= 128: raw_snr -= 256 # convert to int8
The text was updated successfully, but these errors were encountered:
@projectgus FYI
Sorry, something went wrong.
Thanks @hlym123, will fix.
projectgus
No branches or pull requests
🐛 Bug Description
micropython/lora/lora-sx126x/lora/sx126x.py, line: 599
In
sx1262.py
, the SNR value is parsed incorrectly in_read_packet
. The driver currently does:pkt_status[2] is a signed 8-bit integer in two’s complement format (unit: dB × 4), and should be converted before use.
The text was updated successfully, but these errors were encountered: