Справочник Пользователя для Iotek Systems LLC HXC900
HXC Client Module User Guide
Version 1.09
© 2017 All rights reserved. Iotek Systems, LLC
Page 28 of 59
00:00:00:00:00. Using OTAA scheme will set the APPSKEY during JOIN procedure.
The command takes 32digit (16byte) hex value. Hex values are case-insensitive. Any
change of NWKSKEY using Set command is saved in EEPROM and automatically set as
NWKSKEY after a reset.
The command takes 32digit (16byte) hex value. Hex values are case-insensitive. Any
change of NWKSKEY using Set command is saved in EEPROM and automatically set as
NWKSKEY after a reset.
AT+NWKSKEY?
>>>
Set Network Session Key
>>>
OK
AT+NWKSKEY=00112233445566778899aabbccddeeff
>>>
OK
Users can receive AT_ERROR if they try to read the key.
AT+NWKSKEY=?
>>>
AT_ERROR
Users can receive AT_PARAM_ERROR if the parameter has less than 32 digits (16 bytes).
AT+NWKSKEY=112233445566778899
>>>
AT_PARAM_ERROR
Users can receive AT_BUSY_ERROR if this command is used during a LoRa transmission
(Join, Data Send or Continuous Tx). Users will have to wait till the transmission is done.
(Join, Data Send or Continuous Tx). Users will have to wait till the transmission is done.
8.7.3 Join, Sending and Receiving Data
To send data, the HXC module must have the correct keys loaded and join the network.
8.7.3.1 AT+NJM: LoRa
®
Network Join Mode
This command allows users to access to the network join mode. The command only
takes either ‘ABP’ or ‘OTAA’. The default join mode is OTAA. Any change of NJM using
Set command is saved in EEPROM and can be retained after a Reset.
takes either ‘ABP’ or ‘OTAA’. The default join mode is OTAA. Any change of NJM using
Set command is saved in EEPROM and can be retained after a Reset.
AT+NJM?
>>>
Get or Set Network Join Mode
>>>
OK
AT+NJM=?
>>>
OTAA
AT+NJM=ABP
>>>
OK
AT+NJM=?
>>>
ABP
The user can receive AT_PARAM_ERROR if the parameter is neither ABP nor OTAA.