bt 2.0.0.0
|
Settings for BT Click driver. More...
Settings for BT Click driver.
#define BT_GAP_MODE_CONNECTABLE 0x01 |
#define BT_GAP_MODE_DISCOVERABLE 0x01 |
#define BT_GAP_MODE_LIMITED 0x01 |
#define BT_GAP_MODE_NOT_CONNECTABLE 0x00 |
BT gap mode setting.
Specified settings for gap mode of BT Click driver.
#define BT_GAP_MODE_NOT_DISCOVERABLE 0x00 |
#define BT_GAP_MODE_NOT_LIMITED 0x00 |
#define BT_HARDWARE_ALL_BUTTONS_PIN_MASK 0x3700 |
#define BT_HARDWARE_ALL_LEDS_PIN_MASK 0xC000 |
#define BT_HARDWARE_BUTTON1_PIN_INDEX 0x08 |
#define BT_HARDWARE_BUTTON1_PIN_MASK 0x0100 |
#define BT_HARDWARE_BUTTON2_PIN_INDEX 0x09 |
#define BT_HARDWARE_BUTTON2_PIN_MASK 0x0200 |
#define BT_HARDWARE_BUTTON3_PIN_INDEX 0x0A |
#define BT_HARDWARE_BUTTON3_PIN_MASK 0x0400 |
#define BT_HARDWARE_BUTTON4_PIN_INDEX 0x0C |
#define BT_HARDWARE_BUTTON4_PIN_MASK 0x1000 |
#define BT_HARDWARE_BUTTON5_PIN_INDEX 0x0D |
#define BT_HARDWARE_BUTTON5_PIN_MASK 0x2000 |
#define BT_HARDWARE_CONFIG_GPIO_ANALOG 0x03 |
#define BT_HARDWARE_CONFIG_GPIO_FLOAT 0x00 |
#define BT_HARDWARE_CONFIG_GPIO_FUNCTION 0x02 |
#define BT_HARDWARE_CONFIG_GPIO_INPUT 0x00 |
#define BT_HARDWARE_CONFIG_GPIO_OUTPUT 0x01 |
#define BT_HARDWARE_CONFIG_GPIO_PULLDOWN 0x02 |
#define BT_HARDWARE_CONFIG_GPIO_PULLUP 0x01 |
#define BT_HARDWARE_CONFIG_PORT_A 0x00 |
BT hardware config gpio setting.
Specified settings for hardware config gpio of BT Click driver.
#define BT_HARDWARE_CONFIG_PORT_B 0x01 |
#define BT_HARDWARE_LED1_PIN_INDEX 0x0E |
#define BT_HARDWARE_LED1_PIN_MASK 0x4000 |
#define BT_HARDWARE_LED2_PIN_INDEX 0x0F |
#define BT_HARDWARE_LED2_PIN_MASK 0x8000 |
#define BT_MAX_PAYLOAD_LEN 0x40 |
BT payload setting.
Specified settings for payload of BT Click driver.
#define BT_MSG_CLASS_CONNECTION 0x07 |
#define BT_MSG_CLASS_DFU 0x00 |
BT message class setting.
Specified settings for message class of BT Click driver.
#define BT_MSG_CLASS_ENDPOINT 0x0B |
#define BT_MSG_CLASS_FLASH_PS 0x0D |
#define BT_MSG_CLASS_GAP 0x02 |
#define BT_MSG_CLASS_GATT 0x09 |
#define BT_MSG_CLASS_GATT_SERVER 0x0A |
#define BT_MSG_CLASS_HARDWARE 0x0C |
#define BT_MSG_CLASS_HID 0x13 |
#define BT_MSG_CLASS_IDENTITY 0x05 |
#define BT_MSG_CLASS_LE_CONNECTION 0x08 |
#define BT_MSG_CLASS_LE_GAP 0x03 |
#define BT_MSG_CLASS_LE_SERIAL 0x14 |
#define BT_MSG_CLASS_RFCOMM 0x04 |
#define BT_MSG_CLASS_SDP 0x06 |
#define BT_MSG_CLASS_SM 0x0F |
#define BT_MSG_CLASS_SYSTEM 0x01 |
#define BT_MSG_CLASS_TEST 0x0E |
#define BT_MSG_CLASS_UTIL 0x11 |
#define BT_MSG_ID_ENDPOINT_SEND_DATA 0x00 |
#define BT_MSG_ID_EVT_CONNECTION_CLOSED 0x01 |
#define BT_MSG_ID_EVT_CONNECTION_OPENED 0x00 |
#define BT_MSG_ID_EVT_ENDPOINT_DATA 0x01 |
#define BT_MSG_ID_EVT_RFCOMM_MODEM_STATUS 0x01 |
#define BT_MSG_ID_EVT_RFCOMM_OPENED 0x00 |
#define BT_MSG_ID_EVT_SM_BONDED 0x03 |
#define BT_MSG_ID_GAP_SET_MODE 0x03 |
#define BT_MSG_ID_HARDWARE_CONFIG_GPIO 0x01 |
#define BT_MSG_ID_HARDWARE_READ_GPIO 0x03 |
#define BT_MSG_ID_HARDWARE_WRITE_GPIO 0x02 |
#define BT_MSG_ID_RFCOMM_START_SERVER 0x01 |
#define BT_MSG_ID_RFCOMM_STOP_SERVER 0x03 |
#define BT_MSG_ID_SM_DELETE_BONDINGS 0x07 |
#define BT_MSG_ID_SM_SET_BONDABLE_MODE 0x00 |
#define BT_MSG_ID_SYSTEM_FACTORY_RESET 0x07 |
#define BT_MSG_ID_SYSTEM_GET_BT_ADDRESS 0x03 |
#define BT_MSG_ID_SYSTEM_GET_CLASS_OF_DEV 0x05 |
#define BT_MSG_ID_SYSTEM_GET_LOCAL_NAME 0x09 |
#define BT_MSG_ID_SYSTEM_RESET 0x01 |
BT message ID setting.
Specified settings for message ID of BT Click driver.
#define BT_MSG_ID_SYSTEM_SET_CLASS_OF_DEV 0x06 |
#define BT_MSG_ID_SYSTEM_SET_LOCAL_NAME 0x08 |
#define BT_MSG_TYPE_COMMAND 0x20 |
BT message type setting.
Specified settings for message type of BT Click driver.
#define BT_MSG_TYPE_EVENT 0xA0 |
#define BT_MSG_TYPE_RESPONSE 0x20 |
#define BT_RFCOMM_SERVER_DEF_SDP_ID 0x02 |
BT rfcomm server setting.
Specified settings for rfcomm server of BT Click driver.
#define BT_RFCOMM_SERVER_DEF_STREAM_DEST 0x00 |
#define BT_SM_SET_BONDABLE_ALLOWED 0x01 |
#define BT_SM_SET_BONDABLE_NOT_ACCEPTED 0x00 |
BT bondable mode setting.
Specified settings for bondable mode of BT Click driver.
#define BT_SYSTEM_RESET_BOOT_TO_DFU 0x01 |
#define BT_SYSTEM_RESET_NORMAL 0x00 |
BT reset mode setting.
Specified settings for reset mode of BT Click driver.
#define DRV_BUFFER_SIZE 200 |
BT driver buffer size.
Specified size of driver ring buffer.