
Pa ina 6 of 20 14-4-2017
Nexus LoRaWAN
The messa e 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 containin the ACK.
Most of the times the other bits will be 0, so the frame control field can have the followin 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 messa e after sendin a Join request the followin 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 usin a
terminal pro ram. 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 followin command structure is used
Co and type Para eter 1 Para eter 2 Value Description
mac
data Maximum of 51 bytes Send LoRaWAN
messa e with this data
join - Send a Join Request
messa e
et/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 hoppin
class 1 byte Mote class
appkey 16 bytes Application key
deveui 8 bytes Device EUI
appeui 8 bytes Application EUI
Table 6: Co and structure