mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-24 01:30:15 +01:00
19 lines
405 B
C++
19 lines
405 B
C++
#include <WiFi.h>
|
|
#include <Arduino.h>
|
|
#include "configuration.h"
|
|
#include "utils.h"
|
|
|
|
extern WiFiClient espClient;
|
|
extern Configuration Config;
|
|
extern bool statusAfterBoot;
|
|
|
|
namespace utils {
|
|
|
|
void processStatus() {
|
|
delay(1000);
|
|
String startupStatus = Config.callsign + ">APLR10,qAC:>" + Config.defaultStatus;
|
|
espClient.write((startupStatus + "\n").c_str());
|
|
statusAfterBoot = false;
|
|
}
|
|
|
|
} |