* renamed .ino (must be identical to parent folder name)

* build CRC over settings, only if the CRC matches settings are applied
* send command 0x80 (set time was wrong)
* improved crc16 routine
* added statistics for received commands and send statistics (channels are not correct for now!)
* receive of commands 0x01, 0x02, 0x03, 0x81 and 0x84 working
This commit is contained in:
lumapu 2022-04-20 08:58:23 +02:00
parent 5f927ad8c5
commit a7add69719
11 changed files with 226 additions and 123 deletions

View file

@ -16,6 +16,7 @@
#include "eep.h"
#include "defines.h"
#include "crc.h"
const byte mDnsPort = 53;
@ -37,10 +38,11 @@ class Main {
protected:
void showReboot(void);
virtual void saveValues(bool webSend);
virtual void updateCrc(void);
char mStationSsid[SSID_LEN];
char mStationPwd[PWD_LEN];
bool mLinkLedActive;
bool mSettingsValid;
bool mApActive;
ESP8266WebServer *mWeb;
char mVersion[9];