mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-05 17:31:58 +02:00
RFONLY update
This commit is contained in:
@@ -108,7 +108,11 @@ namespace APRS_IS_Utils {
|
||||
for (int i = sender.length(); i < 9; i++) {
|
||||
sender += ' ';
|
||||
}
|
||||
LoRa_Utils::sendNewPacket("APRS", Config.callsign + ">APLRG1," + Config.beacon.path + "::" + sender + ":" + ackMessage);
|
||||
if (Config.beacon.path == "") {
|
||||
LoRa_Utils::sendNewPacket("APRS", Config.callsign + ">APLRG1,RFONLY::" + sender + ":" + ackMessage);
|
||||
} else {
|
||||
LoRa_Utils::sendNewPacket("APRS", Config.callsign + ">APLRG1,RFONLY" + Config.beacon.path + "::" + sender + ":" + ackMessage);
|
||||
}
|
||||
receivedMessage = packet.substring(packet.indexOf(":") + 1, packet.indexOf("{"));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user