summaryrefslogtreecommitdiff
path: root/io-module/mts_io.h
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-09-27 10:33:16 -0500
committerJohn Klug <john.klug@multitech.com>2016-09-27 10:33:16 -0500
commit995083ea6f80c1ea7d749fbd6d58127ae1c75455 (patch)
tree91b147d1bed0214e9437fe8a1cc51af864ef78e3 /io-module/mts_io.h
parent7a1ed1a7788c76630723d9f0f49f3862ca6fb300 (diff)
downloadmts-io-995083ea6f80c1ea7d749fbd6d58127ae1c75455.tar.gz
mts-io-995083ea6f80c1ea7d749fbd6d58127ae1c75455.tar.bz2
mts-io-995083ea6f80c1ea7d749fbd6d58127ae1c75455.zip
Add MTAC-LORA-1.5 and string subset issue with hardware version
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r--io-module/mts_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index 791235f..fefc35e 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -50,10 +50,13 @@ struct device_attribute _dev_name = { \
#define PRODUCT_ID_MTAC_ETH "MTAC-ETH"
#define PRODUCT_ID_MTAC_LORA "MTAC-LORA"
+/* Hardware version must be fewer characters than hw_version
+ in struct mts_ap_eeprom_layout */
/* MTAC-LORA with native SPI or FTDI FT4222 */
#define HW_VERSION_MTAC_LORA_0_0 "MTAC-LORA-0.0"
/* MTAC-LORA2 with FTDI FT232H */
#define HW_VERSION_MTAC_LORA_1_0 "MTAC-LORA-1.0"
+#define HW_VERSION_MTAC_LORA_1_5 "MTAC-LORA-1.5"
#define HW_VERSION_MTCBA2_2_0 "MTCBA2-2.0"
#define HW_VERSION_MTCDP_0_0 "MTCDP-0.0"
@@ -83,6 +86,7 @@ enum {
MTAC_ETH_0_0,
MTAC_LORA_0_0,
MTAC_LORA_1_0,
+ MTAC_LORA_1_5,
};
// GPIO pin types:input, output, open drain (1 = high Z, 0 = output low)