mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 14:37:05 +00:00
test
This commit is contained in:
parent
56c0010a3b
commit
324939fc72
9 changed files with 108 additions and 19 deletions
|
|
@ -105,4 +105,17 @@ void validateDigiFreqs() {
|
|||
}
|
||||
}
|
||||
|
||||
void typeOfPacket(String packet) {
|
||||
thirdLine = "Callsign = " + packet.substring(3,packet.indexOf(">"));
|
||||
if (packet.indexOf("::") >= 10) {
|
||||
fourthLine = "TYPE ----> MESSAGE";
|
||||
} else if (packet.indexOf(":>") >= 10) {
|
||||
fourthLine = "TYPE ----> NEW STATUS";
|
||||
} else if (packet.indexOf(":!") >= 10 || packet.indexOf(":=") >= 10) {
|
||||
fourthLine = "TYPE ----> GPS BEACON";
|
||||
} else {
|
||||
fourthLine = "TYPE ----> ??????????";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue