mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-06 15:05:57 +00:00
configuration path repack
This commit is contained in:
parent
353d7357dc
commit
20687cd9d2
6 changed files with 42 additions and 19 deletions
|
|
@ -22,8 +22,16 @@ extern String iGateBeaconPacket;
|
|||
namespace utils {
|
||||
|
||||
void processStatus() {
|
||||
delay(1000);
|
||||
espClient.write((Config.callsign + ">APLRG1,qAC:>" + Config.defaultStatus + "\n").c_str());
|
||||
String status = Config.callsign + ">APLRG1";
|
||||
if (stationMode==1 || stationMode==2) {
|
||||
delay(1000);
|
||||
status += ",qAC:>" + Config.defaultStatus;
|
||||
espClient.write((status + "\n").c_str());
|
||||
} else {
|
||||
delay(5000);
|
||||
status += ":>" + Config.defaultStatus;
|
||||
LoRa_Utils::sendNewPacket("APRS", status);
|
||||
}
|
||||
statusAfterBoot = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue