This commit is contained in:
richonguzman
2023-06-07 19:58:06 -04:00
parent 54af00d357
commit 3af07a8b30
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"callsign": "CD2RXU-10",
"stationMode": 3,
"stationMode": 4,
"iGateComment": "LoRa_APRS_iGate",
"digirepeaterComment": "LoRa_APRS_Digirepeater" ,
"wifi": {
+2 -2
View File
@@ -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();
+2
View File
@@ -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));
}
}