lr 2.1.0.0
LR Device Settings

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

Macros

#define LR_CMD_SYS_GET_VER   "sys get ver"
 LR Click Commands.
 
#define LR_CMD_MAC_PAUSE   "mac pause"
 
#define LR_CMD_RADIO_SET_WDT   "radio set wdt 0"
 
#define LR_ARG_0   "0"
 
#define LR_JM_OTAA   "otaa"
 LR Join mode.
 
#define LR_JM_ABP   "abp"
 
#define LR_PL_CNF   "cnf "
 LR Payload.
 
#define LR_PL_UNCNF   "uncnf "
 
#define LR_INVALID_PARAM   1
 LR Errors.
 
#define LR_NOT_JOINED   2
 
#define LR_NO_FREE_CH   3
 
#define LR_SILENT   4
 
#define LR_ERR_REJOIN_NEEDED   5
 
#define LR_BUSY   6
 
#define LR_MAC_PAUSED   7
 
#define LR_INVALID_PAR_DATA_LEN   8
 
#define LR_KEYS_NOT_INIT   9
 
#define LR_MAC_ERR   10
 
#define LR_MAC_RX   12
 
#define LR_INVALID_REPAR_DATA_LEN   13
 
#define LR_RADIO_ERR   14
 
#define LR_DENIED   18
 
#define LR_MAX_DATA_SIZE   256
 LR Command String Max Size.
 
#define LR_MAX_TRANSFER_SIZE   384
 
#define LR_MAX_CMD_SIZE   64
 
#define LR_MAX_RSP_SIZE   20
 LR Response String Max Size.
 
#define LR_RESP_COUNT   100
 LR Number of Response Indexes.
 
#define LR_TIMER_EXPIRED   50000
 LR Timer Limit.
 
#define LR_MAC_TX   "mac tx "
 LR Variables.
 
#define LR_JOIN   "mac join "
 
#define LR_RADIO_TX   "radio tx "
 
#define LR_RADIO_RX   "radio rx "
 
#define DRV_RX_BUFFER_SIZE   300
 LR driver buffer size.
 

Detailed Description

Settings for registers of LR Click driver.

Macro Definition Documentation

◆ DRV_RX_BUFFER_SIZE

#define DRV_RX_BUFFER_SIZE   300

LR driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ LR_ARG_0

#define LR_ARG_0   "0"

◆ LR_BUSY

#define LR_BUSY   6

◆ LR_CMD_MAC_PAUSE

#define LR_CMD_MAC_PAUSE   "mac pause"

◆ LR_CMD_RADIO_SET_WDT

#define LR_CMD_RADIO_SET_WDT   "radio set wdt 0"

◆ LR_CMD_SYS_GET_VER

#define LR_CMD_SYS_GET_VER   "sys get ver"

LR Click Commands.

Specified Commands of LR Click driver.

◆ LR_DENIED

#define LR_DENIED   18

◆ LR_ERR_REJOIN_NEEDED

#define LR_ERR_REJOIN_NEEDED   5

◆ LR_INVALID_PAR_DATA_LEN

#define LR_INVALID_PAR_DATA_LEN   8

◆ LR_INVALID_PARAM

#define LR_INVALID_PARAM   1

LR Errors.

Specified errors values of LR Click driver.

◆ LR_INVALID_REPAR_DATA_LEN

#define LR_INVALID_REPAR_DATA_LEN   13

◆ LR_JM_ABP

#define LR_JM_ABP   "abp"

◆ LR_JM_OTAA

#define LR_JM_OTAA   "otaa"

LR Join mode.

Specified Join mode settings of LR Click driver.

◆ LR_JOIN

#define LR_JOIN   "mac join "

◆ LR_KEYS_NOT_INIT

#define LR_KEYS_NOT_INIT   9

◆ LR_MAC_ERR

#define LR_MAC_ERR   10

◆ LR_MAC_PAUSED

#define LR_MAC_PAUSED   7

◆ LR_MAC_RX

#define LR_MAC_RX   12

◆ LR_MAC_TX

#define LR_MAC_TX   "mac tx "

LR Variables.

Specified variables of LR Click driver.

◆ LR_MAX_CMD_SIZE

#define LR_MAX_CMD_SIZE   64

◆ LR_MAX_DATA_SIZE

#define LR_MAX_DATA_SIZE   256

LR Command String Max Size.

Specified command string max Size of LR Click driver.

◆ LR_MAX_RSP_SIZE

#define LR_MAX_RSP_SIZE   20

LR Response String Max Size.

Maximum size of responce string of LR Click driver.

◆ LR_MAX_TRANSFER_SIZE

#define LR_MAX_TRANSFER_SIZE   384

◆ LR_NO_FREE_CH

#define LR_NO_FREE_CH   3

◆ LR_NOT_JOINED

#define LR_NOT_JOINED   2

◆ LR_PL_CNF

#define LR_PL_CNF   "cnf "

LR Payload.

Specified Payload of LR Click driver.

◆ LR_PL_UNCNF

#define LR_PL_UNCNF   "uncnf "

◆ LR_RADIO_ERR

#define LR_RADIO_ERR   14

◆ LR_RADIO_RX

#define LR_RADIO_RX   "radio rx "

◆ LR_RADIO_TX

#define LR_RADIO_TX   "radio tx "

◆ LR_RESP_COUNT

#define LR_RESP_COUNT   100

LR Number of Response Indexes.

Number of response indexes of LR Click driver.

◆ LR_SILENT

#define LR_SILENT   4

◆ LR_TIMER_EXPIRED

#define LR_TIMER_EXPIRED   50000

LR Timer Limit.

Specified timer limit of LR Click driver in ms.