mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-11 07:56:39 +02:00
* improved api (now webApi)
* converted index to static page
This commit is contained in:
parent
08d8658737
commit
440d386ec0
11 changed files with 266 additions and 240 deletions
|
@ -154,6 +154,12 @@ typedef struct {
|
|||
} /*__attribute__((__packed__))*/ config_t;
|
||||
#pragma pack(pop) // restore original alignment from stack
|
||||
|
||||
typedef struct {
|
||||
uint32_t rxFail;
|
||||
uint32_t rxSuccess;
|
||||
uint32_t frmCnt;
|
||||
} statistics_t;
|
||||
|
||||
|
||||
#define CFG_MQTT_LEN MQTT_ADDR_LEN + 2 + MQTT_USER_LEN + MQTT_PWD_LEN +MQTT_TOPIC_LEN
|
||||
#define CFG_SYS_LEN DEVNAME_LEN + SSID_LEN + PWD_LEN + 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue