Getting Started with LoRa Conduit mLinux (LoRa Configuration)

For Conduit® MTCDT and MTCAP models

Setting up the Conduit

Prior to starting LoRa, make sure you have properly installed and cabled your LoRa hardware.

  1. Power up  your device and wait for it to boot up.
  2. Login to the console. Refer to Getting Started with mLinux if needed.
  3. Issue these commands on the Conduit:
    $ mkdir /var/config/lora
    $ cp /opt/lora/lora-network-server.conf.sample /var/config/lora/lora-network-server.conf
  4. Edit /var/config/lora/lora-network-server.conf and modify these settings as needed (use vi or nano). For advanced LoRa settings, go to Conduit mLinux: Advanced LoRa Configuration
    Field LORA-915, 923, 920 (NA, AU, JP, KR) LORA-868, 865 (EU, IN)
    lora[“frequencyBand”]: “915” “868”
    lora[“channelPlan”]: “US915”, “AU915”, “AS923”, “KR920” “EU868”, “IN865”
    lora[“frequencySubBand”]: (integer: 1 to 8) Not applicable
    lora[“frequencyEU”]: Not applicable default: 869500000
    range: [863500000 – 867500000]
    and [869100000 – 869500000]
    network[“name”]: Name of your LoRa network (string, 8-char min, case sensitive)
    network[“passphrase”]: Security passphrase for your LoRa network (string, 8-char min, case sensitive)
    network[“public”]: Choose from 0: Private MTS, 1: Public LoRaWAN or 2: Private LoRaWAN, Private Options use SyncWord 0x12 vs Public SyncWord 0x34
    network[“joinDelay”]: Set to desired Join Delay, default 5 seconds
  5. Restart the network server.
    $ /etc/init.d/lora-network-server restart
  6. Start mosquitto client:
    $ mosquitto_sub -t lora/+/+ -v


Setting Up the mDot

  1. Establish a serial connection to the mDot
    1. Connect your PC to the DB9 serial connector on the UDK
    2. Open a terminal session using an application such as TeraTerm with baud rate 115,200
  2. Issue these commands with the same values you set for the Conduit:
    • AT+PN=value (Match Public Network setting)
    • AT+JD=value (Match Join Delay setting)
    • AT+FSB=value (915 NA only | value = frequencySubBand from your Conduit)
    • AT+NI=1,value (value = Network Name for your Conduit)
    • AT+NK=1,value (value = Network Passphrase for your Conduit)
    • AT&W (save settings)
    • ATZ (restart)
  3. Join the network: AT+JOIN
  4. Send data with ACK requested:
    • AT+ACK=1
    • AT+SEND=hello world

screenshot of mDot setup


Next Steps