LoRa Basics™ Modems: Walk-through

Working With a LoRaWAN® Network Server

The current demo can be linked to the following LoRaWAN® network server:

Note

LoRa Basics™ Modem at 2.4GHz is only supported by The Things Network V3

The Things Network V3

To begin, register for an account with The Things Industries or The Things Network.

Refer to the page What is the difference between The Things Industries and The Things Network? to understand the differences between The Things Industries and The Things Network.

This section use indistincly The Things Industries or The Things Network.

Create an Application

To create an application, go to The Things Industries console and then follow these steps:

Video: Creating an Application

  1. On the Applications page, enter an Application ID.

  2. Click Create Application to save your changes.

Register the Device

LoRa Basics™ Modem

When LoRa Basics™ Modem is used on top of an LR11XX product, it can use the pre-provisioned EUIs in the chip itself. With this usage, the procedure to register a device is similar to the one described for Modem-E in section LoRa Basics Modem-E (LR1110).

The remainder of this section describes the registration of a LoRa Basics™ Modem device that does not use pre-provisioned EUIs.

On the console page:

Video: Providing EUIs for LoRa Basics Modem

The following procedure needs the LoRaWAN version and the Regional parameters version supported by LoRa Basics™ Modem. This information can be found on the readme file of SWL2001.

  1. Click Add end device.

  2. Set Activation mode to Over-the-Air activation (OTAA).

  3. Set LoRaWAN version to the version supported by LoRa Basics™ Modem.

  4. Click Start.

  5. Enter the End device ID.

  6. Enter the modem’s JoinEUI (AppEUI).

  7. Enter the modem’s DevEUI.

  8. Click Network Layer Settings.

  9. Select the appropriate Frequency plan for the target region.

  10. Set the Regional parameters version to the version supported by LoRa Basics™ Modem.

  11. Click Join Settings.

  12. Enter an AppKey or click on the arrows to generate a random AppKey.

  13. Click Add end device to finalize the process.

Note

The DevEUI and JoinEUI are unique 64-bit identifiers starting with an Organization Unique Identifier (OUI), assigned by the IEEE. More information about OUIs can be found on the IEEE website here.

LoRa Basics Modem-E (LR1110)

The DevEUI and JoinEUI are provided by the modem. The AppKey is not required because the keys are securely exchanged directly between the LoRaWAN network server and Semtech’s LoRa Cloud Join Server when the device joins a network.

On The Things Network’s Application page:

Video: Providing EUIs for LoRa Basics Modem-E

  1. Click Add end device.

  2. Set Activation mode to Over-the-Air activation (OTAA).

  3. Set LoRaWAN version to MAC V1.0.3.

  4. Check External Join Server.

  5. Click Start.

  6. Enter the End device ID.

  7. Enter the modem’s JoinEUI (AppEUI).

  8. Enter the modem’s DevEUI.

  9. Click Network Layer Settings.

  10. Select the appropriate Frequency plan for the target region.

  11. Set the Regional parameters version to PHY V1.0.3 REV A.

  12. Click Add end device to finalize the process.

Note

There is no need to specify a join server address; the network server will use the JoinEUI to route the join request.

MQTT Credentials

The Things Network V3 network server requires that you generate a unique MQTT password. On the Application page of the console:

Video: Generating an AppKey

  1. Click Integrations and then MQTT.

  2. Select Generate new API Key.

  3. Copy the values from the following fields: Server Address, Username, and Password.

Note

There is a Copy button to the right of each field that you can use to copy these values.

The device is now configured on the network server. The next step is to set up the application server.