add conn timeout to example conf

This commit is contained in:
2018-10-03 22:07:20 +02:00
parent ffd76acb69
commit 0686895f33
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,8 @@
"stationMode": 0,
"hostname": "illucat",
"apSSID": "illucat",
"apPassword": "illucat",
"apPassword": "illumination",
"connectTimeout": 20000,
"stationSSID": "MyWifi",
"stationPassword": "myWifiPassword",
"meshSSID": "illucat",

View File

@@ -143,7 +143,7 @@ class IlluCat : public Sprocket {
if(type == WS_EVT_DATA){
String frame = WsUtils::parseFrameAsString(type, arg, data, len, 0);
dispatch(0, frame);
net->mesh.sendBroadcast(frame);
network.broadcast(frame);
}
}