diff options
author | John Klug <john.klug@multitech.com> | 2018-04-18 18:58:30 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-04-18 18:58:30 -0500 |
commit | 90d4811e95b58f5bb0124cd793e7045dc1ff6b3d (patch) | |
tree | ad35c622c298d5703647fa2faf5801cd4d00057a /io-module/mtcap.c | |
parent | fe977b4b2f96ca0de27441a0eed8198110817e88 (diff) | |
parent | 5239aa1a5133ff48fc3003bf9ffb119d1659f748 (diff) | |
download | mts-io-90d4811e95b58f5bb0124cd793e7045dc1ff6b3d.tar.gz mts-io-90d4811e95b58f5bb0124cd793e7045dc1ff6b3d.tar.bz2 mts-io-90d4811e95b58f5bb0124cd793e7045dc1ff6b3d.zip |
Merge branch 'mtcdt-2.1'
Diffstat (limited to 'io-module/mtcap.c')
-rw-r--r-- | io-module/mtcap.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/io-module/mtcap.c b/io-module/mtcap.c index 804b364..b28e8eb 100644 --- a/io-module/mtcap.c +++ b/io-module/mtcap.c @@ -505,3 +505,16 @@ static struct attribute *mtcap_0_0_lora_attributes[] = { static struct attribute_group mtcap_0_0_lora_attribute_group = { .attrs = mtcap_0_0_lora_attributes }; + +// Reset for LoRa firmware is done using the I2C bus +// on the MTCDTIPHP LoRa board. +static struct attribute *mtcdtiphp_0_0_lora_attributes[] = { + &dev_attr_lora_eui_mtcap.attr, + &dev_attr_lora_product_id_mtcap.attr, + &dev_attr_lora_hw_version_mtcap.attr, + NULL, +}; + +static struct attribute_group mtcdtiphp_0_0_lora_attribute_group = { + .attrs = mtcdtiphp_0_0_lora_attributes +}; |