From 5d56f256e8a456b72751ee624741ef36f69d55f5 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Wed, 22 Feb 2023 09:10:28 -0300 Subject: [PATCH] beta2 --- src/ESP32_APRS_Weather_Report.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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; + } } }