RFONLY update

This commit is contained in:
richonguzman
2024-04-04 15:54:49 -03:00
parent c10645c2c0
commit e4bc8eecbe
4 changed files with 15 additions and 6 deletions

View File

@@ -41,7 +41,11 @@ namespace QUERY_Utils {
if (queryOrigin == "APRSIS") {
return Config.callsign + ">APLRG1,TCPIP,qAC::" + station + ":" + answer;// + "\n";
} else { //} if (queryOrigin == "LoRa") {
return Config.callsign + ">APLRG1," + Config.beacon.path + "::" + station + ":" + answer;
if (Config.beacon.path == "") {
return Config.callsign + ">APLRG1,RFONLY::" + station + ":" + answer;
} else {
return Config.callsign + ">APLRG1,RFONLY," + Config.beacon.path + "::" + station + ":" + answer;
}
}
}