mode4 without PATH corrected

This commit is contained in:
richonguzman 2023-06-12 01:53:31 -04:00
parent 72204cb6fd
commit ec3f3f1fa9
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"callsign": "CD2RXU-11",
"stationMode": 2,
"stationMode": 4,
"iGateComment": "LoRa_APRS_iGate",
"wifi": {
"AP": [

View file

@ -27,7 +27,7 @@ void processPacket(String packet) {
} else if (stationMode ==4){
Utils::typeOfPacket(packet);
if (packet.indexOf("WIDE1-1") == -1) {
loraPacket = packet.substring(3,packet.indexOf(":")) + "," + Config.callsign + "*" + packet.indexOf(":");
loraPacket = packet.substring(3,packet.indexOf(":")) + "," + Config.callsign + "*" + packet.substring(packet.indexOf(":"));
} else {
loraPacket = packet.substring(3,packet.indexOf(",")+1) + Config.callsign + "*" + packet.substring(packet.indexOf(","));
}