Skip to content

Fix signed radio provisioning metrics - #103

Open
nilu96 wants to merge 1 commit into
attermann:masterfrom
nilu96:fix-radio-metrics
Open

Fix signed radio provisioning metrics#103
nilu96 wants to merge 1 commit into
attermann:masterfrom
nilu96:fix-radio-metrics

Conversation

@nilu96

@nilu96 nilu96 commented Aug 2, 2026

Copy link
Copy Markdown

Summary

Fixes #101.

The LoRa provisioning metrics cast Noise Floor and Last RSSI to uint16_t, causing negative dBm values to wrap into large positive integers. For example, -36 became 65500.

This change:

  • Preserves Noise Floor and Last RSSI as signed integer values.
  • Exposes Last SNR as a signed floating-point metric, preserving negative and quarter-dB values.

Testing

  • Built heltec_wifi_lora_32_V4-local successfully.

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.

Webconsole shows Noise Floor and Last RSSI as unsigned ints

1 participant