lr2 2.1.0.0
LR 2 Device Settings

Settings for registers of LR 2 Click driver. More...

Macros

#define LR2_CMD_SYS_GET_VER   "sys get ver"
 LR 2 Click Commands.
 
#define LR2_CMD_MAC_PAUSE   "mac pause"
 
#define LR2_CMD_RADIO_SET_WDT   "radio set wdt 0"
 
#define LR2_ARG_0   "0"
 
#define LR2_JM_OTAA   "otaa"
 LR 2 Join mode.
 
#define LR2_JM_ABP   "abp"
 
#define LR2_PL_CNF   "cnf "
 LR 2 Payload.
 
#define LR2_PL_UNCNF   "uncnf "
 
#define LR2_INVALID_PARAM   1
 LR 2 Errors.
 
#define LR2_NOT_JOINED   2
 
#define LR2_NO_FREE_CH   3
 
#define LR2_SILENT   4
 
#define LR2_ERR_REJOIN_NEEDED   5
 
#define LR2_BUSY   6
 
#define LR2_MAC_PAUSED   7
 
#define LR2_INVALID_PAR_DATA_LEN   8
 
#define LR2_KEYS_NOT_INIT   9
 
#define LR2_MAC_ERR   10
 
#define LR2_MAC_RX   12
 
#define LR2_INVALID_REPAR_DATA_LEN   13
 
#define LR2_RADIO_ERR   14
 
#define LR2_DENIED   18
 
#define LR2_MAX_DATA_SIZE   256
 LR 2 Command String Max Size.
 
#define LR2_MAX_TRANSFER_SIZE   384
 
#define LR2_MAX_CMD_SIZE   64
 
#define LR2_MAX_RSP_SIZE   20
 LR 2 Response String Max Size.
 
#define LR2_RESP_COUNT   100
 LR 2 Number of Response Indexes.
 
#define LR2_TIMER_EXPIRED   50000
 LR 2 Timer Limit.
 
#define LR2_MAC_TX   "mac tx "
 LR 2 Variables.
 
#define LR2_JOIN   "mac join "
 
#define LR2_RADIO_TX   "radio tx "
 
#define LR2_RADIO_RX   "radio rx "
 
#define LR2_DRV_RX_BUFFER_SIZE   300
 LR 2 driver buffer size.
 
#define LR2_DRV_TX_BUFFER_SIZE   100
 

Detailed Description

Settings for registers of LR 2 Click driver.

Macro Definition Documentation

◆ LR2_ARG_0

#define LR2_ARG_0   "0"

◆ LR2_BUSY

#define LR2_BUSY   6

◆ LR2_CMD_MAC_PAUSE

#define LR2_CMD_MAC_PAUSE   "mac pause"

◆ LR2_CMD_RADIO_SET_WDT

#define LR2_CMD_RADIO_SET_WDT   "radio set wdt 0"

◆ LR2_CMD_SYS_GET_VER

#define LR2_CMD_SYS_GET_VER   "sys get ver"

LR 2 Click Commands.

Specified Commands of LR 2 Click driver.

◆ LR2_DENIED

#define LR2_DENIED   18

◆ LR2_DRV_RX_BUFFER_SIZE

#define LR2_DRV_RX_BUFFER_SIZE   300

LR 2 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ LR2_DRV_TX_BUFFER_SIZE

#define LR2_DRV_TX_BUFFER_SIZE   100

◆ LR2_ERR_REJOIN_NEEDED

#define LR2_ERR_REJOIN_NEEDED   5

◆ LR2_INVALID_PAR_DATA_LEN

#define LR2_INVALID_PAR_DATA_LEN   8

◆ LR2_INVALID_PARAM

#define LR2_INVALID_PARAM   1

LR 2 Errors.

Specified errors values of LR 2 Click driver.

◆ LR2_INVALID_REPAR_DATA_LEN

#define LR2_INVALID_REPAR_DATA_LEN   13

◆ LR2_JM_ABP

#define LR2_JM_ABP   "abp"

◆ LR2_JM_OTAA

#define LR2_JM_OTAA   "otaa"

LR 2 Join mode.

Specified Join mode settings of LR 2 Click driver.

◆ LR2_JOIN

#define LR2_JOIN   "mac join "

◆ LR2_KEYS_NOT_INIT

#define LR2_KEYS_NOT_INIT   9

◆ LR2_MAC_ERR

#define LR2_MAC_ERR   10

◆ LR2_MAC_PAUSED

#define LR2_MAC_PAUSED   7

◆ LR2_MAC_RX

#define LR2_MAC_RX   12

◆ LR2_MAC_TX

#define LR2_MAC_TX   "mac tx "

LR 2 Variables.

Specified variables of LR 2 Click driver.

◆ LR2_MAX_CMD_SIZE

#define LR2_MAX_CMD_SIZE   64

◆ LR2_MAX_DATA_SIZE

#define LR2_MAX_DATA_SIZE   256

LR 2 Command String Max Size.

Specified command string max Size of LR 2 Click driver.

◆ LR2_MAX_RSP_SIZE

#define LR2_MAX_RSP_SIZE   20

LR 2 Response String Max Size.

Maximum size of responce string of LR 2 Click driver.

◆ LR2_MAX_TRANSFER_SIZE

#define LR2_MAX_TRANSFER_SIZE   384

◆ LR2_NO_FREE_CH

#define LR2_NO_FREE_CH   3

◆ LR2_NOT_JOINED

#define LR2_NOT_JOINED   2

◆ LR2_PL_CNF

#define LR2_PL_CNF   "cnf "

LR 2 Payload.

Specified Payload of LR 2 Click driver.

◆ LR2_PL_UNCNF

#define LR2_PL_UNCNF   "uncnf "

◆ LR2_RADIO_ERR

#define LR2_RADIO_ERR   14

◆ LR2_RADIO_RX

#define LR2_RADIO_RX   "radio rx "

◆ LR2_RADIO_TX

#define LR2_RADIO_TX   "radio tx "

◆ LR2_RESP_COUNT

#define LR2_RESP_COUNT   100

LR 2 Number of Response Indexes.

Number of response indexes of LR 2 Click driver.

◆ LR2_SILENT

#define LR2_SILENT   4

◆ LR2_TIMER_EXPIRED

#define LR2_TIMER_EXPIRED   50000

LR 2 Timer Limit.

Specified timer limit of LR 2 Click driver in ms.