diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index 019c724..5269b5b 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -3552,8 +3552,13 @@ void sondehub_reply_handler(WiFiClient * client) { } if (cnt >= MSG_SIZE - 1) { cnt = 0; + Serial.println("(overlong line from network, ignoring)"); } } + if (cnt > 0) { + rs_msg[cnt + 1] = 0; + Serial.println(rs_msg); + } } // send import requests if needed if (sonde.config.sondehub.fiactive) {