Configure LoRaWAN® Parameters

This section describes how to configure the device transmission parameters for the LoRaWAN® network. LoRaWAN® is enabled by default on this device.

Configure Join Type and Frequency

It is necessary to configure the join type and the frequency to establish communication with LoRaWAN® gateways.

Steps:
  1. On the homepage of ToolBox, click Setting to enter the Setting page.
  2. On the top bar, select Network tab.

  3. Navigate to the LoRaWAN page The LoRaWAN page is displayed, see the following figure.

  4. From the Join Type selection box, select OTAA or ABP as needed.
    Note: OTAA is required if you connect the device to the Milesight Development Platform.
  5. Configure Join Type related parameters as needed. You can use default values unless otherwise specified.

    • If OTAA is selected, configure Application Key and Rejoin Mode as needed. For details, refer to the following table.
      Parameter Description
      Application Key
      Appkey for OTAA mode. Default: Device EUI + Device EUI. Example: 24e124123456789024e1241234567890.
      Tip: For device security, it is recommended to modify the default value or contact sales before purchase to use random keys.
      Rejoin Mode Rejoin mode for OTAA mode.

      Reporting interval≤35 minutes: The device sends a specific number of LinkCheckReq MAC packets at each reporting interval or every other reporting interval to verify connectivity.

      Reporting interval > 35 minutes: The device sends a specific number of LinkCheckReq MAC packets at each reporting interval to validate connectivity. If there is no response, the device will re-join the network.

      When Rejoin Mode is enabled, enter a number in the Set the number of detection signals sent text box. The actual sending number is the configured number +1.

    • If ABP is selected, configure Network Session Key, Application Session Key and Device Address as needed. For details, refer to the following table.
      Tip: For device security, it is recommended to modify the default values.
      Parameter Description
      Network Session Key Nwkskey for ABP mode. Default: 5572404C696E6B4C6F52613230313823.
      Application Session Key Appskey for ABP mode. Default: 5572404C696E6B4C6F52613230313823.
      Device Address DevAddr for ABP mode. Default: 5th to 12th digits of SN.
  6. Select a frequency from the Support Frequency selection box as needed. This must be the same as the frequency configured on the gateway's web GUI.

  7. Click Write in the lower right corner, and put the NFC detection area of the phone close to the NFC antenna of device. If the configuration succeeds, the following page is displayed.

Configure Other LoRaWAN® Parameters

Steps:

  1. On the homepage of ToolBox, click Setting to enter the Setting page.
  2. Navigate to the LoRaWAN page The LoRaWAN page is displayed, see the following figure.

  3. On the top bar, select Network tab.

  4. Configure the following parameter as needed. You can use default values unless otherwise specified. For a description of the parameters, refer to the following table.

    Parameter Description
    Device EUI Unique ID of the device labelled on the device housing.
    Tip: For bulk deployments, contact sales to request the device EUI list.
    App EUI The default App EUI (join EUI) is 24E124C0002A0001.
    Application Port Port used for sending and receiving data. Default: 85.
    LoRaWAN® Version Options: V1.0.2, V1.0.3.
    Work Mode Fixed: Class A.
    Confirmed Mode If the device does not receive ACK packet from network server, it will resend data once.
    Join Type Refer to Configure Join Type and Supported Frequency.
    Supported Frequency Refer to Configure Join Type and Supported Frequency.
    ADR Mode Enables the network server to adjust the spreading factor, the bandwidth and the transmission power to optimize data rates, airtime and energy consumption in the network.
    Spreading Factor If ADR mode is disabled, the device sends uplink data using this spreading factor. A higher spreading factor increases transmission range but reduces data rate and increases power consumption. This parameter varies with Supported Frequency.
    Tx Power Defined by the LoRa Alliance. Specifies the strength of the radio signal transmitted by the device.
    RX2 Data Rate RX2 data rate to receive downlinks.
    RX2 Frequency RX2 frequency to receive downlinks. Unit: Hz
  5. Click Write in the lower right corner, and put the NFC detection area of the phone close to the NFC antenna of device. If the configuration succeeds, the following page is displayed.