mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-19 03:34:48 +01:00
beta2
This commit is contained in:
parent
b7278718ee
commit
5d56f256e8
|
|
@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue