xbee2 2.1.0.0
XBEE 2 Device Settings

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

Macros

#define XBEE2_ENTER_CMD_MODE   "+++"
 XBEE 2 list of AT commands.
 
#define XBEE2_EXIT_CMD_MODE   "CN"
 
#define XBEE2_FACTORY_RESET   "RE"
 
#define XBEE2_SET_NODE_IDENTIFIER   "NI"
 
#define XBEE2_GET_SERIAL_NUMBER   "SH,SL"
 
#define XBEE2_SET_DEST_ADDR_HIGH   "DH"
 
#define XBEE2_SET_DEST_ADDR_LOW   "DL"
 
#define XBEE2_APPLY_CHANGES   "AC"
 
#define XBEE2_API_MODE   "AP"
 
#define XBEE2_DEV_ROLE   "CE"
 
#define XBEE2_SAVE_CHANGES   "WR"
 
#define XBEE2_CMD_AT   "AT"
 
#define XBEE2_DELIMITER   ","
 
#define XBEE2_CARRIAGE_RETURN   "\r"
 
#define XBEE2_MODE_TRANSPARENT   0
 XBEE 2 mode settings.
 
#define XBEE2_MODE_API_WITHOUT_ESC   1
 
#define XBEE2_MODE_API_WITH_ESC   2
 
#define XBEE2_DEVICE_ROLE_JOIN_NETWORK   0
 XBEE 2 device role settings.
 
#define XBEE2_DEVICE_ROLE_FORM_NETWORK   1
 
#define XBEE2_BROADCAST_DEST_ADDRESS_HIGH   "00000000"
 XBEE 2 destination address settings.
 
#define XBEE2_BROADCAST_DEST_ADDRESS_LOW   "0000FFFF"
 
#define XBEE2_RSP_OK   "OK"
 XBEE 2 device response for AT commands.
 
#define XBEE2_RSP_ERROR   "ERROR"
 
#define DRV_BUFFER_SIZE   200
 XBEE 2 driver buffer size.
 

Detailed Description

Settings for registers of XBEE 2 Click driver.

Macro Definition Documentation

◆ DRV_BUFFER_SIZE

#define DRV_BUFFER_SIZE   200

XBEE 2 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ XBEE2_API_MODE

#define XBEE2_API_MODE   "AP"

◆ XBEE2_APPLY_CHANGES

#define XBEE2_APPLY_CHANGES   "AC"

◆ XBEE2_BROADCAST_DEST_ADDRESS_HIGH

#define XBEE2_BROADCAST_DEST_ADDRESS_HIGH   "00000000"

XBEE 2 destination address settings.

Destination address settings of XBEE 2 Click driver.

◆ XBEE2_BROADCAST_DEST_ADDRESS_LOW

#define XBEE2_BROADCAST_DEST_ADDRESS_LOW   "0000FFFF"

◆ XBEE2_CARRIAGE_RETURN

#define XBEE2_CARRIAGE_RETURN   "\r"

◆ XBEE2_CMD_AT

#define XBEE2_CMD_AT   "AT"

◆ XBEE2_DELIMITER

#define XBEE2_DELIMITER   ","

◆ XBEE2_DEV_ROLE

#define XBEE2_DEV_ROLE   "CE"

◆ XBEE2_DEVICE_ROLE_FORM_NETWORK

#define XBEE2_DEVICE_ROLE_FORM_NETWORK   1

◆ XBEE2_DEVICE_ROLE_JOIN_NETWORK

#define XBEE2_DEVICE_ROLE_JOIN_NETWORK   0

XBEE 2 device role settings.

Device role settings of XBEE 2 Click driver.

◆ XBEE2_ENTER_CMD_MODE

#define XBEE2_ENTER_CMD_MODE   "+++"

XBEE 2 list of AT commands.

AT commands list of XBEE 2 Click driver.

◆ XBEE2_EXIT_CMD_MODE

#define XBEE2_EXIT_CMD_MODE   "CN"

◆ XBEE2_FACTORY_RESET

#define XBEE2_FACTORY_RESET   "RE"

◆ XBEE2_GET_SERIAL_NUMBER

#define XBEE2_GET_SERIAL_NUMBER   "SH,SL"

◆ XBEE2_MODE_API_WITH_ESC

#define XBEE2_MODE_API_WITH_ESC   2

◆ XBEE2_MODE_API_WITHOUT_ESC

#define XBEE2_MODE_API_WITHOUT_ESC   1

◆ XBEE2_MODE_TRANSPARENT

#define XBEE2_MODE_TRANSPARENT   0

XBEE 2 mode settings.

Mode settings of XBEE 2 Click driver.

◆ XBEE2_RSP_ERROR

#define XBEE2_RSP_ERROR   "ERROR"

◆ XBEE2_RSP_OK

#define XBEE2_RSP_OK   "OK"

XBEE 2 device response for AT commands.

Device response after commands.

◆ XBEE2_SAVE_CHANGES

#define XBEE2_SAVE_CHANGES   "WR"

◆ XBEE2_SET_DEST_ADDR_HIGH

#define XBEE2_SET_DEST_ADDR_HIGH   "DH"

◆ XBEE2_SET_DEST_ADDR_LOW

#define XBEE2_SET_DEST_ADDR_LOW   "DL"

◆ XBEE2_SET_NODE_IDENTIFIER

#define XBEE2_SET_NODE_IDENTIFIER   "NI"