diff options
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r-- | io-module/mts_io.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c index 3b2e130..1ae85e6 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -45,7 +45,7 @@ #include "mts_io.h" -#define DRIVER_VERSION "v0.9.1" +#define DRIVER_VERSION "v1.1.1" #define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>" #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" @@ -433,6 +433,18 @@ static bool load_port(int port) { ap_eeprom[port_index].mac_addr[4], ap_eeprom[port_index].mac_addr[5]); } + if (strncmp(ap_eeprom[port_index].product_id, PRODUCT_ID_MTAC_LORA, strlen(PRODUCT_ID_MTAC_LORA)) == 0) { + log_info("accessory card %d eui: %02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X", + port, + ap_eeprom[port_index].eui[0], + ap_eeprom[port_index].eui[1], + ap_eeprom[port_index].eui[2], + ap_eeprom[port_index].eui[3], + ap_eeprom[port_index].eui[4], + ap_eeprom[port_index].eui[5], + ap_eeprom[port_index].eui[6], + ap_eeprom[port_index].eui[7]); + } if (! port_info[port_index]->setup(port)) { log_error("accessory port %d setup failed", port); |