Correct representation of RSSI (#505)

SemTech data sheet says that in FSK mode,
"Actual signal power is –RssiAvg/2 (dBm)"

(resisted the impulse to fix spacing while I was there)
This commit is contained in:
Chris Kuethe 2025-01-08 14:22:51 -08:00 committed by GitHub
parent a3502c8c89
commit 24bc2b9a1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ int sonde2json(char *buf, int maxlen, SondeInfo *si)
"\"time\": %u,"
"\"sats\": %d,"
"\"freq\": %.2f,"
"\"rssi\": %d,"
"\"rssi\": %.1f,"
"\"afc\": %d,"
"\"launchKT\": %d,"
"\"burstKT\": %d,"
@ -85,7 +85,7 @@ int sonde2json(char *buf, int maxlen, SondeInfo *si)
s->time,
s->sats,
si->freq,
si->rssi,
si->rssi/-2.0,
si->afc,
s->launchKT,
s->burstKT,