BT Common Types#
BT common types.
Data Structures#
struct | sl_bt_msg
| Data structure of BT API messages.
union | sl_bt_msg.data
Macros#
#define |
SL_BT_INVALID_CONNECTION_HANDLE
((uint8_t) 0xFF)
| Value used to indicate an invalid connection handle.
#define |
SL_BT_INVALID_BONDING_HANDLE
((uint8_t) 0xFF)
| Value used to indicate an invalid bonding handle.
#define |
SL_BT_INVALID_ADVERTISING_SET_HANDLE
((uint8_t) 0xFF)
| Value used to indicate an invalid advertising set handle.
Typedefs#
typedef struct sl_bt_msg |
sl_bt_msg_t
| Type definition for the data structure of BT API messages.
Detailed Description#
BT common types.
Data Structure Documentation#
◆ sl_bt_msg#
struct sl_bt_msg#
Data structure of BT API messages.
Data Fields#
uint32_t | header |
API protocol header consisting of event identifier and data length
union sl_bt_msg | data |
Union of API event types
◆ sl_bt_msg.data#
union sl_bt_msg.data#
Union of API event types
Data Fields#
uint8_t | handle |
sl_bt_evt_dfu_boot_t | evt_dfu_boot |
Data field for dfu boot event
sl_bt_evt_dfu_boot_failure_t | evt_dfu_boot_failure |
Data field for dfu boot_failure event
sl_bt_evt_system_boot_t | evt_system_boot |
Data field for system boot event
sl_bt_evt_system_error_t | evt_system_error |
Data field for system error event
sl_bt_evt_system_hardware_error_t | evt_system_hardware_error |
Data field for system hardware_error event
sl_bt_evt_system_resource_exhausted_t | evt_system_resource_exhausted |
Data field for system resource_exhausted event
sl_bt_evt_system_external_signal_t | evt_system_external_signal |
Data field for system external_signal event
sl_bt_evt_system_soft_timer_t | evt_system_soft_timer |
Data field for system soft_timer event
sl_bt_evt_advertiser_timeout_t | evt_advertiser_timeout |
Data field for advertiser timeout event
sl_bt_evt_advertiser_scan_request_t | evt_advertiser_scan_request |
Data field for advertiser scan_request event
sl_bt_evt_periodic_advertiser_status_t | evt_periodic_advertiser_status |
Data field for periodic_advertiser status event
sl_bt_evt_scanner_legacy_advertisement_report_t | evt_scanner_legacy_advertisement_report |
Data field for scanner legacy_advertisement_report event
sl_bt_evt_scanner_extended_advertisement_report_t | evt_scanner_extended_advertisement_report |
Data field for scanner extended_advertisement_report event
sl_bt_evt_scanner_scan_report_t | evt_scanner_scan_report |
Data field for scanner scan_report event
sl_bt_evt_sync_opened_t | evt_sync_opened |
Data field for sync opened event
sl_bt_evt_sync_transfer_received_t | evt_sync_transfer_received |
Data field for sync transfer_received event
sl_bt_evt_sync_data_t | evt_sync_data |
Data field for sync data event
sl_bt_evt_sync_closed_t | evt_sync_closed |
Data field for sync closed event
sl_bt_evt_connection_opened_t | evt_connection_opened |
Data field for connection opened event
sl_bt_evt_connection_parameters_t | evt_connection_parameters |
Data field for connection parameters event
sl_bt_evt_connection_phy_status_t | evt_connection_phy_status |
Data field for connection phy_status event
sl_bt_evt_connection_rssi_t | evt_connection_rssi |
Data field for connection rssi event
sl_bt_evt_connection_get_remote_tx_power_completed_t | evt_connection_get_remote_tx_power_completed |
Data field for connection get_remote_tx_power_completed event
sl_bt_evt_connection_tx_power_t | evt_connection_tx_power |
Data field for connection tx_power event
sl_bt_evt_connection_remote_tx_power_t | evt_connection_remote_tx_power |
Data field for connection remote_tx_power event
sl_bt_evt_connection_closed_t | evt_connection_closed |
Data field for connection closed event
sl_bt_evt_connection_remote_used_features_t | evt_connection_remote_used_features |
Data field for connection remote_used_features event
sl_bt_evt_gatt_mtu_exchanged_t | evt_gatt_mtu_exchanged |
Data field for gatt mtu_exchanged event
sl_bt_evt_gatt_service_t | evt_gatt_service |
Data field for gatt service event
sl_bt_evt_gatt_characteristic_t | evt_gatt_characteristic |
Data field for gatt characteristic event
sl_bt_evt_gatt_descriptor_t | evt_gatt_descriptor |
Data field for gatt descriptor event
sl_bt_evt_gatt_characteristic_value_t | evt_gatt_characteristic_value |
Data field for gatt characteristic_value event
sl_bt_evt_gatt_descriptor_value_t | evt_gatt_descriptor_value |
Data field for gatt descriptor_value event
sl_bt_evt_gatt_procedure_completed_t | evt_gatt_procedure_completed |
Data field for gatt procedure_completed event
sl_bt_evt_gatt_server_attribute_value_t | evt_gatt_server_attribute_value |
Data field for gatt_server attribute_value event
sl_bt_evt_gatt_server_user_read_request_t | evt_gatt_server_user_read_request |
Data field for gatt_server user_read_request event
sl_bt_evt_gatt_server_user_write_request_t | evt_gatt_server_user_write_request |
Data field for gatt_server user_write_request event
sl_bt_evt_gatt_server_characteristic_status_t | evt_gatt_server_characteristic_status |
Data field for gatt_server characteristic_status event
sl_bt_evt_gatt_server_execute_write_completed_t | evt_gatt_server_execute_write_completed |
Data field for gatt_server execute_write_completed event
sl_bt_evt_gatt_server_indication_timeout_t | evt_gatt_server_indication_timeout |
Data field for gatt_server indication_timeout event
sl_bt_evt_test_dtm_completed_t | evt_test_dtm_completed |
Data field for test dtm_completed event
sl_bt_evt_sm_passkey_display_t | evt_sm_passkey_display |
Data field for sm passkey_display event
sl_bt_evt_sm_passkey_request_t | evt_sm_passkey_request |
Data field for sm passkey_request event
sl_bt_evt_sm_confirm_passkey_t | evt_sm_confirm_passkey |
Data field for sm confirm_passkey event
sl_bt_evt_sm_bonded_t | evt_sm_bonded |
Data field for sm bonded event
sl_bt_evt_sm_bonding_failed_t | evt_sm_bonding_failed |
Data field for sm bonding_failed event
sl_bt_evt_sm_confirm_bonding_t | evt_sm_confirm_bonding |
Data field for sm confirm_bonding event
sl_bt_evt_external_bondingdb_data_request_t | evt_external_bondingdb_data_request |
Data field for external_bondingdb data_request event
sl_bt_evt_external_bondingdb_data_t | evt_external_bondingdb_data |
Data field for external_bondingdb data event
sl_bt_evt_external_bondingdb_data_ready_t | evt_external_bondingdb_data_ready |
Data field for external_bondingdb data_ready event
sl_bt_evt_l2cap_le_channel_open_request_t | evt_l2cap_le_channel_open_request |
Data field for l2cap le_channel_open_request event
sl_bt_evt_l2cap_le_channel_open_response_t | evt_l2cap_le_channel_open_response |
Data field for l2cap le_channel_open_response event
sl_bt_evt_l2cap_channel_data_t | evt_l2cap_channel_data |
Data field for l2cap channel_data event
sl_bt_evt_l2cap_channel_credit_t | evt_l2cap_channel_credit |
Data field for l2cap channel_credit event
sl_bt_evt_l2cap_channel_closed_t | evt_l2cap_channel_closed |
Data field for l2cap channel_closed event
sl_bt_evt_l2cap_command_rejected_t | evt_l2cap_command_rejected |
Data field for l2cap command_rejected event
sl_bt_evt_cte_receiver_dtm_iq_report_t | evt_cte_receiver_dtm_iq_report |
Data field for cte_receiver dtm_iq_report event
sl_bt_evt_cte_receiver_connection_iq_report_t | evt_cte_receiver_connection_iq_report |
Data field for cte_receiver connection_iq_report event
sl_bt_evt_cte_receiver_connectionless_iq_report_t | evt_cte_receiver_connectionless_iq_report |
Data field for cte_receiver connectionless_iq_report event
sl_bt_evt_cte_receiver_silabs_iq_report_t | evt_cte_receiver_silabs_iq_report |
Data field for cte_receiver silabs_iq_report event
sl_bt_evt_user_message_to_host_t | evt_user_message_to_host |
Data field for user message_to_host event
uint8_t | payload[SL_BGAPI_MAX_PAYLOAD_SIZE] |