annab412 2.1.0.0
ANNA-B412 Device Settings

Settings for registers of ANNA-B412 Click driver. More...

Macros

#define ANNAB412_CMD_AT   "AT"
 ANNA-B412 control commands.
 
#define ANNAB412_CMD_ECHO_OFF   "ATE0"
 
#define ANNAB412_CMD_ECHO_ON   "ATE1"
 
#define ANNAB412_CMD_DEV_NAME   "AT+UBTLN"
 
#define ANNAB412_CMD_CONN_MODE   "AT+UBTCM"
 
#define ANNAB412_CMD_DISCOVER_MODE   "AT+UBTDM"
 
#define ANNAB412_CMD_ENTER_MODE   "ATO"
 
#define ANNAB412_DELIMITER_TERMINATION   13
 ANNA-B412 delimiters ascii codes data.
 
#define ANNAB412_DELIMITER_END_CMD   0
 
#define ANNAB412_DELIMITER_QUOTATION   0x22
 
#define ANNAB412_DELIMITER_EQUAL   0x3D
 
#define ANNAB412_ASCII_CHAR_0   48
 
#define ANNAB412_DEV_NAME_MIN   1
 ANNA-B412 device name length limits.
 
#define ANNAB412_DEV_NAME_MAX   38
 
#define ANNAB412_CONNECTABLE_MODE_OFF   1
 ANNA-B412 connectability mode selection data.
 
#define ANNAB412_CONNECTABLE_MODE_ON   2
 
#define ANNAB412_DISCOVERABLE_MODE_OFF   1
 ANNA-B412 discoverability mode selection data.
 
#define ANNAB412_DISCOVERABLE_MODE_LIM   2
 
#define ANNAB412_DISCOVERABLE_MODE_ON   3
 
#define ANNAB412_ENTER_MODE_COMMAND   0
 ANNA-B412 enter mode selection data.
 
#define ANNAB412_ENTER_MODE_DATA   1
 
#define ANNAB412_ENTER_MODE_EXT_DATA   2
 
#define ANNAB412_ENTER_MODE_PPP   3
 
#define ANNAB412_PIN_STATE_LOW   0
 ANNA-B412 I/O logic pin state.
 
#define ANNAB412_PIN_STATE_HIGH   1
 
#define ANNAB412_TX_DRV_BUFFER_SIZE   100
 ANNA-B412 driver buffer size.
 
#define ANNAB412_RX_DRV_BUFFER_SIZE   300
 

Detailed Description

Settings for registers of ANNA-B412 Click driver.

Macro Definition Documentation

◆ ANNAB412_ASCII_CHAR_0

#define ANNAB412_ASCII_CHAR_0   48

◆ ANNAB412_CMD_AT

#define ANNAB412_CMD_AT   "AT"

ANNA-B412 control commands.

Specified setting for control commands of ANNA-B412 Click driver.

◆ ANNAB412_CMD_CONN_MODE

#define ANNAB412_CMD_CONN_MODE   "AT+UBTCM"

◆ ANNAB412_CMD_DEV_NAME

#define ANNAB412_CMD_DEV_NAME   "AT+UBTLN"

◆ ANNAB412_CMD_DISCOVER_MODE

#define ANNAB412_CMD_DISCOVER_MODE   "AT+UBTDM"

◆ ANNAB412_CMD_ECHO_OFF

#define ANNAB412_CMD_ECHO_OFF   "ATE0"

◆ ANNAB412_CMD_ECHO_ON

#define ANNAB412_CMD_ECHO_ON   "ATE1"

◆ ANNAB412_CMD_ENTER_MODE

#define ANNAB412_CMD_ENTER_MODE   "ATO"

◆ ANNAB412_CONNECTABLE_MODE_OFF

#define ANNAB412_CONNECTABLE_MODE_OFF   1

ANNA-B412 connectability mode selection data.

Specified connectability mode selection data of ANNA-B412 Click driver.

◆ ANNAB412_CONNECTABLE_MODE_ON

#define ANNAB412_CONNECTABLE_MODE_ON   2

◆ ANNAB412_DELIMITER_END_CMD

#define ANNAB412_DELIMITER_END_CMD   0

◆ ANNAB412_DELIMITER_EQUAL

#define ANNAB412_DELIMITER_EQUAL   0x3D

◆ ANNAB412_DELIMITER_QUOTATION

#define ANNAB412_DELIMITER_QUOTATION   0x22

◆ ANNAB412_DELIMITER_TERMINATION

#define ANNAB412_DELIMITER_TERMINATION   13

ANNA-B412 delimiters ascii codes data.

Specified delimiters ascii codes data of ANNA-B412 Click driver.

◆ ANNAB412_DEV_NAME_MAX

#define ANNAB412_DEV_NAME_MAX   38

◆ ANNAB412_DEV_NAME_MIN

#define ANNAB412_DEV_NAME_MIN   1

ANNA-B412 device name length limits.

Specified device name length limits of ANNA-B412 Click driver.

◆ ANNAB412_DISCOVERABLE_MODE_LIM

#define ANNAB412_DISCOVERABLE_MODE_LIM   2

◆ ANNAB412_DISCOVERABLE_MODE_OFF

#define ANNAB412_DISCOVERABLE_MODE_OFF   1

ANNA-B412 discoverability mode selection data.

Specified discoverability mode selection data of ANNA-B412 Click driver.

◆ ANNAB412_DISCOVERABLE_MODE_ON

#define ANNAB412_DISCOVERABLE_MODE_ON   3

◆ ANNAB412_ENTER_MODE_COMMAND

#define ANNAB412_ENTER_MODE_COMMAND   0

ANNA-B412 enter mode selection data.

Specified enter mode selection data of ANNA-B412 Click driver.

◆ ANNAB412_ENTER_MODE_DATA

#define ANNAB412_ENTER_MODE_DATA   1

◆ ANNAB412_ENTER_MODE_EXT_DATA

#define ANNAB412_ENTER_MODE_EXT_DATA   2

◆ ANNAB412_ENTER_MODE_PPP

#define ANNAB412_ENTER_MODE_PPP   3

◆ ANNAB412_PIN_STATE_HIGH

#define ANNAB412_PIN_STATE_HIGH   1

◆ ANNAB412_PIN_STATE_LOW

#define ANNAB412_PIN_STATE_LOW   0

ANNA-B412 I/O logic pin state.

Specified I/O logic pin state of ANNA-B412 Click driver.

◆ ANNAB412_RX_DRV_BUFFER_SIZE

#define ANNAB412_RX_DRV_BUFFER_SIZE   300

◆ ANNAB412_TX_DRV_BUFFER_SIZE

#define ANNAB412_TX_DRV_BUFFER_SIZE   100

ANNA-B412 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.