read config from json on SPIFFS

This commit is contained in:
2018-08-26 18:58:37 +02:00
parent 5334d58433
commit b676746723
11 changed files with 129 additions and 67 deletions

10
data/config.json Normal file
View File

@@ -0,0 +1,10 @@
{
"stationMode": 1,
"channel": 11,
"meshPort": 5555,
"meshSSID": "MyMesh",
"meshPassword": "th3r31sn0sp00n",
"stationSSID": "MyAP",
"stationPassword": "myApPassword",
"hostname": "mesh-node"
}