Skip to content

Commit

Permalink
include signal strength in the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
soshial committed Jul 2, 2021
1 parent ad300ec commit 8febac3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions firmware_v5/telelogger/telelogger.ino
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,13 @@ void process()
processExtInputs(buffer);
#endif

#if NET_DEVICE >= SIM800
rssi = teleClient.net.getSignal();
if (rssi) {
buffer->add(PID_CSQ, rssi);
}
#endif

#if ENABLE_MEMS
processMEMS(buffer);
#endif
Expand Down

0 comments on commit 8febac3

Please sign in to comment.