diff options
author | John Klug <john.klug@multitech.com> | 2020-09-23 16:22:44 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-09-23 16:22:44 -0500 |
commit | 23d20fc9508558d110b454c95f6e09e093df1fb8 (patch) | |
tree | 43fba9392a5947c0b014944f032b5b39c2b323b3 | |
parent | 729bfffe8002eafa030c8671fb85724451e4adae (diff) | |
download | mts-io-23d20fc9508558d110b454c95f6e09e093df1fb8.tar.gz mts-io-23d20fc9508558d110b454c95f6e09e093df1fb8.tar.bz2 mts-io-23d20fc9508558d110b454c95f6e09e093df1fb8.zip |
Version 4.4 mts-io driver will use capa-cellular for has-radio
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | io-module/mts_eeprom.h | 7 | ||||
-rw-r--r-- | io-module/mts_io_module.h | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index da4ec0e..c015e9c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([mts-io], [4.3.3]) +AC_INIT([mts-io], [4.4.0]) AC_CONFIG_SRCDIR([util/mts_util_lora2_reset.c]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER([config.h]) diff --git a/io-module/mts_eeprom.h b/io-module/mts_eeprom.h index e916809..4a003a4 100644 --- a/io-module/mts_eeprom.h +++ b/io-module/mts_eeprom.h @@ -9,7 +9,10 @@ #endif #endif -/* on-board EEPROM */ +/* on-board EEPROM + * eeprom_layout_version == 0 capa_cellular is ignored + * eeprom_layout_version >= 1 capa_cellular is used for has_radio + */ struct mts_id_eeprom_layout { char vendor_id[32]; char product_id[32]; @@ -67,5 +70,5 @@ do { \ #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_CELLULAR DEVICE_CAPA_VALUE(1,2) // Only valid if eeprom_version > 0 +#define CAPA_CELLULAR DEVICE_CAPA_VALUE(1,2) // Only valid if eeprom_layout_version > 0 #endif /* __MTS_EEPROM_H */ diff --git a/io-module/mts_io_module.h b/io-module/mts_io_module.h index 9a595aa..cdaeaeb 100644 --- a/io-module/mts_io_module.h +++ b/io-module/mts_io_module.h @@ -5,7 +5,7 @@ * MTAC cards. */ -#define DRIVER_VERSION "v4.3.3" +#define DRIVER_VERSION "v4.4.0" #define DRIVER_AUTHOR "Multitech Systems" #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" |