This commit is contained in:
richonguzman 2023-03-26 18:37:42 -03:00
parent a2167b3b11
commit d84d26f4b2
2 changed files with 4 additions and 13 deletions

View file

@ -209,7 +209,7 @@ void loop() {
Serial.println("---- Sending iGate Beacon ----");
//String iGateBeaconPacket = Config.callsign + ">APRS,TCPIP*,qAC,CHILE:=" + currentWiFi->latitude + "L" + currentWiFi->longitude + "&" + Config.comment;
String iGateBeaconPacket = Config.callsign + ">APRS,TCPIP*,qAC,CHILE:=" + Latitude + "L" + Longitude + "&" + Config.comment + "\n";
Serial.println(iGateBeaconPacket);
//Serial.println(iGateBeaconPacket);
espClient.write(iGateBeaconPacket.c_str());
lastTxTime = millis();
display_toggle(true);

View file

@ -3,19 +3,10 @@
#include <Arduino.h>
//#define VERSION "V.0.0.1" //MEGA BETA
#define WifiCheckInterval 60000 // wificheck after one minute
const String Latitude = "3302.02S"; // write your own iGate latitude and longitude
const String Longitude = "07134.42W";
//#define BeaconInterval 900000 // 15 minutes = 900000 seg
#define WifiCheckInterval 60000 // wificheck after one minute
//const String AprsSoftwareName = "ESP32_LoRa_iGate";
//const String AprsSoftwareVersion = "0.0.9";
//const String iGateCallsign = "CD2RXU-11"; // use your own iGate Callsign
//const int AprsReportingDistance = 20; // kms
//const String AprsFilter = "t/m/" + iGateCallsign + "/" + (String)AprsReportingDistance;
const String Latitude = "3302.02S"; // write your own iGate latitude and longitude
const String Longitude = "07134.42W";
#endif