mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-31 12:54:27 +01:00
mode4 without PATH corrected
This commit is contained in:
parent
72204cb6fd
commit
ec3f3f1fa9
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"callsign": "CD2RXU-11",
|
||||
"stationMode": 2,
|
||||
"stationMode": 4,
|
||||
"iGateComment": "LoRa_APRS_iGate",
|
||||
"wifi": {
|
||||
"AP": [
|
||||
|
|
|
|||
|
|
@ -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(","));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue