![IDEETRON Nexus LoRaWAN Manual Download Page 7](http://html1.mh-extra.com/html/ideetron/nexus-lorawan/nexus-lorawan_manual_3659068007.webp)
Pagina 7 of 20
14-4-2017
Nexus LoRaWAN
The command type, parameters and values are separated by a space.
7.1 mac data [data]
This command is used to send a LoRaWAN data message containing the data that is included in
this command. The maximum number of bytes that a LoRaWAN message can contain is 51 bytes.
Example: mac data 00FF
The answer form the Nexus on this command will be:
Data: [data]
7.2 mac join
This command is used to send a LoRaWAN join request message. The join request message will used
the following parameters:
-
appkey
-
deveui
-
appeui
The join request message will use the set Datarate and Channel for transmit. And it will listen on the
set receive Datarate and Channel for a Join accept message.
When a join accept message is received it will show the following
DevAddr: [device addresss]
NwkSKey: [network session key]
AppSKey: [application session key]
7.3 mac set/get devaddr
This command is used to read or write the device address.
To read the device address sent: mac get devaddr
To write the device address sent: mac set devaddr [device address]
[device address] is 4 bytes long: 00112233
The answer form the nexus is:
DevAddr: [device address]
7.4 mac set/get nwkskey
This command is used to read or write the network session key.
To read the key sent: mac get nwkskey
To write the key sent: mac set nwkskey [key]
[key] is 16 bytes long: 00112233445566778899AABBCCDDEEFF
The answer form the nexus is:
NwkSKey: [key]