5 #include "dev_config.h"
9 #define CFG_DATA(n) struct config_##n
10 #define cfg_read(n,x) _cfg_read(&x, sizeof(struct config_##n), CfgID_##n)
12 #define cfg_write(n,x) _cfg_write(&x, sizeof(struct config_##n), CfgID_##n)
17 char _cfg_write(
void *
data, uint8_t
size, ConfigID
id);
72 #define eeprom_init() do {} while(0)
unsigned int node
Definition: dev_data.h:44
unsigned int collect
Definition: dev_data.h:43
uint8_t cfg_count(cfg_addr_t *addr)
Definition: dev_data.c:253
unsigned int band
Definition: dev_data.h:42
uint8_t speed
Definition: dev_data.h:46
Definition: dev_data.h:41
uint16_t cfg_addr_t
Definition: dev_data.h:23
byte addr[8]
Definition: OWP_DG_1w-adaptor.ino:104
uint16_t crc
Definition: dev_data.h:66
Definition: dev_data.h:49
tuple size
Definition: unpack-test.py:15
cfg_addr_t cfg_addr(uint8_t *size, ConfigID id)
Definition: dev_data.c:236
tuple data
Definition: ser-mon-AS7265X.py:40
uint8_t cfg_type(cfg_addr_t *addr)
Definition: dev_data.c:265
uint16_t loader
Definition: dev_data.h:64
#define EUID_LEN
Definition: dev_data.h:7
uint8_t group
Definition: dev_data.h:45
#define eeprom_init()
Definition: dev_data.h:72
uint32_t key[4]
Definition: dev_data.h:54
Definition: dev_data.h:57
uint8_t serial[6]
Definition: dev_data.h:59
Definition: dev_data.h:63
Definition: dev_data.h:53
uint8_t cfg_byte(cfg_addr_t addr)
Definition: dev_data.c:42
uint8_t crc
Definition: dev_data.h:60
char _cfg_read(void *data, uint8_t size, ConfigID id)
Definition: dev_data.c:170
uint8_t type
Definition: dev_data.h:58
uint16_t endp
Definition: dev_data.h:65