22
Reference Manual
ETH-LORA-M-AX-01
ESCAPING AT COMMAND
Some of the AT commands are deferred commands which mean that these commands take time to finish their execution. If user wishes to send other
AT command while these commands are still in their executing phase, the following procedure needs to be done:
1. Switch to factory firmware:
Once this command is issued and the return value is received by the host, the host can start sending next AT command. This command will not stop
the pending command. User can choose whether to resume the pending command or completely abort it.
2. Resume the pending AT command:
3. Abort the pending command:
LORA PARAMETERS
Certain LoRa parameters which are necessary to join and send data over the LoRa network have a default (factory) values in the firmware of the ETH-
LORA-M-AX-01. However these parameters should be adjusted depending on the LoRa network configuration where this device will be used. Hence,
the user needs to update these parameters to match the configuration of the LoRa network.
These parameters are stored in the RAM and their values are kept until the device is powered off.
AT Command
Syntax
+++
Description
Escape Sequence to return to the command line prompt during a pending AT command
Return Value
<CR><LF>OK<CR><LF>
Ready for new AT command.
NOTE:
The pending command is still running.
AT Command
Syntax
AT+LORA#RESUME
Description
Resume the last pending command after i++ command
Return Value
Depend on the resumed AT command.
AT Command
Syntax
AT+LORA#ABORT
Description
Abort the last pending command after i++ command
Return Value
<CR><LF>OK<CR><LF>
Operation successful.
LoRa Parameters
Size (bytes) Description
AT Commands
Device LoRa Class
1
LoRa class of the end device
AT+LORA@MAC%DC
Activation Mode
(Join Mode)
1
The Join/Activation mode of the end device.
Two possible modes: ABP(0) or OTAA(1)
AT+LORA@MAC%NJM
Public Network Type
1
The type of the network.
Two possible options: Private(0) or Public (1)
AT+LORA@MAC%PN
Device EUI
8
End device unique identifier (DevEUI)
AT+LORA@MAC%DI
Application EUI
8
Application identifier (AppEUI) is a global application ID in IEEE EUI64 address space.
AT+LORA@MAC%NI
Application Key
16
The Application Key (AppKey) is an AES-128 root key specific to the end-device. It is used in
OTAA to derive the NwkSKey and AppSKey specific for that end-device to encrypt and verify
network communication and application data
AT+LORA@MAC%NK
Network Sessions Key
16
Network Session Key (NwkSKey) is specific for the end-device. It is used by both the network
server and the end-device to calculate and verify the MIC (message integrity code) of all data
messages to ensure data integrity.
AT+LORA@MAC%NSK
Application Session Key
16
The application session key (AppSKey) is specific for the end-device and is used by both the
application server and the end-device to encrypt and decrypt the payload field of application-
specific data messages.
AT+LORA@MAC%DSK
End Device Address
4
The End Device Address (DevAddr) consists of 32 bits identifies the end-device within the current
network
AT+LORA@MAC%NA
Application Port
1
Port to be used for application to send data
AT+LORA@MAC%AP
Table 11
Please refer to
Ethertronics’ AT Command Reference Guide from
www.avx.com/products/modules/lora-module
for detail on every supported AT command.
092419
Содержание ethertronics ETH-LORA-M-AX-01
Страница 1: ...ETH LORA M AX 01 Reference Manual ...