Called the TCPKeepAlive feature
This commit is contained in:
parent
19cf9ac678
commit
e1ac857088
@ -16,6 +16,7 @@ void setup()
|
|||||||
{
|
{
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
Serial.printf("\nSetup start\n");
|
Serial.printf("\nSetup start\n");
|
||||||
|
ss.enableTCPKeepAlive(15, 5, 5);
|
||||||
gotIpEventHandler = WiFi.onStationModeGotIP(&(gotIp));
|
gotIpEventHandler = WiFi.onStationModeGotIP(&(gotIp));
|
||||||
disconnectedEventHandler = WiFi.onStationModeDisconnected(&(lostCon));
|
disconnectedEventHandler = WiFi.onStationModeDisconnected(&(lostCon));
|
||||||
WiFi.persistent(false);
|
WiFi.persistent(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user