Semtech, in its commitment to enhance user experience and streamline content, has successfully integrated the LoRa Developer Portal content into Semtech.com. As a result of this consolidation effort, the LoRa® Developer Portal will be discontinued on May 1st. After this date, you will be automatically redirected to Semtech.com.
For any technical support related to LoRa, please feel free to reach out to our experts here. If you have sales inquiries, please contact us here.
documentation
HOME » DOCUMENTATION » TECHNICAL DOCUMENTS » The Semtech Network Server User Guide » Register and Activate Your End Device

Register and Activate Your End Device

This section explains how to register and activate your end device so that it can communicate with the network. These steps should be repeated for all the end devices you wish to connect to the Semtech Network Server.

Add a Device Profile

A device profile defines a device’s capabilities and boot parameters. It is a reusable profile, created once for each device type and firmware version you add to the network server.

If you purchased one or more devices from a manufacturer, follow the steps in the Create a Device Profile Using a Template section.

If you built your own device, or cannot find your device in the templates, create a device profile by following the instructions in Create a Custom Device Profile.

Create a Device Profile Using a Template

If you bought a device from a manufacturer, the Semtech Network Server should have a device profile template that can be used to generate the device profile. This means you don’t have to figure out all the settings and makes it simple to add a device. If you cannot find your device using this method, or have built your device, instead follow the steps in the Create a Custom Device Profile section below.

  1. Log in to the Semtech Network Server website if you haven’t already done so.

  2. Click Device profiles in the menu on the left.

  3. Click Add device profile.

  4. Click the Select device-profile template button. The Select device-profile template popup appears.

    /uploads/documents/images/NS04A-01-select-device-profile-template.png

    Figure 1: The Select device-profile template Button

  5. Click the Select a device-profile template dropdown in the Select device-profile template popup.

  6. A list of device manufacturers appears. Scroll down to find the manufacturer of your end device and click its name.

  7. A list of one or more devices sold by the selected manufacturer appears next to their name. Click on the device you own.

  8. A list of one or more firmware versions available for the selected device appears next to the device name. Click on the firmware version for the device you own.

    If you are not sure of the firmware version, check the datasheet that came with the device.

  9. A list of one or more supported regions available for the device and firmware version appears next to the firmware version. Click on the region your device supports.

    /uploads/documents/images/NS04A-02-select-device-profile-template-dropdown.png

    Figure 2: The Select a device-profile template Dropdown with Manufacturer, Device, and Firmware Version Selected

  10. The template name appears in the Select a device-profile template dropdown. Make sure that this is all correct, and then click the OK button to select the template.

  11. The template populates all the fields in the device profile for you.

  12. If you would like, update the Device-status request frequency (req/day) field to the number of times per day you would like the network server to send the End Device Status MAC Command (DevStatusReq) to the end device, following receipt of an uplink. This MAC command will cause the end device to respond with its battery level and radio status.

    Note

    Unless the end device sends a Class A uplink the same number of times per day, it will not receive the number of DeviceStatusReq MAC commands set here. This is the maximum number of requests for Device Status the network server will send per day.

  13. Select the Codec tab. Here, the device manufacturer should have defined a payload codec that informs the Semtech Network Server how to decode and encode the binary application data payload. Read the ChirpStack documentation Device profiles page to learn how the codecs are constructed.

  14. Click Submit to save. The device profile appears in the Device profiles list.

Warning

After adding a device profile for your device, if you purchase a device with a new firmware version, you must create a new profile using the template for that firmware version. If you cannot find the template for that firmware version, you should review the device datasheet and Create a Custom Device Profile or ask the device manufacturer to update the Device Repository for LoRaWAN®, and wait for the firmware version to appear in the Semtech Network Server device-profile templates section.

You have now created a device profile. The device profile is used to add each device to the Semtech Network Server in the next section.

Create a Custom Device Profile

Create a custom device profile if you built your device or purchased a device not found in the templates.

  1. Log in to the Semtech Network Server website if you haven’t already done so.

  2. Click Device profiles in the menu on the left.

  3. Click Add device profile.

  4. Complete the fields in the open General tab as follows:

    • Name:

      Enter a profile name to represent the device model and firmware version, e.g., My Test Device 1.0. Spaces are allowed.

    • Description:

      Optionally enter a free text description of your device type, e.g., Testing device for learning.

    • Region:

      Select the frequency plan for your device’s region, as listed in the Semtech Network Server website’s Regional Support table.

    • MAC version:

      Set this to the version of the LoRaWAN specification implemented by your end device.

    • Regional parameters revision:

      LoRaWAN has regional specifications that govern channel plans, default data rates, and other physical layer parameters for each LoRaWAN region. These specifications are listed in the LoRaWAN Regional Parameters document. The latest revision of the LoRaWAN Regional Parameters document can be found on the LoRa Alliance® Technical Specifications page.

      There are several revisions of the Regional Parameters document, which were initially associated with a specific LoRaWAN version, and are now published separately as a single document covering all LoRaWAN versions.

      To operate correctly for your device, the network server needs to know which of the Regional Parameters document revisions was implemented by the device manufacturer.

      If you built your device, check the documentation for the LoRaWAN stack implementation you used. Find the revision used by LoRaMAC-Node in the RP Spec column of the table in the Introduction section of the LoRaMac-node GitHub page. Find the revision used by LoRa Basics™ Modem in the LoRaWAN regional parameters section of the LoRa Basics Modem GitHub page.

      If you purchased the device, you need to check the datasheet or ask the device manufacturer which document revision they used.

      When you click the Regional parameters revision dropdown, the letters A and B display as well as several full document revision names, e.g., RP002-1.0.3,. The letters A and B relate to the revisions associated with specific LoRaWAN versions. The full document revision names represent the document revisions that cover all LoRaWAN versions.

      • If your end device implements LoRaWAN specification 1.0.1 with the regional parameters document integrated into the LoRaWAN v1.0.1 specification, choose A.

      • If your end device implements LoRaWAN specification 1.0.2 with LoRaWAN Regional Parameters v1.0.2rB, choose B.

      • If your end device implements LoRaWAN specification 1.0.3 with LoRaWAN Regional Parameters v1.0.3rA, choose A.

      • If your end device implements LoRaWAN specification 1.1 with LoRaWAN Regional Parameters v1.1rA, choose A.

      In all other cases, choose the relevant document revision.

      If you are unable to discover which document revision was used, choose A, and see if the end device joins successfully and sends data. If it does not, work your way through the options until you see a successful join.

    • ADR algorithm:

      The ADR algorithm determines how the network server controls the data rate and transmit power of this device group to use as little airtime and energy as possible.

      If your device does not use Long Range Frequency Hopping Spread Spectrum (LR-FHSS) data rates, choose Default ADR algorithm (LoRa® only).

      If your device only uses LR-FHSS, choose LR-FHSS only ADR algorithm.

      If your device uses both LR-FHSS and LoRa data rates, choose LoRa & LR-FHSS ADR algorithm.

      Learn more about ADR and LR-FHSS.

      Note

      You must use an LR-FHSS compatible gateway to receive transmissions made using LR-FHSS data rates.

    • Flush queue on activate:

      Downlinks can be queued to be sent to a device using the device page. Until messages have been sent, they remain in a queue. If you set Flush queue on activate to on, this queue will be emptied if a device re-joins the network and the messages will never be sent to the device. If you set Flush queue on activate to off, this queue will remain and the messages will be sent to the device. Your use case will determine which setting you choose. If you are not sure which to choose, leave the default setting and modify it later.

    • Expected uplink interval (secs):

      This setting is used so that the network server can decide whether a device is active or inactive on the dashboard. The device will still work if this setting does not match the actual uplink interval. Set this to the number of seconds between each regular message the device sends. This can be found in the documentation for a device from the manufacturer, or in the firmware code for a device you built yourself.

    • Device-status request frequency (req/day):

      Set the number of times per day you would like the network server to send the End Device Status MAC Command (DevStatusReq) to the end device, following receipt of an uplink. This MAC command will cause the end device to respond with its battery level and radio status.

      Note

      Unless the end device sends a Class A uplink the same number of times per day, it will not receive the number of DeviceStatusReq MAC commands set here. This is the maximum number of requests for Device Status the network server will send per day.

  5. Click the Join (OTAA/ABP) tab.

  6. If your device supports Over-the-Air Activation (OTAA), make sure the switch next to Device supports OTAA is on, and move on to the next step.

    If your device supports Activation-by-Personalization (ABP), click the switch next to Device supports OTAA to turn it off, and complete the form as follows:

    • RX1 delay:

      Enter the delay programmed onto your device between the end of the uplink transmission and the opening of the first receive window (RX1). This is referred to as RECEIVE_DELAY1 in all versions of the LoRaWAN® Specification, and all LoRaWAN Regional Parameters document revisions.

      Note

      If you cannot find the RX1 delay used by your device, try using the value 1, which is the recommended default in all LoRaWAN Regional Parameters document revisions up to and including RP002-1.0.3.

    • RX1 data-rate offset:

      Enter the offset your device uses to calculate the data rate for the first receive window (RX1). This is referred to as RX1DROffset in all versions of the LoRaWAN Specification and all LoRaWAN Regional Parameters document revisions.

      Note

      If you cannot find the RX1 data-rate offset used by your device, use the value 0, which is the recommended default in all LoRaWAN Regional Parameters document revisions up to and including RP002-1.0.3.

    • RX2 data-rate:

      Enter the data rate your device uses in the second receive window (RX2). This is referred to as RX2DataRate in all versions of the LoRaWAN specification and all LoRaWAN Regional Parameters document revisions.

      Note

      If you cannot find the RX2 data rate used by your device, use the default value for your region. This is found in the LoRaWAN Regional Parameters document revision implemented by your device, found on the LoRa Alliance® Technical Specifications page. In RP002-1.0.3 LoRaWAN Regional Parameters, and all other RP002-1.0.x revisions, the default RX2 data rate for each region is found in the ‘Receive Windows’ section for the region your end device operates in.

    • RX2 frequency (Hz):

      Enter the frequency your device uses for the second receive window (RX2). This is referred to as the RX2 Frequency in all versions of the LoRaWAN Specification and all LoRaWAN Regional Parameters document revisions.

      Note

      If you cannot find the RX2 frequency used by your device, use the default value for your region. This is found in the LoRaWAN Regional Parameters document revision implemented by your device, found on the LoRa Alliance® Technical Specifications page. In RP002-1.0.3 LoRaWAN Regional Parameters, and all other RP002-1.0.x revisions, the default RX2 frequency for each region is found in the ‘Receive Windows’ section for the region your end device operates in.

  7. If your device can implement Class B operation mode, select the Class-B tab, and click the switch next to Device supports Class-B.

    Enter the Class B timeout used by your device when waiting for confirmed downlink transmissions. This is referred to as the CLASS_B_RESP_TIMEOUT in the TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification and the RP002-1.0.2 and RP002-1.0.3 revisions of the LoRaWAN Regional Parameters document.

    Note

    If you cannot find the Class B timeout used by your device, use the value 8, which is the recommended default in the RP002-1.0.2 and RP002-1.0.3 revisions of the LoRaWAN Regional Parameters document.

  8. If your device can implement Class C operation mode, select the Class-C tab, and click the switch next to Device supports Class-C.

    Enter the Class C timeout used by your device when waiting for confirmed downlink transmissions. This is referred to as the CLASS_C_RESP_TIMEOUT in the TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification and the RP002-1.0.2 and RP002-1.0.3 revisions of the LoRaWAN Regional Parameters document.

    Note

    If you cannot find the Class C timeout used by your device, use the value 8, which is the recommended default in the RP002-1.0.2 and RP002-1.0.3 revisions of the LoRaWAN Regional Parameters document.

  9. Click the Codec tab if you want to create a payload codec, so that the Semtech Network Server can encode and decode device payloads for you.

    If your device sends application data using the Cayenne Low Power Payload specification, select Cayenne LPP at the Payload codec dropdown.

    Otherwise, select JavaScript functions. The Codec functions field appears. Learn how to write the custom functions on the ChirpStack documentation Device profiles page and paste in your code.

    Note

    Decoded payloads appear in the object field of the Details pane in the Events tab of the devices page. Decoded payloads can also be used to create measurements, which are then rendered in graphs in the Device metrics tab of the device dashboard.

    Encoded payloads allow you to write downlinks using JSON on the Queue tab of the device page.

  10. Click Submit to save. The device profile appears in the Device profiles list.

Warning

After adding a device profile for your device, if you build a device with a new firmware version that contains different LoRa settings, for example, a new MAC version or regional parameters revision is used, you must create a new profile to store those settings.

You have now created a device profile. The device profile is used to add each device to the Semtech Network Server in the next section.

Add Device

Each device in the network server represents a real-world end device that will connect and communicate over the LoRaWAN® network. Before adding a device, you need to have created an application you can add this device to, and created a device profile with the settings for this device.

To add another device of the same type, repeat the instructions in this section for the new device. You can reuse the device profile for each device.

  1. Log in to the Semtech Network Server website if you haven’t already done so.

  2. Click Applications in the menu on the left.

  3. Click the link for the application you wish to add this device to.

    /uploads/documents/images/NS05-choose-application.png

    Figure 3: Link to Application

  4. Click the Add device button.

  5. Complete the fields in the open Device tab as follows:

    • Name:

      Enter a name to represent this device, e.g., Device 1. Spaces are allowed.

    • Description:

      Enter an optional description, e.g., Located in bedroom.

    • Device EUI (EUI64):

      Enter the DEV_EUI for the end device you found in the Find Your End-Device Activation Keys section.

      Note

      If you copied the key from somewhere that displays the key using the least significant bit (LSB) format, click the MSB button and select LSB in the drop-down before pasting in the key.

      If you are using the Arduino LMIC library, the os_getDevEui method where you may have copied the key from uses LSB.

      If you are unsure, keep the MSB option set, and revisit this area if the device does not join.

    • Device profile:

      Select the profile you created that matches the model and firmware version of this device.

    • Device is disabled:

      If you would like the network server to ignore device messages and join requests from this device, switch this on. In normal operation, leave this switched off.

    • Disable frame-counter validation:

      If you have an ABP device which was previously on a network and you are unable to obtain or reset the frame counters, switch this on to disable the frame-counter validation.

      Warning

      Disabling frame counter validation reduces the security of your device because it allows people to perform replay-attacks.

  6. Click the Submit button to save the device.

    Note

    If an updated version of the device is issued with different firmware, check to see whether the fields in the device profile still match the settings of the new device. If they do not, e.g., the LoRaWAN Specification version has changed, you must create a new device profile for those devices with the new firmware.

The next step will vary depending on the LoRaWAN Specification version and activation method defined in the device profile.

If your end device uses OTAA activation and implements LoRaWAN Specification version 1.0.x, continue to the Add OTAA Keys for LoRaWAN Specification 1.0.x section.

If your end device uses OTAA activation and implements LoRaWAN Specification version 1.1.x, continue to the Add OTAA Keys for LoRaWAN Specification 1.1.x section.

If you are using ABP activation and LoRaWAN 1.0.x, continue to the Add ABP Keys for LoRaWAN Specification 1.0.x section.

If you are using ABP activation and LoRaWAN 1.1.x, continue to the Add ABP Keys for LoRaWAN Specification 1.1.x section.

Add OTAA Keys for LoRaWAN Specification 1.0.x

Complete these steps if your end device implements OTAA activation and LoRaWAN specification versions 1.0.1, 1.0.2, 1.0.3, or 1.0.4.

  1. Make sure the device tab OTAA keys is selected.

  2. Paste the APP_KEY for the end device you found in the section Find Your End-Device Activation Keys into the Application Key field.

    Note

    If you copied the key from somewhere that displays the key using the least significant bit (LSB) format, click the MSB button and select LSB in the drop-down before pasting the key.

    If you are using the Arduino LMIC library, the os_getDevKey method uses MSB.

    If you are unsure, keep the MSB option set, and revisit this area if the device does not join.

  3. Click Submit to update the application key.

Add OTAA Keys for LoRaWAN Specification 1.1.x

Complete these steps if your end device implements OTAA activation and LoRaWAN specification version 1.1.0.

  1. Make sure the device tab OTAA keys is selected.

  2. Complete the form as follows:

    Note

    If you copied the APP_KEY or NWK_KEY from somewhere that displays the key using the least significant bit (LSB) format, click the MSB button and select LSB in the drop-down before pasting the key.

    If you are unsure, keep the MSB option set, and revisit this area if the device does not join.

  3. Click Submit to update the keys.

Add ABP Keys for LoRaWAN Specification 1.0.x

Complete these steps if your end device implements ABP activation and LoRaWAN specification versions 1.0.1, 1.0.2, 1.0.3, or 1.0.4.

  1. Select the Activation tab.

  2. Set the keys in the form as follows:

    Note

    If you copied the DEV_ADDR, NWK_S_KEY, or APP_S_KEY from somewhere that displays the key using the least significant bit (LSB) format, click the MSB button and select LSB in the drop-down before pasting the key.

    If you are unsure, keep the MSB option set, and revisit this area if the device does not join.

  3. If your end device has never been connected to a network, leave Uplink frame-counter and Downlink frame-counter set to 0.

    If your end device has already been used on a network server, you need to either reset the frame counters (FCnt and FCntDown) or find out what they are to update the network server.

    Reset the Frame Counters:

    To reset the frame counters, follow the instructions supplied with your device. Alternatively, a factory reset may result in the resetting of the frame counters. You can then leave Uplink frame-counter and Downlink frame-counter set to 0.

    Update the Frame Counters:

    To find out what the frame counters are, inspect the frames on the network server your device is currently connected to. The FCnt is visible when viewing messages sent from the device, and the FCntDown is visible when viewing messages sent from the network server to the device.

    If your device has an FCnt higher than zero, set the Uplink frame-counter to be one higher than your device’s FCnt. For example, if your FCnt is 2, set this to 3.

    If your device has an FCntDown higher than zero, set the Downlink frame-counter to be one higher than your device’s FCntDown. For example, if your FCntDown is 2, set this to 3.

    Note

    If you cannot find the frame counters, try leaving Uplink frame-counter and Downlink frame-counter set to zero. If you then see errors in the devices Events tab, you can disable frame counters by clicking on the Configuration tab and setting the Disable frame-counter validation to on.

  4. Click the (Re)activate device button to save the device address, keys, and frame counter settings.

Add ABP Keys for LoRaWAN Specification 1.1.x

Complete these steps if your end device implements ABP activation and LoRaWAN specification version 1.1.0.

  1. Select the Activation tab.

  2. Set the keys in the form as follows:

    Note

    If you copied the DEV_ADDR, NWK_S_ENC_KEY, S_NWK_S_INT_KEY, F_NWK_S_INT_KEY, or APP_S_KEY from somewhere that displays the key using the least significant bit (LSB) format, click the MSB button and select LSB in the drop-down before pasting the key.

    If you are unsure, keep the MSB option set, and revisit this area if the device does not join.

  3. If your end device has never been connected to a network, leave Uplink frame-counter, Downlink frame-counter (network), and Downlink frame-counter (application) set to zero.

    If your end device has already been used on a network server, you need to either reset the frame counters (FCnt, AFCntDown, and NFCntDown) or find out what they are to update the network server.

    Reset the Frame Counters:

    To reset the frame counters, follow the instructions supplied with your device. Alternatively, a factory reset may result in the resetting of the frame counters. You can then leave Uplink frame-counter, Downlink frame-counter (network), and Downlink frame-counter (application) set to 0.

    Update the Frame Counters:

    To find out what the frame counters are, inspect the frames on the network server your device is currently connected to. The FCntUp value is found in the frame counter (FCnt) field when viewing messages sent from the device to the network server. The AFCntDown value is found in the frame counter (FCnt) field when viewing messages sent from the network server to the device that contain application data, where the FPort field is set between 1 and 225.

    When MAC commands are sent from the network server to the device (when the FPort is set to 0, or is not set), the FCnt field contains the NFCntDown value. When application data is sent from the network server to the device (when the FPort is set between 1 and 223), the FCnt field contains the AFCntDown value.

    If your device has an FCntUp higher than zero, set the Uplink frame-counter to be one higher than your device’s FCntUp. For example, if your FCnt is 2, set this to 3.

    If your device has an NFCntDown higher than 0, set the Downlink frame-counter (network) to be one higher than your device’s NFCntDown. For example, if your NFCntDown is 2, set this to 3.

    If your device has an AFCntDown higher than zero, set the Downlink frame-counter (application) to be one higher than your device’s AFCntDown. For example, if your AFCntDown is 2, set this to 3.

    Note

    If you cannot find the frame counters, try leaving Uplink frame-counter, Downlink frame-counter (network), and Downlink frame-counter (application) set to zero. If you then see errors in the devices Events tab, you can disable frame counters by clicking on the Configuration tab and setting the Disable frame-counter validation to on.

  4. Click the (Re)activate device button to save the device address, keys, and frame counter settings.

Join the Network and View Events and LoRaWAN® Frames

  1. Log in to the Semtech Network Server website if you haven’t already done so.

  2. Click Gateways in the menu on the left.

  3. Verify that your gateway has a recent date listed under Last Seen.

    /uploads/documents/images/NS0801-last-seen_.png

    Figure 4: Gateways page showing gateway as online.

  4. Click Applications in the menu on the left.

  5. Click the link to the application you wish to add this device to.

    /uploads/documents/images/NS05-choose-application.png

    Figure 5: Link to Application

  6. The devices registered to the application appear. Click the link in the DevEUI field of the device you are about to join to the network.

    /uploads/documents/images/NS08A-choose-device.png

    Figure 6: Link to Device

  7. Select the Events tab.

    /uploads/documents/images/NS0801-events-tab.png

    Figure 7: Events Tab in the Device Page

  8. A spinning wheel displays. As events occur, they will appear here. Leave this tab open while you complete the remaining steps in this section.

    Note

    The last 10 events are always visible on this page, so if you accidentally close it, you can reopen it and continue to view the events.

  9. Consult the device documentation and complete the steps needed to join the device to the network (for OTAA) or turn the device on (for ABP).

  10. If your device uses OTAA, the join event appears in the Events view when the OTAA process completes, as shown in Figure 8 at label A.

    /uploads/documents/images/NS08A-join-network-view-data-events.png

    Figure 8: Events Tab Showing join (A), up (B, D), and status (C) Events

    When the device sends uplinks, the up event appears, as shown in Figure 8 at B and D.

    When the device sends a Device Status MAC command response (DevStatusAns) to the network server, the status event appears, displaying the battery level returned in the response as a percentage, as shown in Figure 8 at C.

    Read the ChirpStack documentation Event types page to view a list of all event types.

    Warning

    If you do not see any events, check the keys, the order of the keys (MSB vs LSB), and verify the device is working. Consult the manufacturer’s documentation and edit the settings as needed in the Configuration tab and the OTAA keys or Activation tab.

    You can also click Gateways in the left menu, select the nearest gateway to your device, and select the LoRaWAN frames tab to view all the frames sent via this gateway. You can see whether the gateway received any frames or not. If no frames were received, the channel plan may have been incorrectly chosen, or the device may not have transmitted any frames. If the gateway received frames, you can inspect them to validate the DevAddr and DevEUI used.

  11. On the same page, select the Dashboard tab, indicated in Figure 9 at A.

    The Last seen field on the right shows a recent timestamp, shown in Figure 9 at B. The Enabled field on the left shows that the device is enabled, shown in Figure 9 at C.

    /uploads/documents/images/NS0801-dashboard-tab.png

    Figure 9: Dashboard Tab Showing Location of the Tab (A), Last seen Field (B), and Enabled Field (C)

  12. On the same page, select the LoRaWAN frames tab. This tab shows the LoRaWAN® frames sent to or from the device. Figure 10 shows the LoRaWAN frames that generated the events shown in Figure 8.

    /uploads/documents/images/NS08A-join-network-view-data-frames.png

    Figure 10: LoRaWAN frames Tab Showing JoinRequest (A), JoinAccept (B), UnconfirmedDataUp (C, E) and UnconfirmedDataDown (D) Frames

    The JoinRequest frame sent from the device to the network server shown in Figure 10 at A, and the JoinAccept sent from the network server to the device shown at B, are the two frames that make up the join event shown in Figure 8.

    The UnconfirmedDataUp frame sent from the device to the network server shown in Figure 10 at C creates the up event shown in Figure 8 at B.

    The UnconfirmedDataDown sent from the network server to the device is shown in Figure 10 at D. A downlink does not cause an event to appear in the events tab unless it contains application data. In this example, the frame contains only a MAC command. It does not contain application data.

    The UnconfirmedDataUp frame sent from the device to the network server shown in Figure 10 at E creates both the status and up events shown in Figure 8 at C and D. Again, the UnconfirmedDataDown frame does not create any events because it only contains MAC commands and no application data.

    Both UnconfirmedDataDown frames contained MAC commands only and no application data. This can be identified inside the Semtech Network Server by clicking the magnifying glass icon ( Plus icon inside blue lozenge ) in the frame to open the Details pane.

    /uploads/documents/images/NS08A-frames.png

    Figure 11: Section of the Details Pane for an UnconfirmedDataDown Frame Showing Frame Port (A), Frame Payload (B), Frame Options (C)

    Figure 11 shows the Details pane for one of the UnconfirmedDataDown frames shown in Figure 10. The payload object’s Frame Port (f_port) field is set to null as shown at label A. The Frame Payload (frm_payload) at B is also null, indicating that this frame only contains MAC Commands.

    The payload object’s Frame Options (f_opts) array contains two objects shown at C, each of which is a MAC command. The names of the keys indicate the commands. In this example these keys are labelled LinkADRReq, indicating the downlink carries a Link Adaptive Data Rate (ADR) command; and DevStatusReq, indicating the downlink also carries an End Device Status command. Learn more about MAC commands in the A Deep Dive into LoRaWAN® MAC Commands paper.

    Note

    You can inspect any frame in the Details pane by clicking the magnifying glass ( Plus icon inside blue lozenge ) icon. To easily understand the contents of the Details pane, you should first learn the format of each type of frame so that you can easily identify the fields by name and understand what each means and how to interpret it.

    Read the In-Depth: LoRaWAN® End Device Activation paper to learn the structure of the Join Request frame and the structure of the Join Accept frame.

    Read the In-Depth: Sending and Receiving Messages with LoRaWAN® paper to learn the structure of the uplink frame and the structure of the downlink frame downlink fields.