Pagina 6 of 20
14-4-2017
Nexus LoRaWAN
The message type filed can have several values, in Table 5 the different values for the MAC header
are listed.
MAC Header value Hex
Message type
60
Unconfirmed data down
A0
Confirmed data down
Table 5: Message types
The frame control field consists of different bits, the most important is bit 5 containing the ACK.
Most of the times the other bits will be 0, so the frame control field can have the following values:
00 – No ACK
20 – ACK
For a full description of the frame control field see the LoRaWAN specification.
When the Nexus receives a Join Accept message after sending a Join request the following data
will be shown:
-
Device address
-
Network session key
-
Application session key
7 Commands
This chapter describes the commands that can be used to communicate with the Nexus using a
terminal program. All commands and data is sent as ASCII characters. All data is one or more bytes
of hexadecimal numbers represented by 2 ASCII characters. So all data exist of 2 ASCII characters
that can be 0 – F. All other characters will be set to 0.
The following command structure is used
Command type
Parameter 1
Parameter 2
Value
Description
mac
data
Maximum of 51 bytes
Send LoRaWAN
message with this data
join
-
Send a Join Request
message
get/set
devaddr
4 bytes
The the device address
nwkskey
16 bytes
The network session key
appskey
16 bytes
The application session
key
drrx
1 byte
Transmit datarate
drtx
1 byte
Receive datarate
chrx
1 byte
Transmit channel
chtx
1 byte
Receive channel
pwridx
1 byte
Power index
cnf
1 byte
Confirmation
chhop
1 byte
Channel hopping
class
1 byte
Mote class
appkey
16 bytes
Application key
deveui
8 bytes
Device EUI
appeui
8 bytes
Application EUI
Table 6: Command structure
Содержание 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...