Fix #807 TCP API on ESP32. thanks @jfirwin your hint made the problem easy to find!

pull/808/head
Kevin Hester 2021-05-24 09:42:21 +08:00
rodzic 069b0d38be
commit be410a3913
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
You probably don't care about this section - skip to the next one.
* investigate TCP on ESP32 https://github.com/meshtastic/Meshtastic-python/issues/90
* DONE investigate TCP on ESP32 https://github.com/meshtastic/Meshtastic-device/issues/807
* fix python tool problem with windows and the heartbeat
* router mode dropping messages? https://meshtastic.discourse.group/t/router-mode-missing-messages/3329/3
* fix ttgo eink screen

Wyświetl plik

@ -22,6 +22,9 @@ class WiFiServerAPI : public StreamAPI
protected:
/// We override this method to prevent publishing EVENT_SERIAL_CONNECTED/DISCONNECTED for wifi links (we want the board to stay in the POWERED state to prevent disabling wifi)
virtual void onConnectionChanged(bool connected) {}
virtual int32_t runOnce(); // Check for dropped client connections
/// Check the current underlying physical link to see if the client is currently connected