Lorawan Introduction; Operation - IDEETRON LoRaWAN Manual

Mini gateway
Table of Contents

Advertisement

6 LoRaWAN introduction

The LoRaWAN communication takes place in two directions, up (from mote to gateway) and down
(from gateway to mote). The mini gateway can send and receive LoRaWAN messages both ways,
as shown in Figure 1.
The commands described in chapter 8, will influence different settings for the LoRaWAN
communication.
-
The channel and datarate can be set for a direction individually.
-
The Network and application key will be used for sent or received messages in both
directions.
-
The Tx settings influence the sent messages from the mini gateway up or down.
-
The device address is used for sending messages and for sending an ACK on an up
message from a mote.

7 Operation

The gateway is fitted with two RFM95-868-S2 radio modules. One of the modules will receive
messages coming from motes and the other module will listen to messages from the gateway.
Every message the mini gateway receives will be check and will be broken down in the different
fields. The mini gateway will send the following information using to serial communication:
Message
RSSI
CRC
MAC Header
Sensor
Frame counter
Frame control
MIC
Figure 1: LoRaWAN communication
Value
00 - FF
OK/NOK
See Table 5
4 bytes in Hex
2 bytes in Hex
00 or 20
OK/NOK
Pagina 5 of 12
LoRaWAN mini gateway
Description
Hexadecimal value for the
RSSI of the received
message.
If the CRC of the received
radio message is ok.
LoRaWAN MAC header
Device address
Number of frame
LoRaWAN Fctrl field
If the MIC calculation of the
LoRaWAN package is ok.
1-11-2016

Advertisement

Table of Contents
loading

Table of Contents