network specific configuration

This commit is contained in:
2021-02-16 12:27:12 +01:00
parent 734343c477
commit a2a484fcc5
3 changed files with 10 additions and 8 deletions

View File

@ -13,7 +13,9 @@ typedef struct __attribute__((__packed__)) s_configBlock {
char deviceId[16];
char sharedSecret[SHA256_BLOCK_SIZE];
char sinkServer[48];
uint8_t macAddress[6];
union networkspecific {
uint8_t macAddress[6];
};
uint8_t filler[22];
} t_configBlock;