kopia lustrzana https://github.com/sh123/esp32_loraprs
Include signal report into the aprs position packet with messaging support
rodzic
3568d28e32
commit
ebda9b88cb
|
@ -102,7 +102,7 @@ String Payload::ToString(const String &customComment) const
|
||||||
|
|
||||||
txt += String(":") + info_;
|
txt += String(":") + info_;
|
||||||
|
|
||||||
if (info_.startsWith("=")) {
|
if (info_.startsWith("=") || info_.startsWith("!")) {
|
||||||
txt += customComment;
|
txt += customComment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -664,7 +664,7 @@ void Service::processIncomingRawPacketAsServer(const byte *packet, int packetLen
|
||||||
String(frequencyError) +
|
String(frequencyError) +
|
||||||
String("Hz");
|
String("Hz");
|
||||||
}
|
}
|
||||||
|
|
||||||
String textPayload = payload.ToString(config_.EnableSignalReport ? signalReport : String());
|
String textPayload = payload.ToString(config_.EnableSignalReport ? signalReport : String());
|
||||||
LOG_INFO(textPayload);
|
LOG_INFO(textPayload);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue