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:
parent
a3502c8c89
commit
24bc2b9a1c
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue