kopia lustrzana https://github.com/sh123/esp32_loraprs
Signal report for mic-e packets
rodzic
ebda9b88cb
commit
bac3bd69ec
|
@ -102,7 +102,10 @@ String Payload::ToString(const String &customComment) const
|
|||
|
||||
txt += String(":") + info_;
|
||||
|
||||
if (info_.startsWith("=") || info_.startsWith("!")) {
|
||||
if (info_.startsWith("=") ||
|
||||
info_.startsWith("!") ||
|
||||
info_.startsWith("`")) {
|
||||
|
||||
txt += customComment;
|
||||
}
|
||||
|
||||
|
|
|
@ -652,8 +652,7 @@ void Service::processIncomingRawPacketAsServer(const byte *packet, int packetLen
|
|||
int rssi = LoRa.packetRssi();
|
||||
long frequencyError = LoRa.packetFrequencyError();
|
||||
#endif
|
||||
String signalReport = String(" ") +
|
||||
String("rssi: ") +
|
||||
String signalReport = String("rssi: ") +
|
||||
String(snr < 0 ? rssi + snr : rssi) +
|
||||
String("dBm, ") +
|
||||
String("snr: ") +
|
||||
|
|
Ładowanie…
Reference in New Issue