![IDEETRON Nexus LoRaWAN Скачать руководство пользователя страница 5](http://html1.mh-extra.com/html/ideetron/nexus-lorawan/nexus-lorawan_manual_3659068005.webp)
Pagina 5 of 20
14-4-2017
Nexus LoRaWAN
5 LoRaWAN introduction
The LoRaWAN communication takes place in two directions, up (from Nexus to gateway) and
down (from gateway to Nexus). This sketch can transmit messages in the up direction and receive
messages in the down direction.
Figure 1: LoRaWAN communication
The channel and datarate for the both directions can be set.
Also the class of the Nexus board can be set to type A or C.
A type A mote can only receive messages from the gateway in a specific timeslot after sending a
message.
A type C mote can receive a message from the gateway any time, except when the mote is
transmitting a message.
6 Operation
If the Nexus receives a message it will check if the CRC and MIC is ok and if it is a message for this
device. Then it will be broken down in the different fields. The Nexus will send the following
information using to serial communication:
Message
Value
Description
CRC
OK/NOK
If the CRC of the received
radio message is ok.
MIC
OK/NOK
If the MIC calculation of the
LoRaWAN package is ok.
Address
OK/NOK
If the package contains the
address for this mote
MAC Header
See Table 5
LoRaWAN MAC header
Sensor
4 bytes in Hex
Device address
Frame counter
2 bytes in Hex
Number of frame
Frame control
00 or 20
LoRaWAN Fctrl field
Data
Bytes in Hex
Data send from mote or
gateway
Table 3: Message information
The MAC Header specifies the message type and the version of the LoRaWAN protocol used.
Bits
7 – 5
4 – 2
1 – 0
Field
Message type
Reserved
LoRaWAN protocol
Table 4: MAC Header fields
The LoRaWAN protocol field will always be 00.
The reserved field bits will always be 0.
Содержание Nexus LoRaWAN
Страница 1: ...Manual Nexus LoRaWAN Date 13 04 2017 Version 2 0 Title Manual Nexus LoRaWAN...
Страница 19: ...Pagina 19 of 20 14 4 2017 Nexus LoRaWAN 8 Start up realterm and set the parameters Figure 17 Set parameters...
Страница 20: ...Pagina 20 of 20 14 4 2017 Nexus LoRaWAN 9 Send the join command and wait for reply Figure 18 OTAA response...