Table of Contents:

1. Introduction

The Dragino LoRaWAN gateway can communicate with LORIOT LoRaWAN Network Server:

Below list the products and requirements that support communication with LORIOT using Semtech UDP:

    1. LoRaWAN Gateway model: LPS8LG308DLOS8,LPS8N,LG308N

    2. Firmware version since : lgw--build-v5.4.1661158991-20220822-1704

 

Below list the products and requirements that support the use of LORIOT software:

    1. LoRaWAN Gateway model: LPS8LG308DLOS8

    2. Firmware version since :dragino-LORIOT--v5.4.1676942123-squashfs-sysupgrade.bin

 

2. Gateway Registration for Semtech UDP

2.1 Step 1: Get Gateway ETH0 MAC Address

Dragino LoRaWAN gateway uses ETH0 MAC address to generate Gateway EUI to communicate with LORIOT, The user needs to find the ETH0 MAC in the "System -> System Overviewmenu.

image-20220831110558-1.png

2.2 Step 2: Register Gateway

image-20220831111032-2.png

Choose gateway model

image-20220831111132-3.png

Special reminder: If the user does not find the gateway Model, then git --> Packet Forwarder Semtech  can be selected

image-20220831115222-11.png

Enter the ETH0 MAC of the gateway

image-20220831111307-4.png

image-20220831111821-5.png

2.3 Step 3: Back to Semtech UDP page

Back to the page of Semtech UDP check the secondary server settings and click the button of Save&Apply.

Server Address:                            --> LORIOT Different servers use different addresses, Such as: next.loriot.io

Uplink /Downlink Port :                --> 1780 

image-20220831112553-7.png

2.4 Step 4: Check Connection

LORIOT will show disconnect if Gateway doesn't connect

LORIOT will show connect if Gateway connect to LORIOT ok.

image-20220831114125-8.png

2.5  Trouble Shooting

User can check the station log in the LogRead --> System Log page.

image-20220831114647-9.png

and recode the station log in the  LogRead  -->  Recode Log page.

image-20220831114746-10.png

3. Gateway Registration for Basics Station

The LoRa Basics™ Station protocol simplifies the management of large-scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to LORIOT. The LoRa Basics Station doc

Below list the support products and Requirements:

  1.  LoRaWAN Gateway model:   LIG16LG308DLOS8 ,LPS8

      2.  Firmware version since :        

What do you need to prepare?

A gateway that can access the internet normally

3.1 Step 1: Register Gateway

image-20231101162122-1.png

Enter the gateway ID into the Custom EUI

image-20231101162623-2.png

3.2  Step 2: Generate and Download TLS Certificate

image-20231101163647-3.png

Download LORIOT's three TLS certificates, which are:

DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt , "Gateway EUI".gws.loriot.io.key

image-20231101163743-4.png

3.3  Step 3: Access the gateway GUI

User need to upload the TLS certificate and configure the LNS URI

3.4  Step 4: Configure Station

User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate.

just to clarify:

   Server URI                     -->    Server Address, Example: wss://ap2.loriot.io:717
   TLS CA Certificate         -->    
   TLS Key                         -->    
   TLS Certificate              -->    

3.5  Start Station

When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT.

3.6  Check Connection

If user completes the above steps,which will see Log in the LORIOT.

image-20231101165306-5.png

3.7  Trouble Shooting

User can check the station log in the LogRead --> System Log page.

image-20220526135845-15.png

and recode the station log in the LogRead  -->  Recode Log page.

image-20220526135940-16.png

4. Gateways are connected using LORIOT software

4.1 Step 1: Get Gateway ETH0 MAC Address

Dragino LoRaWAN gateway use ETH0 MAC address to generate Gateway ID to communicate with LORIOT, User can get the ETH0 MAC address from SSH access and run ifconfig command.

 

image-20220524175559-2.png

Get ETH0 MAC address

Note: To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.

 

4.2 Step 2: Choose LORIOT service

image-20220531182035-1.png

Choose to use LORIOT as LoRaWAN service provider

image-20220531182109-2.png

Install and choose the LORIOT server to be used

4.3 Step 3: Checking Connection Status

image-20220531182202-3.png

Click to Home page and check the connection status

4.4 Step 4: Setup Account in LORIOT

Login LORIOT and create account

image-20220531182253-4.png

Log in LORIOT portal

Choose to use the server same as the gateway setting

image-20220526111312-1.png

Choose server

Create a New Network

image-20220526111425-2.png

Create a New Network

image-20220526111500-3.png

Create a New Network

4.5 Step 5: Register the gateway

image-20220526111650-4.png

Register the Gateway in LORIOT

Choose LG308 as gateway model

image-20220526111742-5.png

Choose LG308 as gateway model

Input Gateway ETH0 address

image-20220526111918-6.png

Choose SX1301 Reference and use SPI protocol

Choose the right Frequency Band and input location

image-20220526112029-7.png

Set up regional settings.

4.6 Step 6: Check Connection

LORIOT will show disconnect if Gateway doesn't connect

LORIOT will show connect if Gateway connect to LORIOT ok.

 

image-20220526112143-8.png

Status: Connected

4.7 Debug If there is connection issue

User can check if loriot is running by checking the web ui

image-20220526112917-18.png

Status: Connected

If user want to see more log, he can run below commands in Linux and see the full log:

ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9
/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io

 

Above two commands will first kill the loriot process and run it again to get more output.

image-20220530145011-1.png

Get more debug info

5. End Device Note

5.1 Downlink Setup

image-20220530145133-2.png

image-20220526112416-11.png

image-20220526112459-12.png

image-20220526112537-13.png

image-20220526112608-14.png

image-20220526112655-15.png

image-20220526112719-16.png

image-20220526112759-17.png

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0