![IDEETRON Nexus LoRaWAN Manual Download Page 6](http://html1.mh-extra.com/html/ideetron/nexus-lorawan/nexus-lorawan_manual_3659068006.webp)
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