mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-08-09 10:22:51 +02:00
1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"callsign": "CD2RXU-10",
|
||||
"stationMode": 3,
|
||||
"stationMode": 4,
|
||||
"iGateComment": "LoRa_APRS_iGate",
|
||||
"digirepeaterComment": "LoRa_APRS_Digirepeater" ,
|
||||
"wifi": {
|
||||
|
||||
+2
-2
@@ -40,11 +40,11 @@ void process(String packet) {
|
||||
if (stationMode == 3) {
|
||||
delay(8000);// quizas no es necesario esperar tanto?
|
||||
//LoRa_Utils::sendNewPacket("APRS", firstPart + Config.callsign + lastPart);
|
||||
Serial.print("repitiendo/Tx mensaje truncado");
|
||||
Serial.println("repitiendo/Tx mensaje truncado");
|
||||
LoRa_Utils::sendNewPacket("APRS", firstPart + Config.callsign + lastPart + Config.iGateComment); // test porque esta truncado
|
||||
} else { // enviar con != freq
|
||||
delay(8000);
|
||||
Serial.print("repitiendo/Tx mensaje otra frecuencia");
|
||||
Serial.println("repitiendo/Tx mensaje otra frecuencia");
|
||||
LoRa_Utils::changeFreqTx();
|
||||
LoRa_Utils::sendNewPacket("APRS", firstPart + Config.callsign + lastPart + "1");
|
||||
LoRa_Utils::changeFreqRx();
|
||||
|
||||
@@ -67,6 +67,7 @@ void changeFreqTx() {
|
||||
delay(1000);
|
||||
}
|
||||
} else {
|
||||
delay(500); //borrar?
|
||||
Serial.println("cambiando frecuencia Tx = " + String(Config.loramodule.frequencyTx));
|
||||
}
|
||||
}
|
||||
@@ -79,6 +80,7 @@ void changeFreqRx() {
|
||||
delay(1000);
|
||||
}
|
||||
} else {
|
||||
delay(500); //borrar?
|
||||
Serial.println("cambiando frecuencia Rx = " + String(Config.loramodule.frequencyRx));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user