11
Referance Manual
ETH-LORA-M-AX-01
LORA JOIN PROCEDURE
Before an end device can communicate on the LoRaWAN network, it must first be activated (join). The join procedure depends on the network join
mode. There are two modes available which are Activation By Personalization (ABP) and Over The Air Activation (OTAA). The main difference between
these modes is that user needs to generate the network keys used to authenticate the device when it joins the application in ABP mode while in OTAA
these values are automatically derived.
ABP MODE
In this mode, the host is required to provide the following information:
1. LoRa Data Session Encryption Key (16 bytes). Also known as Application Session Key (AppSKey)
2. Network Session Key (16 bytes)
This means that users must know this information prior to join the network. Since the keys are configured manually, there is no need for a “handshake”
procedure with the gateway.
The steps to join the network are as follow:
1. Set the network join mode to ABP:
2. Set LoRa public network mode:
3. Set LoRa Network EUI/Name:
4. Set LoRa Network Key/passphrase:
AT Command
AT+LORA@MAC%NJM=0
Description
This command is a write command to set the network join mode
0: Manual configuration mode, known as “Activation By Personalization” (ABP)
in LoRaWAN specification document.
Return Value
<CR><LF>OK<CR><LF>: Operation successful.
<CR><LF>ERROR<CR><LF>: Parameter is expected.
AT Command
AT+LORA@MAC%PN
=1
Description
This command is a write command to set the public network mode
0: set to private Network mode.
1: set to public Network mode.
Return Value
<CR><LF>
OK
<CR><LF>: Operation successful.
<CR><LF>
ERROR
<CR><LF>: Parameter is expected.
AT Command
AT+LORA@MAC%NI
=0, 1122334455667788
AT+LORA@MAC%NI
=1,LoRaNetworkID
Description
This command is a write command to set the network EUI/Name which is also
known as AppEUI in LoRaWAN specification document
0: Use digits as NETwork ID
1: Use string as NETwork ID
Return Value
<CR><LF>
OK
<CR><LF>: Operation successful.
<CR><LF>
ERROR
<CR><LF>: Parameters are expected.
AT Command
AT+LORA@MAC%NK
=0,112233445566778899aabbccddeeff
AT+LORA@MAC%NK
=1,LoRaPassphrase
Description
This command is a write command to set the LoRa Network Key also known as
AppKey in LoRaWAN specification document
0,1122334455..ccddeeff: Use digits as Network Key
1,LoRaPassphrase: Use string as Network Key
Return Value
<CR><LF>
OK
<CR><LF>: Operation successful.
<CR><LF>
ERROR
<CR><LF>: Parameters are expected.
092419
Содержание ethertronics ETH-LORA-M-AX-01
Страница 1: ...ETH LORA M AX 01 Reference Manual ...