diff --git a/src/ESP32_APRS_Weather_Report.cpp b/src/ESP32_APRS_Weather_Report.cpp index d67af59..6c4c6f5 100644 --- a/src/ESP32_APRS_Weather_Report.cpp +++ b/src/ESP32_APRS_Weather_Report.cpp @@ -47,14 +47,23 @@ void APRS_connect(){ void APRS_IS_READ(){ String aprsisData; + //String mensaje; while (espClient.connected()) { while (espClient.available() > 0) { char c = espClient.read(); if (c == '\n') { Serial.print(aprsisData); + //Serial.println(aprsisData.indexOf("CD2RXU-9")); + /*mensaje = aprsisData; + delay(50); + if (mensaje.indexOf("CD2RXU-9") >= 0){ + Serial.print("CD2RXU-9 con info!!!!!!!!!!!!!"); + }*/ aprsisData = ""; + //mensaje = ""; } aprsisData += c; + } } }