Structure represents the Bluetooth control block.
This structure is used to define the parameters for the Bluetooth control block, which includes status, state, synchronization mechanisms, and remote BLE device information.
Public Attributes#
Driver BT control block status.
Driver BT control block state.
Driver BT control block mutex.
Driver BT control block expected command response.
Expected command response type.
Sync command flag to identify that the command is blocking / sync type.
BT device type at disconnect.
Driver BT control block semaphore for commands.
Driver BT control block semaphore.
Buffer pointer given by application to driver.
Buffer length given by application to driver.
Pointer to global Bluetooth callback structure.
Address of the device to which directed advertising has to be done in ll privacy mode.
Structure holds remote LE device information (BD address and controller buffer availability)
Variable indicates buffer full/empty status --> 0 -> Empty, 1 -> Full.
Variable indicates command in use status --> 0 -> Not In Use, 1 -> In Use.
Variable to save remote information index.
Driver BT control block asynchronous status.
Public Attribute Documentation#
expected_response_buffer#
void* rsi_bt_cb_s::expected_response_buffer
Driver BT control block expected command response.
sync_rsp#
uint8_t rsi_bt_cb_s::sync_rsp
Sync command flag to identify that the command is blocking / sync type.
app_buffer_length#
uint32_t rsi_bt_cb_s::app_buffer_length
Buffer length given by application to driver.
bt_global_cb#
rsi_bt_global_cb_t* rsi_bt_cb_s::bt_global_cb
Pointer to global Bluetooth callback structure.
directed_addr#
uint8_t rsi_bt_cb_s::directed_addr[RSI_DEV_ADDR_LEN]
Address of the device to which directed advertising has to be done in ll privacy mode.
remote_ble_info#
rsi_remote_ble_info_t rsi_bt_cb_s::remote_ble_info[MAX_REMOTE_BLE_DEVICES]
Structure holds remote LE device information (BD address and controller buffer availability)
buf_status#
uint8_t rsi_bt_cb_s::buf_status
Variable indicates buffer full/empty status --> 0 -> Empty, 1 -> Full.
cmd_status#
uint8_t rsi_bt_cb_s::cmd_status
Variable indicates command in use status --> 0 -> Not In Use, 1 -> In Use.