DUSUN DSGW-010B Indoor LoRaWAN Gateway User Guide

June 11, 2024
Dusun

DUSUN DSGW-010B Indoor LoRaWAN Gateway

Getting Started Guide for Dusun Gateway

Model Name: DSGW-010B & DSGW-210C &DSGW-210B Platform: AWS IoT Core LoRaWAN

Revision History

Specification| __

Sect.

| __

Update Description

| __

By

---|---|---|---
Rev| Date
1.0| 2022-05-17| | New version release| Bruce
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |

Approvals

Organization Name Title Date

Introduction

Dusun gateway runs an Linux based OS to implement LoRa basic station stack integrating with the AWS Iot Core LoRaWAN network server in order to complete data upload channel. AWS IoT Core for LoRaWAN is a fully managed LoRaWAN network server (LNS) that provides gateway management using the Configuration and Update Server (CUPS) and Firmware Updates Over-The-Air (FUOTA) capabilities. User can replace the private LNS with AWS IoT Core for LoRaWAN and connect the Long Range Wide Area Network (LoRaWAN) devices and gateways to AWS IoT Core.
This file mainly describes a sample way to integrate Dusun gateway with AWS IOT Core LoRaWAN platform in detailed steps. From building the AWS IOT Core LoRaWAN server to connect gateways and gateway sub devices to it.

System diagram
General data transformation link is shown above

Configuration Steps

AWS connection
Configuration in AWS
Setup your AWS account and Permissions
Refer to the instructions at Set up your AWS Account. Follow the steps outlined in these sections to create your account and a user and get started:

  • Sign up for an AWS account and
  • Create a user and grant permissions.
  • Open the AWS IoT console

Pay special attention to the Notes.

Create Resources in AWS IoT

Refer to the instructions at Create AWS IoT Resources. Follow the steps outlined in these sections to provision resources for your device:

  • Create an AWS IoT Policy
  •  Create a thing object

Pay special attention to the Notes.
Detailed configuration steps

Detailed steps to configure the AWS is shared above,

  • Log in the AWS Account, switch to Service AWS IoT Core -> Wireless connectivity.

DUSUN-DSGW-010B-Indoor-LoRaWAN-Gateway-02

  • Click Get started -> Add gateway, fill in the Gateway EUI from the label, choose correct frequency plan, set other sections as desired, click Add gateway.

  • After gateway is added, user need to configure it correctly.

  • Click Create certificate, Download certificate files, Copy the CUPS endpoint, Download server trust certificates.

  • Note
    These credentials are important, make sure you recorded them.

  • Choose a role for adding permission for the gateway, click Submit

Configure in gateway

Steps for configuring gateway to connect to the AWS IoT Core LoRaWAN is shared below,

  • Find the folder you used to store the four credentials created in AWS, the cups.uri file stored the CUPS endpoint
    DUSUN-DSGW-010B-Indoor-LoRaWAN-Gateway-07

  • Upload them to the gateway by scp command scp cups.* root@:/etc/config/dusun/lorawan.
    DUSUN-DSGW-010B-Indoor-LoRaWAN-Gateway-08

  • Log in gateway using the IP address, default user name : root, Password: root.
    DUSUN-DSGW-010B-Indoor-LoRaWAN-Gateway-09

  • Switch to IOT Services -> LoRaWAN
    Fill in the correct CUPS domain we recorded just now, select platform AWS, Fill in the correct Gateway EUI, then click Save & Apply.
    DUSUN-DSGW-010B-Indoor-LoRaWAN-Gateway-10

  • Check the connection in AWS
    After configuration, you can easily check in AWS console that the gateway is correctly connected.
    DUSUN-DSGW-010B-Indoor-LoRaWAN-Gateway-11
    DUSUN-DSGW-010B-Indoor-LoRaWAN-Gateway-12

Troubleshoting

Indicator Description
Blue LED steady on Gateway Normal status
Red LED flashing No Internet access

Please check on Ethernet connection/ wifi connection/ LTE connection/ AWS credentials

Green LED flashing| Gateway restoring factory setting, normally by pressing

the reset button for

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals