diff options
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 +}; |