MTAC-LORA/MTAC-003 Usage

Accessory card attributes are populated in a subdirectory based on the accessory port number and linked to based on card type.

Use the provided mts-io-sysfs utility to interface with accessory cards.

  • Show product-id of first lora accessory card found (AP1):
    $ mts-io-sysfs show lora/product-id
  • Show product-id of accessory card in port 1 (AP1):
    $ mts-io-sysfs show ap1/product-id
  • Show product-id of accessory card in port 2 (AP2):
    $ mts-io-sysfs show ap2/product-id

Standard Attributes

Attribute Description Example command
device-id Device ID
$ mts-io-sysfs show lora/device-id
product-id Product ID
$ mts-io-sysfs show lora/product-id
eui Unique EUI-64
$ mts-io-sysfs show lora/eui

 

spi paths

MTAC-LORA-1.5 (Has FPGA)

Name AP1 AP2
spi path /dev/spidev0.2 /dev/spidev1.2

MTAC-003 (Doesn’t have FPGA)

Name AP1 AP2
spi path /dev/spidev0.0 /dev/spidev1.0
spi path 1261 /dev/spidev0.1 /dev/spidev1.1

 

Hardware specific information for this card is available on the MTAC-LoRa Cards page.

The LoRa network server handles communication with the accessory card. Refer to Getting Started with LoRa Conduit mLinux (LoRa Configuration) for documentation.