Skip to main content

RAK7201V2 WisNode Button 4K AT Command Manual

Overview

The configuration of RAK7201V2 can be done by AT commands send by RAK Serial Tool through a USB cable between a PC and the button.

AT Commands Basics

The maximum length of an AT command string is 255 characters (including \r\n).

The command must start with at+ and end with <CR><LF> (\r\n).

NOTE

Adding \r\n at the end of every AT command is not required if the RAK Serial Tool is used. All commands in this manual will be described without \r\n added as the RAK Serial Tool is used.

AT Commands Division

  • Read commands: reads the configuration or status of the device.

    AT+VER=?

    The command name and the parameter are separated by =. If multiple parameters are included, they are separated by :.

  • Write commands: writes/modifies the device configuration.

    AT+APPEUI=<input>

    The command name and the parameter are separated by =. If there are multiple parameters, they are separated by :.

  • Other commands : neither read nor write.

For example, the command for LoRa to send data is:

ATZ

AT Command Responses

  • When the execution of the command is successful, the following is the response:
OK

Read command response will start with OK, followed by the obtained information. A write command response will contain just OK.

Some special commands will trigger module restart. For example, the command at+set_config=device:restart. It ends with "Initialization OK", in the following format:

Current Work Mode: LoRaWAN.
/home/daniel/RAK7201/rui-v3/app/../app/RAK7201/src/power.c
sgm41562_get_state 334
  • When the command configuration is unsuccessful:
ERROR: <error code>

The response will start with "ERROR:" followed by the error code.

Error Code Meaning

Error CodeMeaning
1The last command received is an unsupported AT command.
2An invalid parameter in the AT command.
3There is an error when reading or writing the flash memory.
5There is an error when sending data through the UART port.
80The LoRa transceiver is busy, could not process a new command.
81LoRa service is unknown. Unknown MAC command was received by the node. Execute commands that are not supported in the current state, such as sending the at+join command in P2P mode.
82The LoRa parameters are invalid.
83The LoRa frequency is invalid.
84The LoRa data rate is invalid.
85The LoRa frequency and data rate are invalid.
86The device hasn’t joined a LoRa network.
87The length of the packet exceeded the maximum allowed by the LoRa protocol.
88The service is closed by the server. Due to the limitation of the duty cycle, the server will send the "SRV_MAC_DUTY_CYCLE_REQ" MAC command to close the service.
89This is an unsupported region code.
90The duty cycle is restricted. Due to duty cycle, data cannot be sent at this time until the time limit is removed.
91No valid LoRa channel could be found.
92No available LoRa channel could be found.
93Status is an error. Generally, the internal state of the protocol stack is wrong.
94Time out reached while sending the packet through the LoRa transceiver.
95Time out reached while waiting for a packet in the LoRa RX1 window.
96Time out reached while waiting for a packet in the LoRa RX2 window.
97There is an error while receiving a packet during the LoRa RX1 window.
98There is an error while receiving a packet during the LoRa RX2 window.
99Failed to join into a LoRa network.
100Duplicated downlink message is detected. A message with an invalid downlink count was received.
101The payload size is not valid for the current data rate.
102There were many downlink packets lost.
103Address fail. The address of the received packet does not match the address of the current node.
104Invalid MIC was detected in the LoRa message.

General AT Commands

ATZ

MCU Reset. This command is used to trigger a reset on the module.

Command TypeCommandInput ParameterReturn ValueResponse
ReadATZ---

Example:

ATZ

ATR

Restore default parameters. This command is used to restore all parameters to the initial default values.

Command TypeCommandInput ParameterReturn ValueResponse
ReadATR---

Example:

ATR

ATE

AT Command Echo. This command is used to see the AT command input on the Serial Terminal.

Command TypeCommandInput ParameterReturn ValueResponse
ReadATE--OK

Example:

ATE
OK

AT+SN

Serial number. This command can read the device serial number.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+SN?-AT+SN: get the serial number of the device (max 18 char)OK
ReadAT+SN=?-AT+SN=Serial numberOK

Example:

AT+SN=?
9181004E20900057
OK

AT+BAT

Battery level. This command is used to access the battery level.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+BAT?-AT+BAT: get the battery level (volt)OK
ReadAT+BAT=?-AT+BAT=Battery level (volt)OK

Example:

AT+BAT=?
AT+BAT=0.971191
OK

AT+VER

Version of the firmware. This command is used to access the version of the firmware.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+VER?-AT+VER: get the version of the firmwareOK
ReadAT+VER=?-AT+VER=Firmware versionOK

Example:

AT+VER=?
AT+VER=3.2.0-p2_22q1_final.87
OK

LoRaWAN AT Commands

AT+APPEUI

This command is used to access the unique application identifier.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+APPEUI?-AT+APPEUI: get or set the application EUI (8 bytes in hex)OK
ReadAT+APPEUI=?-AT+APPEUI=<8 hex>OK
WriteAT+APPEUI=<input><8 hex>-OK
AT_PARAM_ERROR

Example:

AT+APPEUI?
AT+APPEUI: get or set the application EUI (8 bytes in hex)
OK

AT+APPEUI=?
AT+APPEUI=0102030405060708
OK

AT+APPEUI=0102030405060708
OK

AT+APPEUI=010203040506070809
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • Keys are MSB first. <Input>: 16 digit length, character 0-9, a-f, A-F only, representing eight (8) hexadecimal numbers.

AT+APPKEY

This command is used to access the application key.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+APPKEY? -AT+APPKEY: get or set the application key (16 bytes in hex)OK
ReadAT+APPKEY=?-AT+APPKEY=<16 hex>OK
WriteAT+APPKEY=<input><16 hex>-OK
AT_PARAM_ERROR

Example:

AT+APPKEY?
AT+APPKEY: get or set the application key (16 bytes in hex)
OK

AT+APPKEY=?
AT+APPKEY=01020AFBA1CD4D20010230405A6B7F88
OK

AT+APPKEY=01020AFBA1CD4D20010230405A6B7F88
OK

AT+APPKEY=01020AFBA1CD4D20010230405A6B7F
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • Keys are MSB first. <Input>: 32 digit length, character 0-9, a-f, A-F only, representing 16 hexadecimal numbers.

AT+APPSKEY

This command is used to set the application session key.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+APPSKEY?-AT+APPSKEY: get or set the application session keyOK
ReadAT+APPSKEY=?-AT+APPSKEY=<16hex>OK
WriteAT+APPSKEY=<input><16 hex>-OK
AT_PARAM_ERROR

Example:

AT+APPSKEY?
AT+APPSKEY: get or set the application session key
OK

AT+APPSKEY=01020AFBA1CD4D20010230405A6B7F88
OK

AT+APPSKEY=01020AFBA1CD4D20010230405A6B7F
AT_PARAM_ ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • Keys are MSB first. <Input>: 32 digit length, character 0-9, a-f, A-F only, representing 16 hexadecimal numbers.

AT+DEVADDR

This command is used to access the device address.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+DEVADDR?-AT+DEVADDR: get or set the device address (4 bytes in hex)OK
ReadAT+DEVADDR=?-AT+DEVADDR=<4 hex>OK
WriteAT+DEVADDR=<input><4 hex>-OK
AT_PARAM_ERROR

Example:

AT+DEVADDR?
AT+DEVADDR: get or set the device address (4 bytes in hex)
OK

AT+DEVADDR=?
AT+DEVADDR=01020A0B
OK

AT+DEVADDR=01020A0B
OK

AT+DEVADDR=01020A0
AT_PARAM_ERRORR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • Keys are MSB first. <Input>: 8 digit length, character 0-9, a-f, A-F only, representing four (4) hexadecimal numbers.

AT+DEVEUI

This command is used to access the unique end-device ID.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+DEVEUI?-AT+DEVEUI: get or set the device EUI (8 bytes in hex)OK
ReadAT+DEVEUI=?-AT+DEVEUI=<8 hex>OK
WriteAT+DEVEUI=<input><8 hex>-OK
AT_PARAM_ERROR

Example:

AT+DEVEUI?
AT+DEVEUI: get or set the device EUI (8 bytes in hex)
OK

AT+DEVEUI=?
AT+DEVEUI=1122334455667788
OK

AT+DEVEUI=1122334455667788
OK

AT+DEVEUI=112233445566778
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • Keys are MSB first. <Input>: 16 digit length, character 0-9, a-f, A-F only, representing eight (8) hexadecimal numbers.

AT+NETID

This command is used to access the network identifier (NetID) of 3 octets.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+NETID?-AT+NETID: get or set the network ID (NetID) (3 bytes in hex)OK
ReadAT+NETID=?-AT+NETID=<3 hex>OK
WriteAT+NETID=<input><3 hex>-OK
AT_PARAM_ERROR

Example:

AT+NETID?
AT+NETID: get or set the network ID (NetID) (3 bytes in hex)
OK

AT+NETID=?
AT+NETID=000001
OK
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • Keys are MSB first. Return Value: 6-digit length, character 0-9, a-f, A-F only, representing three (3) hexadecimal numbers.

AT+NWKSKEY

This command is used to get or set the network session key.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+NWKSKEY?-AT+NWKSKEY: get or set the network session key (16 bytes in hex)OK
ReadAT+NWKSKEY=?-AT+NWKSKEY=<16 hex>OK
WriteAT+NWKSKEY=<input><16 hex>-OK
AT_PARAM_ERROR

Example:

AT+NWKSKEY?
AT+NWKSKEY: get or set the network session key (16 bytes in hex)
OK

AT+NWKSKEY=?
AT+NWKSKEY=01020AFBA1CD4D20010230405A6B7F88
OK

AT+NWKSKEY=01020AFBA1CD4D20010230405A6B7F88
OK

AT+NWKSKEY=01020AFBA1CD4D20010230405A6B7F8
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • Keys are MSB first. <Input>: 32 digit length, character 0-9, a-f, A-F only, representing 16 hexadecimal numbers.

AT+MCROOTKEY

This command is used to get the mc root key of the device.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+MCROOTKEY?-AT+MCROOTKEY: get the mc root key (32 bytes in hex)OK
ReadAT+MCROOTKEY=?-AT+MCROOTKEY=<32 hex>OK
WriteAT+MCROOTKEY=<input><32 hex>-OK
AT_PARAM_ERROR

Example:

AT+MCROOTKEY?
AT+MCROOTKEY: get the mc root key (32 bytes in hex)
OK

AT+MCROOTKEY=?
AT+MCROOTKEY=46B1A450DDDE349310F0EFDEEDFBB44B
OK

AT+CFM

This command is used to configure the uplink payload to be confirmed or unconfirmed type.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+CFM?-AT+CFM: get or set the confirmation mode (0-1)OK
ReadAT+CFM=?-AT+CFM=(0 or 1)OK
WriteAT+CFM=<input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+CFM?
AT+CFM: get or set the confirmation mode (0-1)
OK

AT+CFM=?
AT+CFM=1
OK

AT+CFM=1
OK

AT+CFM=2
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the default value is 0. AT+CFS=? is used to know whether or not the last sent message has been confirmed. When the confirmation mode is 1, each sent message must be confirmed FAILED or OK. For example:
 ?>at+send=12:123456
?>+EVT: SEND CONFIRMED FAILED
?>at+send=12:123456
?>+EVT: SEND CONFIRMED OK

AT+CFS

This command is used to access the status of the last SEND command.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+CFS?-AT+CFS: get the confirmation status of the last AT+SEND (0 = failure, 1 = success)OK
ReadAT+CFS=?-0 or 1OK

Example:

AT+CFS?
AT+CFS: get the confirmation status of the last AT+SEND (0 = failure, 1 = success)
OK

AT+CFS=?
AT+CFS=0
OK
NOTE
  • This command works together with AT+CFM=1, which is the confirm mode configuration. If the return of this command is 1, the last confirmed uplink is successful.
  • If it is 0, then the last confirmed uplink attempt failed. It's a read-only command, with a default value on device startup of 0.

AT+JOIN

This command is used to join a LoRaWAN network.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+JOIN?-AT+JOIN: join networkOK
ReadAT+JOIN=?-AT+JOIN=Param1, Param2, Param3 or Param4OK
AT_BUSY_ERROR
WriteAT+JOIN=<input>Param1, Param2, Param3, or Param4,-OK

Where:

  • Param1 = Join command: 1 for joining the network, 0 for stop joining.
  • Param2 = Auto-Join config: 1 for Auto-join on power up, 0 for no auto-join. (Default value: 0)
  • Param3 = Reattempt interval: 7 - 255 seconds (Default value: 8)
  • Param4 = No. of join attempts: 0 - 255 (Default value: 0)
NOTE
  • AT+JOIN is an asynchronous command. OK means that the device is joining. The completion of the JOIN can be verified with the AT+NJS=? command.
  • The parameters of the AT+JOIN command are optional. You can use AT+JOIN directly to join the LoRaWAN network. If no parameters are configured, the device will use the default values.

Examples:

  • Successful join attempt
AT+JOIN=1:0:10:8

OK
+EVT:JOINED
  • Failed join attempt
AT+JOIN=1:0:10:8

OK
+EVT:JOIN FAILED
NOTE

If joining fails, make sure your device is within the coverage of the gateway. Also, ensure that the RUI3 LoRaWAN device is in LoRaWAN mode via AT+NWM=1. The region is correct via AT+BAND, and the EUIs and keys are correct.

AT+NJM

This command is used to access the network join mode.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+NJM?-AT+NJM: get or set the network join mode (0 = ABP, 1 = OTAA)OK
ReadAT+NJM=?-AT+NJM=(0 or 1)OK
WriteAT+NJM=<Input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+NJM?
AT+NJM: get or set the network join mode (0 = ABP, 1 = OTAA)
OK

AT+NJM=?
0
OK

AT+NJM=1
OK

AT+NJM=2
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the default value is 1.

AT+NJS

This command is used to access the current activation status of the device. It shows if the device joined or not in a LoRaWAN network.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+NJS?-AT+NJS: get the join status (0 = not joined, 1 = joined)OK
ReadAT+NJS=?-AT+NJS=(0 or 1)OK
WriteAT+NJS=<input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+NJS?
AT+NJS: get the join status (0 = not joined, 1 = joined)
OK

AT+NJS=?
AT+NJS=1
OK
NOTE

The command will return 1 if the device has successfully joined the network and 0 if the device hasn't joined the network yet.

AT+RECV

This command is used to access the last received data in hex format.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+RECV?-AT+RECV: print the last received data in hex formatOK
ReadAT+RECV=?-AT+RECV=<port>:<payload>OK

Where:

  • <port>: 1 decimal integer and the range of values is 1~233.
  • <payload>: 2500 digit length, must be an even number of digits and character 0-9, a-f, A-F only, representing 1256 hexadecimal numbers.

Example:

AT+RECV?
AT+RECV: print the last received data in hex format
OK

AT+RECV=?
AT+RECV=45:112233
OK

  • This command returns the last received data in a form, along with the port on which it was received. The format of the output is as follows:
<port>:<payload><CR><LF>
<CR><LF>OK<CR><LF>

  • When called twice, without new data received between the calls, the second AT+RECV=? returns an empty value as shown below:
0:
OK

AT+SEND

This command provides a way to send data on a dedicated port number.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+SEND?-AT+SEND: send data along with the application portOK
ReadAT+SEND=?--AT_PARAM_ERROR
WriteAT+SEND=<input><port>:<payload>-OK
AT_PARAM_ERROR
AT_BUSY_ERROR
AT_NO_NETWORK_JOINED

Where:

  • <port>: 1 decimal integer and the range of values is 1~233.
  • <payload>: 2500-digit length, must be an even number of digits and character 0-9, a-f, A-F only, representing 1256 hexadecimal numbers.

Example:

AT+SEND=12:112233
OK
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • AT_BUSY_ERROR is returned when the previous send is not complete (send waiting for duty cycle, rx window not consumed).
  • AT_NO_NETWORK_JOINED is returned when the network is not yet joined.

AT+RETY

This command sets the number of retransmissions of confirmed packet data.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+RETY?-AT+RETY: set the number of retransmissions of Confirm packet dataOK
ReadAT+RETY=?-AT+RETY=(0,1,2,3,4,5,6 or 7)OK
WriteAT+RETY=<input>0, 1, 2, 3, 4, 5, 6 or 7-OK
AT_PARAM_ERROR

Example:

AT+RETY?
AT+RETY: set the number of retransmissions of Confirm packet data
OK

AT+RETY=?
AT+RETY=3
OK

AT+RETY=2
OK

AT+RETY=8
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the default value is 0, and the retry cycle range of values is 0~7.

AT+ADR

This command is used to access the adaptive data rate.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+ADR?-AT+ADR: get or set the adaptive data rate setting (0 = off, 1 = on)OK
ReadAT+ADR=?-AT+ADR=(0 or 1)OK
WriteAT+ADR=<input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+ADR?
AT+ADR: get or set the adaptive data rate setting (0 = off, 1 = on)
OK

AT+ADR=?
AT+ADR=1
OK

AT+ADR=1
OK

AT+ADR=2
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the default value is 1.

AT+DCS

Duty cycle settings

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+DCS?-AT+DCS: get or set the ETSI duty cycle setting (0 = disabled, 1 = enabled)OK
ReadAT+DCS=?-AT+DCS=(0 or 1)OK
WriteAT+DCS=<input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+DCS?
AT+DCS: get or set the ETSI duty cycle setting (0 = disabled, 1 = enabled)
OK

AT+DCS=?
AT+DCS=1
OK

AT+DCS=1
OK

AT+DCS=2
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the EU868 default value is 1.
  • It depends on the region to disable or enable, and it can only be read.

AT+DR

This command is used to access and configure data rate settings.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+DR?-AT+DR: get or set the data rateOK
ReadAT+DR=?-AT+DR=(0, 1, 2, 3, 4, 5, 6, 7)OK
WriteAT+DR=<input>0, 1, 2, 3, 4, 5, 6, 7-OK
AT_PARAM_ERROR

Example:

AT+DR?
AT+DR: get or set the data rate
OK

AT+DR=?
AT+DR=3
OK

AT+DR=2
OK
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the EU868 default value is 0. EU433 / RU864 / IN865 / EU868 / CN470 / KR920 and the data rate range of values is 0-5 (DR0-DR5). AS923 and the data rate range of values is 2-5 (DR2-DR5). US915 and the data rate range of values is 0-4 (DR0-DR4). AU915 and the data rate range of values is 0-6 (DR0-DR6).
  • Complete information about DR parameter on each region can be found on RUI3 Appendix - LoRaWAN Regional Parameter (Data Rate).

AT+JN1DL

This command is used to configure the join delay on RX window 1. The range of acceptable values is 1 to 14 seconds.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+JN1DL?-AT+JN1DL: get or set the join accept delay between the end of TX and the join RX window 1 in secondOK
ReadAT+JN1DL=?-AT+JN1DL=seconds (1-14)OK
AT_BUSY_ERROR
WriteAT+JN1DL=<input>seconds (1-14)-OK
AT_PARAM_ERROR<br />AT_BUSY_ERROR

Example:

AT+JN1DL?
AT+JN1DL: get or set the join accept delay between the end of TX and the join RX window 1 in second
OK

AT+JN1DL=?
AT+JN1DL=5
OK

AT+JN1DL=10
OK
NOTE
  • AT_PARAM_ERROR is returned when a join or a send is being processed.
  • AT_BUSY_ERROR is returned when setting wrong or malformed value.
  • In this case, the default value is 5. <Input>: 1-decimal integer and the range of values is 1~14.

AT+JN2DL

This command is used to configure the join delay on RX window 2. The range of acceptable values is 2 to 15 seconds.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+JN2DL?-AT+JN2DL: get the join accept delay between the end of TX and the join RX window 2 in secondOK
ReadAT+JN2DL=?-AT+JN2DL=seconds (2-15)OK
AT_BUSY_ERROR
WriteAT+JN2DL=<input>seconds (2-15)-OK
AT_PARAM_ERROR
AT_BUSY_ERROR

Example:

AT+JN2DL?
AT+JN2DL: get the join accept delay between the end of TX and the join RX window 2 in second
OK

AT+JN2DL=?
AT+JN2DL=6
OK

AT+JN2DL=6
OK
NOTE
  • AT+JN2DL must be larger than AT+JN1DL or it will not work. AT_PARAM_ERROR is returned when wrong setting is applied.
  • Also, AT_PARAM_ERROR is returned when a join or a send is being processed.
  • AT_BUSY_ERROR is returned when setting wrong or malformed value.

AT+PNM

This command is used to access the public network mode.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+PNM?-AT+PNM: get or set the public network mode (0 = off, 1 = on)OK
ReadAT+PNM=?-AT+PNM=(0 or 1)OK
WriteAT+PNM=<input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+PNM?
AT+PNM: get or set the public network mode (0 = off, 1 = on)
OK

AT+PNM=?
AT+PNM=0
OK

AT+PNM=1
OK

AT+PNM=2
AT_PARAM_ERROR
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the default value is 1.

AT+RX1DL

This command is used to access the delay of the received window 1. The range of acceptable values is 1 to 15 seconds. Whenever AT+RX1DL is updated, AT+RX2DL is also updated automatically.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+RX1DL?-AT+RX1DL: get or set the delay between the end of TX and the RX window 1 in second (1-15)OK
ReadAT+RX1DL=?-AT+RX1DL=seconds (1-15)OK
WriteAT+RX1DL=<input>seconds (1-15)-OK
AT_PARAM_ERROR
AT_BUSY_ERROR

Example:

AT+RX1DL?
AT+RX1DL: get or set the delay between the end of TX and the RX window 1 in second (1-15)
OK

AT+RX1DL=?
AT+RX1DL=1
OK

AT+RX1DL=10
OK
NOTE
  • AT_PARAM_ERROR is returned when a join or a send is being processed.
  • AT_BUSY_ERROR is returned when setting wrong or malformed value.
  • In this case, the default value is 1. <Input>: 1-decimal integer and the range of values is 1~15.

AT+RX2DL

This command is used to access the delay of the received window 2. The range of acceptable values is 2 to 16 seconds. Whenever AT+RX2DL is updated, AT+RX1DL is also updated automatically.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+RX2DL?-AT+RX2DL: get the delay between the end of TX and the RX window 2 in second (2-16)OK
ReadAT+RX2DL=?-AT+RX2DL=seconds (2-16)OK
AT_BUSY_ERROR
WriteAT+RX2DL=<input>seconds (2-16)-OK

Example:

AT+RX2DL?
AT+RX2DL: get the delay between the end of TX and the RX window 2 in second (2-16)
OK

AT+RX2DL=?
AT+RX2DL=2
OK
NOTE

AT_BUSY_ERROR is returned when setting the wrong or malformed value.

AT+RX2DR

This command is used to access the data rate of received window 2.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+RX2DR?-AT+RX2DR: get or set the RX2 window data rateOK
ReadAT+RX2DR=?-AT+RX2DR=(0, 1, 2, 3, 4, 5, 6, 7) or (8, 9, 10, 11, 12, 13)OK
AT_BUSY_ERROR
WriteAT+RX2DR=<input>0, 1, 2, 3, 4, 5, 6, 7 or 8, 9, 10, 11, 12, 13-OK
AT_PARAM_ERROR
AT_BUSY_ERROR

Example:

AT+RX2DR?
AT+RX2DR: get or set the RX2 window data rate
OK

AT+RX2DR=?
AT+RX2DR=6
OK

AT+RX2DR=5
OK
NOTE
  • AT_PARAM_ERROR is returned when a join or a send is being processed.
  • AT_BUSY_ERROR is returned when setting wrong or malformed value.
  • In this case, the EU868 default value is 0 and the US915 default value is 8. EU433 / RU864 / IN865 / EU868 / CN470 / KR920 and the data rate range of values is 0-5 (DR0-DR5). AS923 and the data rate range of values is 2-5 (DR2-DR5). US915 / AU915 and the data rate range of values is 8-13 (DR8-DR13).

AT+RX2FQ

This command is used to access the frequency of the received window 2.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+RX2FQ?-AT+RX2FQ: get the Rx2 window frequency (Hz)OK
ReadAT+RX2FQ=?-AT+RX2FQ=Frequency in HzOK
AT_BUSY_ERROR

Example:

AT+RX2FQ?
AT+RX2FQ: get the Rx2 window frequency (Hz)
OK

AT+RX2FQ=?
AT+RX2FQ=869535000
OK
NOTE
  • AT_BUSY_ERROR is returned when setting wrong or malformed value.
  • In this case, the EU868 default value is 869525000. It depends on the region frequency, and it can only be read.

AT+TXP

This command is used to access the transmit power.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+TXP?-AT+TXP: get or set the transmitting powerOK
ReadAT+TXP=?-AT+TXP=<value>OK
AT_PARAM_ERROR
WriteAT+TXP=<input><value>-OK
AT_PARAM_ERROR

Example:

AT+TXP?
AT+TXP: get or set the transmitting power
OK

AT+TXP=?
AT+TXP=1
OK

AT+TXP=4
OK
NOTE
  • AT_PARAM_ERROR is returned when a join or a send is being processed.
  • In this case, the TX Power default value is 0. EU868 / RU864 / KR920 / AS923 / CN470 and Transmit power range of values is 0-7. US915 / AU915 and Transmit power range of values is 0-14. EU433 and Transmit power range of values is 0-5. IN865 and Transmit power range of values is 0-10.
  • Highest power start from 0. Complete information about TXP parameter on each region can be found on RUI3 Appendix - LoRaWAN Regional Parameter (TX Power)

AT+LINKCHECK

This command is used to access and configure the device network link status.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+LINKCHECK?-AT+LINKCHECK: get or set the link check setting (0 = disabled, 1 = once, 2 = everytime)OK
ReadAT+LINKCHECK=?-AT+LINKCHECK=(0, 1 or 2)OK
WriteAT+LINKCHECK=<input>0, 1 or 2-OK
AT_PARAM_ERROR

Where:

  • 0 - Disable Link Check
  • 1 - Execute Link Check just once on the next payload uplink.
  • 2 - Module will automatically execute one-time Link Check after every payload uplink.

Example:

AT+LINKCHECK=?
AT+LINKCHECK=0
OK

AT+LINKCHECK=1
OK

AT+SEND=3:12341234
OK

+EVT:LINKCHECK:0,21,1,-60,11
NOTE

LINKCHECK is a dedicated LoRaWAN MAC command that checks the connectivity status of the end-device to the network. You will have the LINKCHECK status reply once the AT+SEND command is executed. In case of a failed uplink (regardless if confirmed or unconfirmed), the LINKCHECK reply will be +EVT:LINKCHECK:1,0,0,0,0.

Reply format: +EVT:LINKCHECK:Y0,Y1,Y2,Y3,Y4:

  • Y0 represents the result of Link Check
    • 0 – represents the Link Check execute success (+EVT:LINKCHECK:0,0,1,-107,4)
    • Non-0 – represents the Link Check execute fail (+EVT:LINKCHECK:1,0,0,0,0)
  • Y1 represents the DemodMargin
  • Y2 represents the NbGateways
  • Y3 represents the RSSI
  • Y4 represents the SNR

AT+TIMEREQ

This command is used to request the current date and time.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+TIMEREQ?-AT+TIMEREQ: request the current date and time (0=Disabled, 1=Enabled)OK
ReadAT+TIMEREQ=?-AT+TIMEREQ=(0 or 1)OK
WriteAT+TIMEREQ=<input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+TIMEREQ?
AT+TIMEREQ: request the current date and time (0=Disabled, 1=Enabled)
OK

AT+TIMEREQ=?
AT+TIMEREQ=0
OK

AT+TIMEREQ=0
OK

AT+TIMEREQ=2
AT_PARAM_ERROR
NOTE

AT_PARAM_ERROR is returned when setting wrong or malformed value.

AT+LBT

This command is used to enable or disable LoRaWAN Listen Before Talk (LBT).

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+LBT?-AT+LBT: get or set the LoRaWAN LBT (support Korea Japan) (0=Disabled; 1=Enabled)OK
ReadAT+LBT=?-AT+LBT=(0 or 1)OK
WriteAT+LBT=<input>0 or 1-OK
AT_PARAM_ERROR

Example:

AT+LBT?
AT+LBT: get or set the LoRaWAN LBT (support Korea Japan) (0=Disabled; 1=Enabled)
OK

AT+LBT=?
AT+LBT=0
OK

AT+LBT=0
OK

AT+LBT=2
AT_PARAM_ERROR
NOTE

AT_PARAM_ERROR is returned when setting wrong or malformed value.

AT+LBTRSSI

This command is used to set or get LoRaWAN LBT RSSI.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+LBTRSSI?-AT+LBTRSSI: get or set the LoRaWAN LBT RSSI (support Korea Japan)OK
ReadAT+LBTRSSI=?-AT+LBTRSSI=RSSIOK
WriteAT+LBTRSSI=<input>RSSI-OK
AT_PARAM_ERROR

Example:

AT+LBTRSSI=?
AT+LBTRSSI=-80
OK
NOTE

AT_PARAM_ERROR is returned when setting the wrong or malformed value.

AT+LBTSCANTIME

This command is used to set or get LoRaWAN LBT Scantime.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+LBTSCANTIME?-AT+LBTSCANTIME: get or set the LoRaWAN LBT scantime (support Korea Japan)OK
ReadAT+LBTSCANTIME=?-AT+LBTSCANTIME=timeOK
WriteAT+LBTSCANTIME=<input>time (in msec)-OK
AT_PARAM_ERROR

Example:

AT+LBTSCANTIME=?
AT+LBTSCANTIME=5
OK
NOTE

AT_PARAM_ERROR is returned when setting the wrong or malformed value.

AT+LTIME

This command is used to access the local time in a UTC format.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+LTIME?-AT+LTIME: get the local timeOK
ReadAT+LTIME=?-LTIME:<HOUR>h<MINUTE>m<SECOND>s <YEAR>-<DAY>-<MONTH>OK

Example:

AT+LTIME?
AT+LTIME: get the local time
OK

AT+LTIME=?
LTIME: 00h37m58s 2018-11-14
OK

AT+RSSI

This command is used to access the RSSI on reception.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+RSSI?-AT+RSSI: get the RSSI of the last received packetOK
ReadAT+RSSI=?-AT+RSSI=(RSSI)OK

Example:

AT+RSSI=0
OK
NOTE
  • AT+RSSI=? provides a value in dBm, and it can only be read.
  • When the connection is successful, it gets the RSSI of the last received packet.

AT+ARSSI

This command allows you to view all open channels RSSI

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+ARSSI?-AT+ARSSI: access all open channel RSSIOK
Read AT+ARSSI=?- 0: <Channel 0 rssi><br />1: <Channel 1 rssi><br />.... 15:<Channel 15 rssi>OK

Example:

AT+ARSSI=?
0:-57,1:-57,2:-57
OK
NOTE
  • AT+ARSSI=? provides a value in dBm, and it can only be read.
  • When the connection is successful, it views all open channels RSSI of the last received packet.

AT+SNR

This command is used to access the SNR of the last received packet.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+SNR?-AT+SNR: get the SNR of the last received packetOK
ReadAT+SNR=?-AT+SNR=(SNR)OK

Example:

AT+SNR=?
AT+SNR=0
OK
NOTE

AT+SNR=? provides a value in db and it can only be read. When the connection is successful and gets the SNR of the last received packet.

AT+MASK

This command configures the channel of the device by setting the hexadecimal channel mask.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+MASK?-AT+MASK: get or set the channel mask to close or open the channel (only for US915, AU915, CN470)OK
ReadAT+MASK=?-AT+MASK=(mask)OK
WriteAT+MASK=<input>mask (4-digit length)-OK
AT_PARAM_ERROR
AT_BUSY_ERROR

Example:

AT+MASK=?
AT+MASK=0001
OK

AT+MASK=0001
OK
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • AT_BUSY_ERROR is returned when the set command process is already running.
  • In this case, the channel mask mode is only for US915, AU915, CN470. US915 / AU915 default value is 01FF and CN470 and default value is 0FFF.
  • <Input>: 4-digit length, character 0-9, a-f, A-F only, representing a 16-bit mask.

AT+CHE

This command sets the node to eight-channel mode.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+CHE?-AT+CHE: get or set eight channels mode (only for US915 AU915 CN470)OK
ReadAT+CHE=?-AT+CHE=(value)OK
WriteAT+CHE=<input>value-OK
AT_PARAM_ERROR

Example:

AT+CHE=?
AT+CHE=1:2:3:4
OK

AT+CHE=1:2:3:4
OK
NOTE
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • In this case, the eight-channel mode is only for US915, AU915, CN470. US915 / AU915 range of values is 09, and CN470 range of values is 012. For example, use AT+CHE=1:2:3:4 to enable ch0~31. <value>: maximum 12 decimal numbers and the range of values depends on region.
  • According to LoRaWAN Regional Parameters v1.0.3revA, the first 64 channels are numbered 0 to 63, starting at 902.3 MHz and increments linearly by 200 kHz to 914.9 MHz. The next eight (8) channels numbered 64 to 71 are starting at 903.0 MHz and increments linearly by 1.6 MHz to 914.2 MHz.
  • US915 Uplink Channels & Attached List
CHEUS915 Uplink Channels (125 kHz,4/5,Unit:MHz,CHS=0)
0ENABLE Channel 0-71
1902.3902.5902.7902.9903.1903.3903.5903.7Channel 0-7
2903.9904.1904.3904.5904.7904.9905.1905.3Channel 8-15
3905.5905.7905.9906.1906.3906.5906.7906.9Channel 16-23
4907.1907.3907.5907.7907.9908.1908.3908.5Channel 24-31
5908.7908.9909.1909.3909.5909.7909.9910.1Channel 32-39
6910.3910.5910.7910.9911.1911.3911.5911.7Channel 40-47
7911.9912.1912.3912.5912.7912.9913.1913.3Channel 48-55
8913.5913.7913.9914.1914.3914.5914.7914.9Channel 56-63
9903.0904.6906.2907.8909.4911.0912.6914.2Channel 64-71
NOTE

According to LoRaWAN Regional Parameters v1.0.3revA, the first 64 channels are numbered 0 to 63, starting at 902.3 MHz and increments linearly by 200 kHz to 914.9 MHz. The next eight (8) channels numbered 64 to 71 are starting at 903.0 MHz and increments linearly by 1.6 MHz to 914.2 MHz.


  • AU915 Uplink Channels & Attached List
CHEAU915 Uplink Channels (125 kHz, 4/5, Unit:MHz, CHS=0)
0ENABLE Channel 0-71
1915.2915.4915.6915.8916.0916.2916.4916.6Channel 0-7
2916.8917.0917.2917.4917.6917.8918.0918.2Channel 8-15
3918.4918.6918.8919.0919.2919.4919.6919.8Channel 16-23
4920.0920.2920.4920.6920.8921.0921.2921.4Channel 24-31
5921.6921.8922.0922.2922.4922.6922.8923.0Channel 32-39
6923.2923.4923.6923.8924.0924.2924.4924.6Channel 40-47
7924.8925.0925.2925.4925.6925.8926.0926.2Channel 48-55
8926.4926.6926.8927.0927.2927.4927.6927.8Channel 56-63
9915.9917.5919.1920.7922.3923.9925.5927.1Channel 64-71
NOTE

According to LoRaWAN Regional Parameters v1.0.3revA, the first 64 channels are numbered 0 to 63, starting at 915.2 MHz and increments linearly by 200 kHz to 927.8 MHz. The next eight (8) channels numbered 64 to 71 start at 915.9 MHz and increments linearly by 1.6 MHz to 927.1 MHz.

  • CN470 Uplink Channels & Attached List
CHECN470 Uplink Channels (125 kHz, 4/5, Unit:MHz, CHS=0)
0ENABLE Channel 0-95
1470.3470.5470.7470.9471.1471.3471.5471.7Channel 0-7
2471.9472.1472.3472.5472.7472.9473.1473.3Channel 8-15
3473.5473.7473.9474.1474.3474.5474.7474.9Channel 16-23
4475.1475.3475.5475.7475.9476.1476.3476.5Channel 24-31
5476.7476.9477.1477.3477.5477.7477.9478.1Channel 32-39
6478.3478.5478.7478.9479.1479.3479.5479.7Channel 40-47
7479.9480.1480.3480.5480.7480.9481.1481.3Channel 48-55
8481.5481.7481.9482.1482.3482.5482.7482.9Channel 56-63
9483.1483.3483.5483.7483.9484.1484.3484.5Channel 64-71
10484.7484.9485.1485.3485.5485.7485.9486.1Channel 72-79
11486.3486.5486.7486.9487.1487.3487.5487.7Channel 80-87
12487.9488.1488.3488.5488.7488.9489.1489.3Channel 88-95
NOTE

According to LoRaWAN Regional Parameters v1.0.3revA, the 96 channels are numbered 0 to 95, starting at 470.3 MHz and increment linearly by 200 kHz to 489.3 MHz.

AT+CHS

This command sets the node to single-channel mode.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+CHS?-AT+CHS: get or set single channels mode (only for US915 AU915 CN470)OK
ReadAT+CHS=?-AT+CHS=0 or frequencyOK
WriteAT+CHS=<input>frequency-OK

Example:

AT+CHS=?
AT+CHS=902300000
OK

AT+CHS=902300000
OK
NOTE

In this case, the single-channel mode is only for US915, AU915, CN470.

  • US915 frequency range is from 902300000 to 914900000 and increments linearly by 200 kHz (ch0-63).
  • US915 frequency range is from 903000000 to 914200000 and increments linearly by 1.6 MHz (ch64-71).
  • AU915 frequency range is from 915200000 to 927800000 and increments linearly by 200 kHz (ch0-63).
  • AU915 frequency range is from 915900000 to 927100000 and increments linearly by 1.6 MHz (ch64-71).
  • CN470 frequency range is from 470300000 to 489300000 and increments linearly by 200 kHz (ch0-95).
  • If you input AT+CHS=903900000, it will overwrite the AT+MASK and AT+CHE settings.
  • AT+MASK=0001(single channel mode: 903900000), the 0001 is the previous one, and the current is 90390000.
  • US915 Uplink Channels Frequency & Attached List
US915 Uplink Channels (125k Hz, 4/5, Unit: MHz, CHS=Frequency)
ENABLE Channel 0-71
Channel 0-7902300000902500000902700000902900000903100000903300000903500000903700000
Channel 8-15903900000904100000904300000904500000904700000904900000905100000905300000
Channel 16-23905500000905700000905900000906100000906300000906500000906700000906900000
Channel 24-31907100000907300000907500000907700000907900000908100000908300000908500000
Channel 32-39908700000908900000909100000909300000909500000909700000909900000910100000
Channel 40-47910300000910500000910700000910900000911100000911300000911500000911700000
Channel 48-55911900000912100000912300000912500000912700000912900000913100000913300000
Channel 56-63913500000913700000913900000914100000914300000914500000914700000914900000
Channel 64-71903000000904600000906200000907800000909400000911000000912600000914200000
NOTE

According to LoRaWAN Regional Parameters v1.0.3revA, the first 64 channels are numbered 0 to 63, starting at 902. 3 MHz and increments linearly by 200 kHz to 914.9 MHz. The next eight (8) channels numbered 64 to 71 are starting at 903.0 MHz and increment linearly by 1.6 MHz to 914.2 MHz.

  • AU915 Uplink Channels Frequency & Attached List
AU915 Uplink Channels (125 kHz, 4/5, Unit:MHz, CHS=Frequency)
ENABLE Channel 0-71
Channel 0-7915200000915400000915600000915800000916000000916200000916400000916600000
Channel 8-15916800000917000000917200000917400000917600000917800000918000000918200000
Channel 16-23918400000918600000918800000919000000919200000919400000919600000919800000
Channel 24-31920000000920200000920400000920600000920800000921000000921200000921400000
Channel 32-39921600000921800000922000000922200000922400000922600000922800000923000000
Channel 40-47923200000923400000923600000923800000924000000924200000924400000924600000
Channel 48-55924800000925000000925200000925400000925600000925800000926000000926200000
Channel 56-63926400000926600000926800000927000000927200000927400000927600000927800000
Channel 64-71915900000917500000919100000920700000922300000923900000925500000927100000
NOTE

According to LoRaWAN Regional Parameters v1.0.3revA, the first 64 channels are numbered 0 to 63, starting at 915.2 MHz and incrementing linearly by 200 kHz to 927.8 MHz. The next eight (8) channels numbered 64 to 71 start at 915.9 MHz and increment linearly by 1.6 MHz to 927.1 MHz.

  • CN470 Uplink Channels Frequency & Attached List

CN470 Uplink Channels (125 kHz, 4/5, Unit:MHz, CHS=Frequency)

ENABLE Channel 0-95
Channel 0-7470300000470500000470700000470900000471100000471300000471500000471700000
Channel 8-15471900000472100000472300000472500000472700000472900000473100000473300000
Channel 16-23473500000473700000473900000474100000474300000474500000474700000474900000
Channel 24-31475100000475300000475500000475700000475900000476100000476300000476500000
Channel 32-39476700000476900000477100000477300000477500000477700000477900000478100000
Channel 40-47478300000478500000478700000478900000479100000479300000479500000479700000
Channel 48-55479900000480100000480300000480500000480700000480900000481100000481300000
Channel 56-63481500000481700000481900000482100000482300000482500000482700000482900000
Channel 64-71483100000483300000483500000483700000483900000484100000484300000484500000
Channel 72-79484700000484900000485100000485300000485500000485700000485900000486100000
Channel 80-87486300000486500000486700000486900000487100000487300000487500000487700000
Channel 88-95487900000488100000488300000488500000488700000488900000489100000489300000
NOTE

According to LoRaWAN Regional Parameters v1.0.3revA, the 96 channels are numbered 0 to 95, starting at 470.3 MHz and increments linearly by 200 kHz to 489.3 MHz.

AT+BAND

This command sets numbers corresponding to active regions.

Command TypeCommandInput ParameterReturn ValueResponse
ReadAT+BAND?-AT+BAND: get or set the active region
(0 = EU433, 1 = CN470, 2 = RU864, 3 = IN865, 4 = EU868, 5 = US915, 6 = AU915, 7 = KR920, 8 = AS923-1, 9 = AS923-2, 10 = AS923-3, 11 = AS923-4)
OK
ReadAT+BAND=?-AT+BAND=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or 11)OK
WriteAT+BAND=<input>0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or 11-OK
AT_PARAM_ERROR
AT_BUSY_ERROR

Example:

AT+BAND=?
AT+BAND=3
OK

AT+BAND=2
OK
NOTE
  • If you are using US915, it is common to have an 8-ch Gateway/LNS setup with channels 8–15. To enable these channels, use AT+MASK=0002.
  • AT_PARAM_ERROR is returned when setting wrong or malformed value.
  • AT_BUSY_ERROR is returned when the set command process is already running.
  • In this case, the default value is 4, and it depends on the region. 0: EU433 1: CN470 2: RU864 3: IN865 4: EU868 5: US915 6: AU915 7: KR920 8: AS923-1 9: AS923-2 <Input>: 1 decimal integer and the range of values is 0~8.
  • RUI3 LoRa/LoRaWAN devices are divided into two variants - Low Frequency and High Frequency. Examples are the RAK4630(L) and RAK4630(H) devices.
    • Low frequency variant is compatible only to 0 - 1.
    • High frequency variant is compatible only to 2 - 9.

Button-Specific AT Commands

at+button=<button>:<port>:<data>

This command is used to configure every button frame port and data.

Command TypeCommandInput ParameterReturn ValueResponse
Otherat+button=<button>:<port>:<data><button>:<port>:<data>-OK

Where:

  • button - Set the key for sending data, range 1-4.
  • port - The sending port of LoRa, with a value range of 1-223.
  • data - The data to be sent by the key, max. 10 characters.

Example: Configure button 1 to send data 1234 on frame port 1.

at+button=1:1:1234
OK

at+heartbeat=<interval>

This command is used to configure the device's heartbeat. The heartbeat is used to send a packet to the server at a defined period. This command is disabled by default.

Command TypeCommandInput ParameterReturn ValueResponse
Writeat+heartbeat=<interval>Heartbeat sending interval, value range 1-120, unit hours. 0 = disable.-OK

Example:

at+heartbeat=1
OK

at+firmwarever

This command is used to view the firmware version of RAK7201V2 .

Command TypeCommandInput ParameterReturn ValueResponse
Readat+firmwarever-The firmware version of the device-

Example:

at+firmwarever
2.0

Appendix 1: Data Rate

EU868/AS923

Data RateConfigurationIndicative Physical Bit Rate (bit/s)
0LoRa: SF12/125 kHz250
1LoRa: SF11/125 kHz440
2LoRa: SF10/125 kHz980
3LoRa: SF9/125 kHz1760
4LoRa: SF8/125 kHz3125
5LoRa: SF7/125 kHz5470
6LoRa: SF7/250 kHz11000
7FSK: 50 kbps50000
8-15RFURFU

KR920

Data RateConfigurationIndicative Physical Bit Rate (bit/s)
0LoRa: SF12/125 kHz250
1LoRa: SF11/125 kHz440
2LoRa: SF10/125 kHz980
3LoRa: SF9/125 kHz1760
4LoRa: SF8/125 kHz3125
5LoRa: SF7/125 kHz5470
6-15RFURFU

US915

Data RateConfigurationIndicative Physical Bit Rate (bit/s)
0LoRa: SF10/125 kHz980
1LoRa: SF9/125 kHz1760
2LoRa: SF8/125 kHz3125
3LoRa: SF7/125 kHz5470
4LoRa: SF8/500 kHz12500
5-7RFURFU
8LoRa: SF12/500 kHz980
9LoRa: SF11/500 kHz1760
10LoRa: SF10/500 kHz3900
11LoRa: SF9/500 kHz7000
12LoRa: SF8/500 kHz12500
13LoRa: SF7/500 kHz21900
14-15RFURFU

AU915

Data RateConfigurationIndicative Physical Bit Rate (bit/s)
0LoRa: SF12/125 kHz250
1LoRa: SF11/125 kHz440
2LoRa: SF10/125 kHz980
3LoRa: SF9/125 kHz1760
4LoRa: SF8/125 kHz3125
5LoRa: SF7/125 kHz5470
6LoRa: SF8/500 kHz12500
7RFURFU
8LoRa: SF12/500 kHz980
9LoRa: SF11/500 kHz1760
10LoRa: SF10/500 kHz3900
11LoRa: SF9/500 kHz7000
12LoRa: SF8/500 kHz12500

IN865

Data RateConfigurationIndicative Physical Bit Rate (bit/s)
0LoRa: SF12/125 kHz250
1LoRa: SF11/125 kHz440
2LoRa: SF10/125 kHz980
3LoRa: SF9/125 kHz1760
4LoRa: SF8/125 kHz3125
5LoRa: SF7/125 kHz5470
6RFURFU
7FSK: 50 kbps50000
8-15RFURFU

Appendix 2: TX Power

EU868

By default, Max EIRP is considered to be +16 dBm.

TX PowerConfiguration (EIRP)
0Max EIRP
1Max EIRP - 2 db
2Max EIRP - 4 db
3Max EIRP - 6 db
4Max EIRP - 8 db
5Max EIRP - 10 db
6Max EIRP - 12 db
7Max EIRP - 14 db
8-15RFU

US915

TX PowerConfiguration (Conducted Power)
030 dBm - 2*TXpower
128 dBm
226 dBm
3-9-
1010 dBm
11-15RFU

AU915

By default, Ma EIRP is considered to be +30 dBm.

TX PowerConfiguration (EIRP)
0Max EIRP
1-10Max EIRP - 2*TXpower
11-15RFU

KR920

By default, Max EIRP is considered to be +14 dBm.

TX PowerConfiguration (EIRP)
0Max EIRP
1Max EIRP - 2 db
2Max EIRP - 4 db
3Max EIRP - 6 db
4Max EIRP - 8 db
5Max EIRP - 10 db
6Max EIRP - 12 db
7Max EIRP - 14 db
8-15RFU

AS923

By default, Max EIRP is considered to be 16 dBm.

TX PowerConfiguration (EIRP)
0Max EIRP
1Max EIRP - 2 db
2Max EIRP - 4 db
3Max EIRP - 6 db
4Max EIRP - 8 db
5Max EIRP - 10 db
6Max EIRP - 12 db
7Max EIRP - 14 db
8-15RFU

IN865

By default, Max EIRP is considered to be 30 dBm.

TX PowerConfiguration (EIRP)
0Max EIRP
1Max EIRP - 2 db
2Max EIRP - 4 db
3Max EIRP - 6 db
4Max EIRP - 8 db
5Max EIRP - 10 db
6Max EIRP - 12 db
7Max EIRP - 14 db
8Max EIRP - 16 db
9Max EIRP - 18 db
10Max EIRP - 20 db
11-15RFU