LoRa Access Point 1.5.2018
Dependencies: mbed ds3231 SX1276Lib_LoRa_Access_Point
Diff: ESP8266.cpp
- Revision:
- 4:e20eb5efd859
- Parent:
- 2:0499e1d037a5
- Child:
- 5:19b34c4d27a1
diff -r 7a3ddda464bf -r e20eb5efd859 ESP8266.cpp --- a/ESP8266.cpp Mon Apr 23 21:28:36 2018 +0000 +++ b/ESP8266.cpp Mon Apr 30 17:09:34 2018 +0000 @@ -64,7 +64,18 @@ if( strncmp( ( const char* )buffer, "~~~", 3 ) == 0 ) wifiUart.printf("%s", WIFI_ALIVE_RESPONSE); - /* + + + if (strstr(buffer, "0|") != NULL) { + rfm.SendMessage(buffer); + pc.printf("%s", buffer); + } + + + + + + /* if( strncmp( ( const char* )_responseBuf, "+IPD,", 5 ) == 0 ) { char * pch;