mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-23 19:27:13 +02:00
* merged showSetup (app + main)
This commit is contained in:
parent
778f209eb5
commit
15402dbd99
6 changed files with 213 additions and 371 deletions
|
@ -170,6 +170,10 @@ typedef struct {
|
|||
// nrf24
|
||||
uint16_t sendInterval;
|
||||
uint8_t maxRetransPerPyld;
|
||||
uint8_t pinCs;
|
||||
uint8_t pinCe;
|
||||
uint8_t pinIrq;
|
||||
uint8_t amplifierPower;
|
||||
|
||||
// ntp
|
||||
char ntpAddr[NTP_ADDR_LEN];
|
||||
|
@ -187,7 +191,7 @@ typedef struct {
|
|||
// eeprom new
|
||||
#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
|
||||
#define CFG_LEN 2 + 1 + NTP_ADDR_LEN + 2 + CFG_MQTT_LEN + 2 + 1 + 1
|
||||
#define CFG_LEN 7 + NTP_ADDR_LEN + 2 + CFG_MQTT_LEN + 4
|
||||
|
||||
#define ADDR_START 0
|
||||
#define ADDR_CFG_SYS ADDR_START
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue