Skip to content

Latest commit

 

History

History
1583 lines (1093 loc) · 47.9 KB

AT-Commands.md

File metadata and controls

1583 lines (1093 loc) · 47.9 KB

AT-Commands

To make it easy to setup the LoRaWAN® credentials, an AT command interface over USB is implemented. It includes the basic commands required to define the node.

Credits:
Taylor Lee (taylor.lee@rakwireless.com)

REMARK 1 After changing LoRaWAN® parameters the device must be reset by either the ATZ command or pushing the reset button.

REMARK 2 The Serial port connection is lost after the ATZ command or pushing the reset button. The connection must be re-established on the connected computer before log output can be seen or AT commands can be entered again.

REMARK 3 The Serial port is setup for 115200 baud, 8N1. It cannot be changed by AT commands.


Content


AT Command syntax

The AT command is based on ASCII characters. In general, the AT Command starts with the prefix AT and ends with <CR><LF> (i.e. \r\n). For the rest of the document, the \r\n part is omitted for the sake of clarity.

The AT commands have the standard format “AT+XXX”, with XXX denoting the command.

There are four available command formats:

AT COMMAND FORMAT Description
AT+XXX? Provides a short description of the given command
AT+XXX=? Reading the current value on the command
AT+XXX=<input parameter> Writing configuration on the command
AT+XXX Used to run a command

The output of the commands is returned via UART.

The format of the reply is divided into two parts: returned value and the status return code.

<CR> stands for “carriage return” and <LF> stands for “line feed”

  1. <value><CR><LF> is the first reply when (AT+XXX?) command description or (AT+XXX=?) reading value is executed then it will be followed by the status return code. The formats with no return value like (**AT+XXX=<input parameter>) writing configuration command and (AT+XXX) run command will just reply the status return code.

  2. <CR><LF><STATUS><CR><LF> is the second part of the reply which is the status return code.

The possible status are:

STATUS RETURN CODE Description
OK Command executed correctly without error.
+CME ERROR:1 Generic error or input is not supported.
+CME ERROR:2 Command not allowed.
+CME ERROR:5 The input parameter of the command is wrong.
+CME ERROR:6 The parameter is too long.
+CME ERROR:8 Value out of range.

More details on each command description and examples are given in the remainder of this section.


AT?

Description: Help

Returns a list of all available commands with a short description

Command Input Parameter Return Value Return Code
AT? - List of commands OK
AT?
AT?

+++++++++++++++
AT command list
+++++++++++++++
AT?         AT commands
ATR         Restore default
ATZ         Trig a MCU reset
AT+APPEUI   Get or set the application EUI
AT+APPKEY   Get or set the application key
AT+DEVEUI   Get or set the device EUI
AT+APPSKEY  Get or set the application session key
AT+NWKSKEY  Get or Set the network session key
AT+DEVADDR  Get or set the device address
AT+CFM      Get or set the confirm mode
AT+JOIN     Join network
AT+NJS      Get the join status
AT+NJM      Get or set the network join mode
AT+SENDINT  Get or Set the automatic send time
AT+ADR      Get or set the adaptive data rate setting
AT+CLASS    Get or set the device class
AT+DR       Get or Set the Tx DataRate=[0..7]
AT+TXP      Get or set the transmit power
AT+BAND     Get and Set number corresponding to active regions
AT+MASK     Get and Set channels mask
AT+BAT      Get battery level
AT+RSSI     Last RX packet RSSI
AT+SNR      Last RX packet SNR
AT+VER      Get SW version
AT+SMA      Get and Set SMA inverter IP address
AT+SMON     Get and Set current month production so far
AT+SYEAR    Get and Set current year production so far
AT+RTC      Get and Set RTC time and date
+++++++++++++++

OK

Back


ATR

This command restores all parameters to the initial default values of the module.

Command Input Parameter Return Value Return Code
ATR? - - OK
ATR - - OK

Back


ATZ

Description: MCU reset

This command is used to trigger an MCU reset.

Command Input Parameter Return Value Return Code
ATZ? - ATZ Trig a MCU reset OK
ATZ - No return. MCU resets. OK

Back


AT+APPEUI

Description: Application unique identifier

This command allows the user to access and configure the APPEUI.

Command Input Parameter Return Value Return Code
AT+APPEUI? - AT+APPEUI Get or Set the App Eui OK
AT+APPEUI=? - < 8 hex > OK
AT+APPEUI=<Input Parameter> < 8 hex > - OK or AT_PARAM_ERROR

Examples:

AT+APPEUI?

+APPEUI:Get or set the application EUI
OK

AT+APPEUI=?

+APPEUI:70b3d57ed00201e1
OK

AT+APPEUI=70b3d57ed00201e1

OK

AT+APPEUI=70b3d57ed00201eh

+CME ERROR:5

Back


AT+APPKEY

Description: Application key

This command allows the user to access and configure the APPKEY.

Command Input Parameter Return Value Return Code
AT+APPKEY? - AT+APPKEY Get or Set the Application Key OK
AT+APPKEY=? - < 16 hex > OK
AT+APPKEY=<Input Parameter> < 16 hex > - OK or AT_PARAM_ERROR

Examples:

AT+APPKEY?

+APPKEY:Get or set the application key
OK

AT+APPKEY=?

+APPKEY:2b84e0b09b68e5cb42176fe753dcee79
OK

AT+APPKEY=2b84e0b09b68e5cb42176fe753dcee79

OK

AT+APPKEY=2b84e0b09b68e5cb42176fe753dcee7x

+CME ERROR:5

Back


AT+DEVEUI

Description: Device EUI or DEVEUI

This command allows the user to access and configure the device EUI or DEVEUI.

Command Input Parameter Return Value Return Code
AT+DEVEUI? - AT+DEVEUI Get or Set the Device EUI OK
AT+DEVEUI=? - < 8 hex > OK
AT+DEVEUI=<Input Parameter> < 8 hex > - OK or AT_PARAM_ERROR

Examples:

AT+DEVEUI?

+DEVEUI:Get or set the device EUI
OK

AT+DEVEUI=?

+DEVEUI:ac1f09fffe03efdc
OK

AT+DEVEUI=ac1f09fffe03efdc

OK

AT+DEVEUI=ac1f09fffe03efdx

+CME ERROR:5

Back


AT+APPSKEY

Description: Application session key

This command allows the user to access and configure the application session key or APPSKEY.

Command Input Parameter Return Value Return Code
AT+APPSKEY? - AT+APPSKEY Get or Set the Application Session Key OK
AT+APPSKEY=? - < 16 hex > OK
AT+APPSKEY=<Input Parameter> < 16 hex > - OK or AT_PARAM_ERROR

Examples:

AT+APPSKEY?

+APPSKEY:Get or set the application session key
OK

AT+APPSKEY=?

+APPSKEY:3f6a66459d5edca63cbc4619cd61a11e
OK

AT+APPSKEY=3f6a66459d5edca63cbc4619cd61a11e

OK

AT+APPSKEY=3f6a66459d5edca63cbc4619cd61a11x

+CME ERROR:5

Back


AT+NWKSKEY

Description: Network session keys

This command allows the user to access and configure the network session keys or NWKSKEY.

Command Input Parameter Return Value Return Code
AT+NWKSKEY? - AT+NWKSKEY Get or Set the Network Session Key OK
AT+NWKSKEY=? - < 16 hex > OK
AT+NWKSKEY=<Input Parameter> < 16 hex > - OK or AT_PARAM_ERROR

Examples:

AT+NWKSKEY?

+NWKSKEY:Get or Set the network session key
OK

AT+NWKSKEY=?

+NWKSKEY:323d155a000df335307a16da0c9df53f
OK

AT+NWKSKEY=323d155a000df335307a16da0c9df53f

OK

AT+NWKSKEY=323d155a000df335307a16da0c9df53f0

+CME ERROR:5

Back


AT+DEVADDR

Description: Device address or DEVADDR

This command allows the user to access and configure the device address or DEVADDR.

Command Input Parameter Return Value Return Code
AT+DEVADDR? - AT+DEVADDR Get or Set the Device address OK
AT+DEVADDR=? - < 4 hex > OK
AT+DEVADDR=<Input Parameter> < 4 hex > - OK or AT_PARAM_ERROR

Examples:

AT+DEVADDR?

+DEVADDR:Get or set the device address
OK

AT+DEVADDR=?

+DEVADDR:26021FB0

OK

AT+DEVADDR=26021FB0

OK

AT+DEVADDR=26021FBX

+CME ERROR:5

Back


AT+CFM

Description: Confirmed payload mode

This command allows the user to access and configure type of payload of the device.

Command Input Parameter Return Value Return Code
AT+CFM? - AT+CFM: get or set the confirm mode OK
AT+CFM=? - 0 (if Unconfirmed) or 1 (if confirmed) OK
AT+CFM=<Input Parameter> 0 or 1 - OK or AT_PARAM_ERROR

Examples:

AT+CFM?

+CFM:Get or set the confirm mode
OK

AT+CFM=?

+CFM:0
OK

AT+CFM=0

OK

AT+CFM=3

+CME ERROR:5

Back


AT+JOIN

Description: Join LoRaWAN® network

This command allows the user to join a LoRaWAN® network.

Command Input Parameter Return Value Return Code
AT+JOIN? - AT+JOIN: join network OK
AT+JOIN=? - Param1, Param2, Param3, Param4 OK or AT_BUSY_ERROR
AT+JOIN=<Input Parameter> Param1:Param2:Param3:Param4 - OK
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. (0 is default)
Param3 = Reattempt interval: 7 - 255 seconds (30 is default)
Param4 = No. of join attempts: 0 - 255 (0 is default)

This is an asynchronous command. OK means that the device is joining. The completion of the JOIN can be verified with AT+NJS=? command.

Param3 is not supported yet and is fixed to 30s always

Examples:

AT+JOIN?

+JOIN:Join network
OK

AT+JOIN=?

+JOIN:0,1,8,10
OK

AT+JOIN=1,1,8,10

OK

AT+JOIN=3,1,8,10

+CME ERROR:5

Back


AT+NJS

Description: Network join status

This command allows the user to check the status of the devices if it is connected to a LoRaWAN® network.

Command Input Parameter Return Value Return Code
AT+NJS? - AT+NJS: get the join status OK
AT+NJS=? - 0 (not joined) or 1 (joined) OK

Examples:

AT+NJS?

+NJS:Get the join status
OK

AT+NJS=?

+NJS:1
OK

Back


AT+NJM

Description: LoRaWAN® network join mode

This command allows the user to access and configure the activation method of the device either OTAA or ABP. A value of 0 means OTAA join mode, a value of 1 means ABP join mode

Command Input Parameter Return Value Return Code
AT+NJM? - AT+NJM Get or set the network join mode OK
AT+NJM=? - 0 or 1 OK
AT+NJM=<Input Parameter> 0 or 1 - OK or AT_PARAM_ERROR

Examples:

AT+NJM?

+NJM:Get or set the network join mode
OK

AT+NJM=?

+NJM:0
OK

AT+NJM=0

OK

AT+NJM=2

+CME ERROR:5

Back


AT+SENDINT

Description: Set the automatic transmission period

This command allows to set the period in seconds between automatic packet transmissions. If set to 0, automatic packet transmission is disabled.

Command Input Parameter Return Value Return Code
AT+SENDINT? - AT+SENDINT: Get or Set the automatic send time OK
AT+SENDINT=? - <period in seconds> OK
AT+SENDINT=<Input Parameter> <period in seconds> - OK or AT_PARAM_ERROR

Examples:

AT+SENDINT?

+SENDINT:Get or Set the automatic send time
OK

AT+SENDINT=?

+SENDINT:60
OK

AT+SENDINT=60

OK

Back


AT+ADR

Description: Adaptive data rate

This command allows the user to access and configure the adaptive data rate of the module.

Command Input Parameter Return Value Return Code
AT+ADR? - AT+ADR=<ADR><CR>. Get or Set the Adaptive Data Rate setting OK
AT+ADR=? - 0 (ADR off) or 1 (ARD on) OK
AT+ADR=<Input Parameter> 0 or 1 - OK or AT_PARAM_ERROR

Examples:

AT+ADR?

+ADR:Get or set the adaptive data rate setting
OK

AT+ADR=?

+ADR:0
OK

AT+ADR=0

OK

AT+ADR=3

+CME ERROR:5

Back


AT+CLASS

Description: LoRaWAN® class

This command allows the user to access and configure the the LoRaWAN® class of the module.

Command Input Parameter Return Value Return Code
AT+CLASS? - AT+CLASS=<Class><CR>. Get or Set the Device Class=[A, B, C] OK
AT+CLASS=? - A or C (B not supported) OK
AT+CLASS=<Input Parameter> A or C - OK or AT_PARAM_ERROR

This FW of the device supports the LoRaWAN® V1.0.2 stack

Examples:

AT+CLASS?

+CLASS:Get or set the device class
OK

AT+CLASS=?

+CLASS:A
OK

AT+CLASS=A

OK

AT+CLASS=F

+CME ERROR:5

Back


AT+DR

Description: Data rate settings

This command allows the user to access and configure data rate settings.

Command Input Parameter Return Value Return Code
AT+DR? - AT+DR=<DataRate><CR>. Get or Set the Tx DataRate OK
AT+DR=? - 0,1,2,3,4,5,6,7 OK
AT+DR=<Input Parameter> 0,1,2,3,4,5,6,7 - OK or AT_PARAM_ERROR

Check Appendix I for the input parameter depending on the frequency band selected.

Examples:

AT+DR?

+DR:Get or Set the Tx DataRate=[0..7]
OK

AT+DR=?

+DR:3
OK

AT+DR=3

OK

Back


AT+TXP

Description: Transmit Power

This command allows the user to access and configure the transmit power.

Command Input Parameter Return Value Return Code
AT+TXP? - AT+TXP: Get or set the transmit power OK
AT+TXP=? - < value > OK or AT+PARAM_ERROR
AT+TXP=<Input Parameter> < value > - OK or AT_PARAM_ERROR

Check Appendix II for the input parameter depending on the frequency band selected.

For example, at EU868, a value of 2 represents MaxEIRP - 4 dB where MaxEIRP = +16 dBm.

Examples:

AT+TXP?

+TXP:Get or set the transmit power
OK

AT+TXP=?

+TXP:0
OK

AT+TXP=0

OK

Back


AT+BAND

Description: Regional frequency band

This command allows the user to access and configure the regional frequency band.

Command Input Parameter Return Value Return Code
AT+BAND? - AT+BAND: Get and Set number corresponding to active regions OK
AT+BAND=? - 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 8 OK
AT+BAND=<Input Parameter> < 0 to 12 > - OK or AT_PARAM_ERROR

List of Band Parameter Options

Code Regional Band Code Regional Band
0 AS923-1 7 IN865
1 AU915 8 US915
2 CN470 9 AS923-2
3 CN779 10 AS923-3
4 EU433 11 AS923-4
5 EU868 12 RU864
6 KR920

Examples:

AT+BAND?

+BAND:Get and Set number corresponding to active regions
OK

AT+BAND=?

+BAND:10
OK

AT+BAND=10

OK

AT+BAND=22

+CME ERROR:8

Back


AT+MASK

Description: Regional channel mask

This command allows the user to access and configure the regional channel mask. Channel mask can only be set for following regions: AU915, CN470 and US915

Command Input Parameter Return Value Return Code
AT+MASK? - AT+MASK: Get and Set channels mask OK
AT+MASK=? - 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 8 OK
AT+MASK=<Input Parameter> < 0 to 12 > - OK or AT_PARAM_ERROR

List of channel masks

Regional Band Available Channels
AU915 1 - 9
CN470 1 - 12
US915 1 - 9

Examples:

AT+MASK?

+MASK:Get and Set channels mask
OK

AT+MASK=?

+MASK:10
OK

AT+MASK=10

OK

AT+MASK=13

+CME ERROR:8

Back


AT+BAT

Description: Read the battery voltage

This command allows to read the battery voltage of the device

Command Input Parameter Return Value Return Code
AT+BAT? - AT+BAT: Get battery level OK
AT+BAT=? - < value > OK or AT+PARAM_ERROR

The battery level is returned as a value between 0 and 255

Examples:

AT+BAT?

+BAT:Get battery level
OK

AT+BAT=?

+BAT:254
OK

Back


AT+RSSI

Description: Receive signal strength indicator

This command allows the user to get RSSI value of the last packet received.

Command Input Parameter Return Value Return Code
AT+RSSI? - AT+RSSI: Get the RSSI of the last received packet OK
AT+RSSI=? - < integer > in dBm OK

Examples:

AT+RSSI?

+RSSI:Last RX packet RSSI
OK

AT+RSSI=?

+RSSI:-41
OK

Back


AT+SNR

Description: Signal to Noise Ratio

This command allows the user to get SNR value of the last packet received.

Command Input Parameter Return Value Return Code
AT+SNR? - AT+SNR: Get the SNR of the last received packet OK
AT+SNR=? - < integer > OK

Examples:

AT+SNR?

+SNR:Last RX packet SNR
OK

AT+SNR=?

+SNR:11
OK

Back


AT+VER

Description: Version of the firmware

This command allows the user to get firmware version installed on the device.

Command Input Parameter Return Value Return Code
AT+VER? - AT+VER: Get the version of the firmware OK
AT+VER=? - < V.x.y > OK

Examples:

AT+VER?

+VER:Get SW version
OK

AT+VER=?

+VER:1.0.0.0 May 27 2021 17:11:12
OK

Back


AT+SMA

Description: Set/Get the inverter IP address

This command allows the user to check the IP address of the Sunny Inverter and to change the IP address.

Command Input Parameter Return Value Return Code
AT+SMA? - AT+SMA: Get and Set SMA inverter IP address OK
AT+SMA=? - www:xxx:yyy:zzz OK
AT+SMA=<Input Parameter> <Valid IP address> OK or AT_PARAM_ERROR

Examples:

AT+SMA?

+SMA:Get and Set SMA inverter IP address
OK

AT+SMA=?

+SMA:192:168:1:127
OK

AT+SMA=192:168:1:127
192:168:1:127

OK

Back


AT+SMON

Description: Set/Get the monthly production

This command allows the user to check the current monthly production of the Sunny Inverter or to set a specific value.
The values are in Wh

Command Input Parameter Return Value Return Code
AT+SMON? - AT+SMON: Get/set current month production so far OK
AT+SMON=? - nnnnnnnn OK
AT+SMON=<Input Parameter> <Valid Wh value> OK or AT_PARAM_ERROR

Examples:

AT+SMON?

+SMON:Get/set current month production so far
OK

AT+SMON=?

+SMA=60410
OK

AT+SMA=62300
62300

OK

Back


AT+SYEAR

Description: Set/Get the yearly production

This command allows the user to check the current yearly production of the Sunny Inverter or to set a specific value.
The values are in Wh

Command Input Parameter Return Value Return Code
AT+SYEAR? - AT+SYEAR: Get and Set SMA inverter IP address OK
AT+SYEAR=? - nnnnnnnn OK
AT+SYEAR=<Input Parameter> <Valid Wh value> OK or AT_PARAM_ERROR

Examples:

AT+SYEAR?

+SYEAR:Get/set current yearly production so far
OK

AT+SYEAR=?

+SYEAR=360410
OK

AT+SYEAR=462300
462300

OK

Back


AT+RTC

Description: Set/Get the RTC time and data

This command allows the user to check the RTC date and time and set it.

Command Input Parameter Return Value Return Code
ATC+RTC? - ATC+RTC:"Get/Set RTC time and date" OK
ATC+RTC=? - <date & time> OK
ATC+RTC=<Input Parameter> <date & time> - OK or AT_PARAM_ERROR

Examples:

ATC+RTC?

ATC+RTC:"Get/Set RTC time and date"

OK

ATC+RTC=?

2023.07.02 20:44:45

OK

ATC+RTC=2023:7:2:20:49

OK

Back


Appendix

Appendix I Data Rate by Region

EU433/EU868/RU864/AS923

Data Rate Configuration Indicative Physical Bit Rate [bit/s]
0 LoRa: SF12 / 125 kHz 250
1 LoRa: SF11 / 125 kHz 440
2 LoRa: SF10 / 125 kHz 980
3 LoRa: SF9 / 125 kHz 1760
4 LoRa: SF8 / 125 kHz 3125
5 LoRa: SF7 / 125 kHz 5470
6 LoRa: SF7 / 250 kHz 11000
7 FSK: 50 kbps 50000
8 ~ 15 RFU

CN470/KR920

Data Rate Configuration Indicative Physical Bit Rate [bit/s]
0 LoRa: SF12 / 125 kHz 250
1 LoRa: SF11 / 125 kHz 440
2 LoRa: SF10 / 125 kHz 980
3 LoRa: SF9 / 125 kHz 1760
4 LoRa: SF8 / 125 kHz 3125
5 LoRa: SF7 / 125 kHz 5470
6 ~ 15 RFU

US915

Data Rate Configuration Indicative Physical Bit Rate [bit/s]
0 LoRa: SF10 / 125 kHz 980
1 LoRa: SF9 / 125 kHz 1760
2 LoRa: SF8 / 125 kHz 3125
3 LoRa: SF7 / 125 kHz 5470
4 LoRa: SF8 / 500 kHz 12500
5 ~ 7 RFU
8 LoRa: SF12 / 500 kHz 980
9 LoRa: SF11 / 500 kHz 1760
10 LoRa: SF10 / 500 kHz 3900
11 LoRa: SF9 / 500 kHz 7000
12 LoRa: SF8 / 500 kHz 12500
13 LoRa: SF7 / 500 kHz 21900
14 ~ 15 RFU

AU915

Data Rate Configuration Indicative Physical Bit Rate [bit/s]
0 LoRa: SF12 / 125 kHz 250
1 LoRa: SF11 / 125 kHz 440
2 LoRa: SF10 / 125 kHz 980
3 LoRa: SF9 / 125 kHz 1760
4 LoRa: SF8 / 125 kHz 3125
5 LoRa: SF7 / 125 kHz 5470
6 LoRa: SF8 / 500 kHz 12500
7 RFU RFU
8 LoRa: SF12 / 500 kHz 980
9 LoRa: SF11 / 500 kHz 1760
10 LoRa: SF10 / 500 kHz 3900
11 LoRa: SF9 / 500 kHz 7000
12 LoRa: SF8 / 500 kHz 12500

IN865

Data Rate Configuration Indicative Physical Bit Rate [bit/s]
0 LoRa: SF12 / 125 kHz 250
1 LoRa: SF11 / 125 kHz 440
2 LoRa: SF10 / 125 kHz 980
3 LoRa: SF9 / 125 kHz 1760
4 LoRa: SF8 / 125 kHz 3125
5 LoRa: SF7 / 125 kHz 5470
6 RFU RFU
7 FSK: 50 kbps 50000
8 ~ 15 RFU RFU

Back


Appendix II TX Power by Region

EU868

By default, MaxEIRP is considered to be +16 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 MaxEIRP - 2 dB
2 MaxEIRP - 4 dB
3 MaxEIRP - 6 dB
4 MaxEIRP - 8 dB
5 MaxEIRP - 10 dB
6 MaxEIRP - 12 dB
7 MaxEIRP - 14 dB
8 ~ 15 RFU

US915

TXPower Configuration (Conducted Power)
0 30 dBm - 2*TXpower
1 28 dBm
2 26 dBm
3 ~ 9 -
10 10 dBm
11 ~ 15 RFU

AU915

By default, MaxEIRP is considered to be +30 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 ~ 10 MaxEIRP - 2*TXPower
11 ~ 10 RFU

KR920

By default, MaxEIRP is considered to be +14 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 MaxEIRP - 2 dB
2 MaxEIRP - 4 dB
3 MaxEIRP - 6 dB
4 MaxEIRP - 8 dB
5 MaxEIRP - 10 dB
6 MaxEIRP - 12 dB
7 MaxEIRP - 14 dB
8 ~ 15 RFU

AS923

By default, Max EIRP isconsidered to be 16 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 MaxEIRP - 2 dB
2 MaxEIRP - 4 dB
3 MaxEIRP - 6 dB
4 MaxEIRP - 8 dB
5 MaxEIRP - 10 dB
6 MaxEIRP - 12 dB
7 MaxEIRP - 14 dB
8 ~ 15 RFU

IN865

By default, MaxEIRP is considered to be 30 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 MaxEIRP - 2 dB
2 MaxEIRP - 4 dB
3 MaxEIRP - 6 dB
4 MaxEIRP - 8 dB
5 MaxEIRP - 10 dB
6 MaxEIRP - 12 dB
7 MaxEIRP - 14 dB
8 MaxEIRP - 16 dB
9 MaxEIRP - 18 dB
10 MaxEIRP - 20 dB
11 ~ 15 RFU

RU864

By default, MaxEIRP is considered to be +16 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 MaxEIRP - 2 dB
2 MaxEIRP - 4 dB
3 MaxEIRP - 6 dB
4 MaxEIRP - 8 dB
5 MaxEIRP - 10 dB
6 MaxEIRP - 12 dB
7 MaxEIRP - 14 dB
8 ~ 15 RFU

CN470

By default, MaxEIRP is considered to be +19.15 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 MaxEIRP 2 dB
2 MaxEIRP 4 dB
3 MaxEIRP 6 dB
4 MaxEIRP 8 dB
5 MaxEIRP - 10 dB
6 MaxEIRP - 12 dB
7 MaxEIRP - 14 dB
8 ~ 15 RFU

EU433

By default, MAxEIRP is considered to be +12.15 dBm.

TXPower Configuration (EIRP)
0 MaxEIRP
1 MaxEIRP - 2 dB
2 MaxEIRP - 4 dB
3 MaxEIRP - 6 dB
4 MaxEIRP - 8 dB
5 MaxEIRP - 10 dB
6 ~ 15 RFU

Back


Appendix III Maximum Transmission Load by Region

M in the following list is the length with MAC header, N is the maximum usable payload size for the user data without MAC header.

EU868

Data Rate M N
0 59 51
1 59 51
2 59 51
3 123 115
4 250 242
5 250 242
6 250 242
7 250 242
8 ~ 15 Not Defined Not Defined

US915

Data Rate M N
0 19 11
1 61 53
2 133 125
3 250 242
4 250 242
5 ~ 7 Not Defined Not Defined
8 61 53
9 137 129
10 250 242
11 250 242
12 250 242
13 250 242
14 ~ 15 Not Defined Not Defined

AU915

Data Rate M N
0 59 51
1 59 51
2 59 51
3 123 115
4 250 242
5 250 242
6 250 242
7 Not Defined Not Defined
8 61 53
9 137 129
10 250 242
11 250 242
12 250 242
13 250 242
14 ~ 15 Not Defined Not Defined

KR920

Data Rate M N
0 59 51
1 59 51
2 59 51
3 123 115
4 250 242
5 250 242
6 ~ 15 Not Defined Not Defined

AS923

Data Rate Uplink MAC Payload Size (M) Downlink MAC Payload Size (M)
UplinkDwellTime = 0 UplinkDwellTime = 1 DownlinkDwellTime = 0 DownlinkDwellTime = 1
0 59 N/A 59 N/A
1 59 N/A 59 N/A
2 59 19 59 19
3 123 61 123 61
4 250 133 250 133
5 250 250 250 250
6 250 250 250 250
7 250 250 250 250
8 RFU RFU

IN865

Data Rate M N
0 59 51
1 59 51
2 59 51
3 123 115
4 250 242
5 250 242
6 250 242
7 250 242
8 ~ 15 Not Defined Not Defined

RU864

Data Rate M N
0 59 51
1 59 51
2 59 51
3 123 115
4 230 222
5 230 222
6 230 222
7 230 222
8 ~ 15 Not Defined Not Defined

CN470

Data Rate M N
0 59 51
1 59 51
2 59 51
3 123 115
4 250 242
5 250 242
6 ~ 15 Not Defined Not Defined

EU433

Data Rate M N
0 59 51
1 59 51
2 59 51
3 123 115
4 250 242
5 250 242
6 250 242
7 250 242
8 ~ 15 Not Defined Not Defined

Back


LoRa® is a registered trademark or service mark of Semtech Corporation or its affiliates.
LoRaWAN® is a licensed mark.