mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 01:42:22 +01:00
add conn timeout to example conf
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
"stationMode": 0,
|
||||
"hostname": "illucat",
|
||||
"apSSID": "illucat",
|
||||
"apPassword": "illucat",
|
||||
"apPassword": "illumination",
|
||||
"connectTimeout": 20000,
|
||||
"stationSSID": "MyWifi",
|
||||
"stationPassword": "myWifiPassword",
|
||||
"meshSSID": "illucat",
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user