kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
Enhanced network handling for sondehub
rodzic
fab83de888
commit
0d03b2abae
|
@ -3552,8 +3552,13 @@ void sondehub_reply_handler(WiFiClient * client) {
|
||||||
}
|
}
|
||||||
if (cnt >= MSG_SIZE - 1) {
|
if (cnt >= MSG_SIZE - 1) {
|
||||||
cnt = 0;
|
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
|
// send import requests if needed
|
||||||
if (sonde.config.sondehub.fiactive) {
|
if (sonde.config.sondehub.fiactive) {
|
||||||
|
|
Ładowanie…
Reference in New Issue