summaryrefslogtreecommitdiff
path: root/io-module/mtcap.c
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-04-18 18:58:30 -0500
committerJohn Klug <john.klug@multitech.com>2018-04-18 18:58:30 -0500
commit90d4811e95b58f5bb0124cd793e7045dc1ff6b3d (patch)
treead35c622c298d5703647fa2faf5801cd4d00057a /io-module/mtcap.c
parentfe977b4b2f96ca0de27441a0eed8198110817e88 (diff)
parent5239aa1a5133ff48fc3003bf9ffb119d1659f748 (diff)
downloadmts-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.c13
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
+};