How to Connect Dusun LoRaWAN Gateway to ChirpStack Platform?

chirpstack network server
Table of Contents

Dusun gateway runs a Linux-based OS to implement the Chirpstack stack integrating with the ChirpStack network server to complete the data upload channel.

The ChirpStack open-source LoRaWAN Network Server stack provides open-source components for LoRaWAN networks. Together they form a ready-to-use solution including a user-friendly web interface for device management and APIs for integration. The modular architecture makes it possible to integrate within existing infrastructures.

This file mainly describes a sample way to integrate the Dusun LoRaWAN gateways with the Chirpstack platform in detailed steps, from building the Chripstack server to connecting gateways and gateway sub-devices to it.

Block Diagram of ChirpStack Network Server and LoRaWAN

The graph below visualizes how the ChirpStack LoRaWAN® Network Server components are connected:

图片36
  • ChirpStack Gateway Bridge: handles the communication with the LoRaWAN gateways
  • ChirpStack Network Server: a LoRaWAN Network Server implementation
  • ChirpStack Application Server: a LoRaWAN Application Server implementation
  • LoRa® Gateway: Dusun gateway implemented the Packet Forwarder to handle the communication between LoRa Sub devices.

Packet Forwarder

Dusun smart gateways use Semtech UDP Packet Forwarder to manage connection with ChirpStack.

PlatformTTNChirpStackAWS
Packet ForwarderSemtech UDP Packet
Forwarder
Semtech UDP Packet
Forwarder
Basics Station

Configuration Steps

Step 1: Setting up the Chirpstack server

Take the chip stack docker as an example, the repository can be acquired from the link https://github.com/brocaar/chirpstack-docker.git

After cloning this repository locally, the user can configure it as per requirement. Modify the file docker-compose.yml.

图片37

Set the path of data storage.

图片38

You must prefix the MQTT topic with the region Please see the region configuration files in the configuration/chirpstack for a list of topic prefixes.

Modify configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml

图片39

Run docker-compose to acquire the resources and start the server

Step 2: Configuration in Chirpstack server

The ChiRpstack server can be logged via <local IP>:8080, The default user name/ password is admin/admin, and detailed steps to set up the network server are shared below.

Switch to section Gateways, click Add Gateway.

图片40

Submit

图片41

Step 3: Configuration in gateway

a) Log in gateway using the IP address,

图片42

b) Switch to “IOT Services”–> “Cloud Config”–> “ChirpStack”

Fill in the correct IP address of the Chirp stack server we created just now and Gateway EUI, Server Port, click Save&apply

图片43

c) Check the connection in the Chirpstack server, it can be seen the gateway is connected

图片44

Add LoRaWAN Devices

a)  Create Device profiles.

图片45
图片46

b) Switch to Applications, create an application

图片47

c) Add device

图片48
图片49

d) Fill in the APP KEY from the device

图片50

e) Use your device to send data uplink, you’ll see records in LoRaWANframes

图片51

Leave a Reply

Looking For An IoT Device Supplier For Your Projects?

CONTACT US

    This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

    IoT Gateways for Recommendation

    CONTACT US

      This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

      Welcome to DusunIoT

      Hi there 👋 Is there anything we can help you with today? Please fill in the form below for the team to follow up if you become disconnected.

        Download

          This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

          Ultimate IoT White Paper for Developer Gateway

          DusunIoT Distributor Program

            This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

              This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.