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#
status#
volatile int32_t rsi_bt_cb_s::status
Driver BT control block status.
292
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
state#
uint16_t rsi_bt_cb_s::state
Driver BT control block state.
294
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
bt_mutex#
osMutexId_t rsi_bt_cb_s::bt_mutex
Driver BT control block mutex.
296
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
expected_response_buffer#
void* rsi_bt_cb_s::expected_response_buffer
Driver BT control block expected command response.
298
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
expected_response_type#
uint16_t rsi_bt_cb_s::expected_response_type
Expected command response type.
300
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
sync_rsp#
uint8_t rsi_bt_cb_s::sync_rsp
Sync command flag to identify that the command is blocking / sync type.
302
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
dev_type#
uint8_t rsi_bt_cb_s::dev_type
BT device type at disconnect.
304
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
bt_cmd_sem#
osSemaphoreId_t rsi_bt_cb_s::bt_cmd_sem
Driver BT control block semaphore for commands.
306
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
bt_sem#
osSemaphoreId_t rsi_bt_cb_s::bt_sem
Driver BT control block semaphore.
308
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
app_buffer#
uint8_t* rsi_bt_cb_s::app_buffer
Buffer pointer given by application to driver.
310
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
app_buffer_length#
uint32_t rsi_bt_cb_s::app_buffer_length
Buffer length given by application to driver.
312
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
bt_global_cb#
rsi_bt_global_cb_t* rsi_bt_cb_s::bt_global_cb
Pointer to global Bluetooth callback structure.
314
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
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.
316
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
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)
325
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
buf_status#
uint8_t rsi_bt_cb_s::buf_status
Variable indicates buffer full/empty status --> 0 -> Empty, 1 -> Full.
327
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
cmd_status#
uint8_t rsi_bt_cb_s::cmd_status
Variable indicates command in use status --> 0 -> Not In Use, 1 -> In Use.
329
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
remote_ble_index#
uint8_t rsi_bt_cb_s::remote_ble_index
Variable to save remote information index.
331
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h
async_status#
volatile int32_t rsi_bt_cb_s::async_status
Driver BT control block asynchronous status.
333
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h