From 0686895f333ebc66fee45c91a251c6f71efa7f65 Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Wed, 3 Oct 2018 22:07:20 +0200 Subject: [PATCH] add conn timeout to example conf --- data/example.config.json | 3 ++- src/IlluCat.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/example.config.json b/data/example.config.json index f9326fd..b441a17 100644 --- a/data/example.config.json +++ b/data/example.config.json @@ -2,7 +2,8 @@ "stationMode": 0, "hostname": "illucat", "apSSID": "illucat", - "apPassword": "illucat", + "apPassword": "illumination", + "connectTimeout": 20000, "stationSSID": "MyWifi", "stationPassword": "myWifiPassword", "meshSSID": "illucat", diff --git a/src/IlluCat.h b/src/IlluCat.h index c106d65..985c41a 100644 --- a/src/IlluCat.h +++ b/src/IlluCat.h @@ -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); } }