things4u / ESP-1ch-Gateway

Version 6 of the single channel gateway
MIT License
358 stars 143 forks source link

Save settings issues #38

Open rk125 opened 4 years ago

rk125 commented 4 years ago

Hello Maarten,

Spotted couple issues with V.6.2.5.EU868; PlatformIO 200524i:

  1. Cannot save settings, always revert to defaults - to me in _loraFiles.ino readConfig should have initConfig(c); outside the loop, to run only once before while loop
  2. when changing SF from web gui, SF not saved in file - writeGwayCfg(_CONFIGFILE, &gwayConfig ); missing in _wwwserver.ino file server.on("/SF=xxxx +1 and -1

Best regards, Reggie