diff options
Diffstat (limited to 'io-module/mts_eeprom.h')
-rw-r--r-- | io-module/mts_eeprom.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/io-module/mts_eeprom.h b/io-module/mts_eeprom.h index 5ad2b8b..e916809 100644 --- a/io-module/mts_eeprom.h +++ b/io-module/mts_eeprom.h @@ -24,7 +24,8 @@ struct mts_id_eeprom_layout { uint8_t lora_eui[8]; char lora_product_id[32]; char lora_hw_version[32]; - uint8_t reserved[214]; + uint16_t eeprom_layout_version; + uint8_t reserved[212]; }; /* accessory card EEPROM */ @@ -65,5 +66,6 @@ do { \ #define CAPA_WIFI DEVICE_CAPA_VALUE(1, 6) #define CAPA_LORA DEVICE_CAPA_VALUE(1, 3) // on-board lora #define CAPA_BATTERY DEVICE_CAPA_VALUE(1, 4) // 1st battery type -#define CAPA_SUPERCAP DEVICE_CAPA_VALUE(1, 5) +#define CAPA_SUPERCAP DEVICE_CAPA_VALUE(1, 5) +#define CAPA_CELLULAR DEVICE_CAPA_VALUE(1,2) // Only valid if eeprom_version > 0 #endif /* __MTS_EEPROM_H */ |