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#

volatile int32_t
uint16_t
osMutexId_t
uint8_t
uint8_t
osSemaphoreId_t
osSemaphoreId_t
uint8_t *
uint8_t
uint8_t
volatile int32_t

Public Attribute Documentation#

status#

volatile int32_t rsi_bt_cb_s::status

Driver BT control block status


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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)


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 333 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h