mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-21 04:35:33 +01:00
update BatteryInfo on screen when BME is selected
This commit is contained in:
parent
deeb592084
commit
b9aca22f31
|
|
@ -20,7 +20,7 @@
|
|||
Configuration Config;
|
||||
WiFiClient espClient;
|
||||
|
||||
String versionDate = "2023.07.16";
|
||||
String versionDate = "2023.07.17";
|
||||
int myWiFiAPIndex = 0;
|
||||
int myWiFiAPSize = Config.wifiAPs.size();
|
||||
WiFi_AP *currentWiFi = &Config.wifiAPs[myWiFiAPIndex];
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ String receivePacket() {
|
|||
rssi = LoRa.packetRssi();
|
||||
snr = LoRa.packetSnr();
|
||||
freqError = LoRa.packetFrequencyError();
|
||||
Serial.println("(RSSI:" +String(rssi) + " / SNR:" + String(snr) + " / FreqErr:" + String(freqError) + ")");
|
||||
if (Config.syslog.active && (stationMode==1 || stationMode==2)) {
|
||||
SYSLOG_Utils::log("LoRa Rx", loraPacket, rssi, snr, freqError);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ void checkBeaconInterval() {
|
|||
sixthLine = "";
|
||||
show_display(firstLine, secondLine, thirdLine, fourthLine, fifthLine, sixthLine, "SENDING iGate BEACON", 1000);
|
||||
if (Config.sendBatteryVoltage) {
|
||||
sixthLine = " " + beaconPacket;
|
||||
sixthLine = " (Batt=" + String(BATTERY_Utils::checkVoltages(),2) + "V)";
|
||||
}
|
||||
seventhLine = " listening...";
|
||||
espClient.write((beaconPacket + "\n").c_str());
|
||||
|
|
@ -134,7 +134,7 @@ void checkBeaconInterval() {
|
|||
sixthLine = "";
|
||||
show_display(firstLine, secondLine, thirdLine, fourthLine, fifthLine, sixthLine, "SENDING iGate BEACON", 0);
|
||||
if (Config.sendBatteryVoltage) {
|
||||
sixthLine = " " + beaconPacket;
|
||||
sixthLine = " (Batt=" + String(BATTERY_Utils::checkVoltages(),2) + "V)";
|
||||
}
|
||||
seventhLine = " listening...";
|
||||
if (stationMode == 4) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue