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. Gateways are connected using LORIOT software

3.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.

 

3.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

3.3 Step 3: Checking Connection Status

image-20220531182202-3.png

Click to Home page and check the connection status

3.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

3.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.

3.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

3.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

4. End Device Note

4.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