mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-16 18:05:05 +01:00
add conn timeout to example conf
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
"stationMode": 0,
|
"stationMode": 0,
|
||||||
"hostname": "illucat",
|
"hostname": "illucat",
|
||||||
"apSSID": "illucat",
|
"apSSID": "illucat",
|
||||||
"apPassword": "illucat",
|
"apPassword": "illumination",
|
||||||
|
"connectTimeout": 20000,
|
||||||
"stationSSID": "MyWifi",
|
"stationSSID": "MyWifi",
|
||||||
"stationPassword": "myWifiPassword",
|
"stationPassword": "myWifiPassword",
|
||||||
"meshSSID": "illucat",
|
"meshSSID": "illucat",
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ class IlluCat : public Sprocket {
|
|||||||
if(type == WS_EVT_DATA){
|
if(type == WS_EVT_DATA){
|
||||||
String frame = WsUtils::parseFrameAsString(type, arg, data, len, 0);
|
String frame = WsUtils::parseFrameAsString(type, arg, data, len, 0);
|
||||||
dispatch(0, frame);
|
dispatch(0, frame);
|
||||||
net->mesh.sendBroadcast(frame);
|
network.broadcast(frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user