summaryrefslogtreecommitdiff
path: root/io-module/mts_eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts_eeprom.h')
-rw-r--r--io-module/mts_eeprom.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/io-module/mts_eeprom.h b/io-module/mts_eeprom.h
index 6697fd5..89f2439 100644
--- a/io-module/mts_eeprom.h
+++ b/io-module/mts_eeprom.h
@@ -22,7 +22,9 @@ struct mts_id_eeprom_layout {
uint8_t mac_wifi[6];
uint8_t uuid[16];
uint8_t lora_eui[8];
- uint8_t reserved[278];
+ char lora_product_id[32];
+ char lora_hw_version[32];
+ uint8_t reserved[214];
};
/* accessory card EEPROM */
@@ -58,8 +60,9 @@ do { \
#define CAPA_DOUT DEVICE_CAPA_VALUE(0, 5)
#define CAPA_ADC DEVICE_CAPA_VALUE(0, 4)
-#define CAPA_BLUETOOTH DEVICE_CAPA_VALUE(1, 7)
-#define CAPA_WIFI DEVICE_CAPA_VALUE(1, 6)
-#define CAPA_WIFI_BT DEVICE_CAPA_VALUE(1, 5) // Redpine rs9113
-#define CAPA_GNSS DEVICE_CAPA_VALUE(1, 4) // ublox EVA 7M
+#define CAPA_BLUETOOTH DEVICE_CAPA_VALUE(1, 7)
+#define CAPA_WIFI DEVICE_CAPA_VALUE(1, 6)
+#define CAPA_WIFI_BT DEVICE_CAPA_VALUE(1, 5) // Redpine rs9113
+#define CAPA_GNSS DEVICE_CAPA_VALUE(1, 4) // ublox EVA 7M
+#define CAPA_LORA DEVICE_CAPA_VALUE(1, 3) // on-board lora
#endif