diff --git a/data/igate_conf.json b/data/igate_conf.json index 805a986..bf8a16b 100644 --- a/data/igate_conf.json +++ b/data/igate_conf.json @@ -1,6 +1,6 @@ { "callsign": "CD2RXU-10", - "stationMode": 3, + "stationMode": 4, "iGateComment": "LoRa_APRS_iGate", "digirepeaterComment": "LoRa_APRS_Digirepeater" , "wifi": { diff --git a/src/digi_utils.cpp b/src/digi_utils.cpp index 4b3037b..7ef881c 100644 --- a/src/digi_utils.cpp +++ b/src/digi_utils.cpp @@ -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(); diff --git a/src/lora_utils.cpp b/src/lora_utils.cpp index f3e9acd..32c9593 100644 --- a/src/lora_utils.cpp +++ b/src/lora_utils.cpp @@ -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)); } }