BT Common Types#
BT common types.
Data Structures | |
struct | |
Data structure of BT API messages. | |
union | |
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 | |
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 | |
evt_dfu_boot | Data field for dfu boot event |
evt_dfu_boot_failure | Data field for dfu boot_failure event |
evt_system_boot | Data field for system boot event |
evt_system_error | Data field for system error event |
evt_system_hardware_error | Data field for system hardware_error event |
evt_system_external_signal | Data field for system external_signal event |
evt_system_soft_timer | Data field for system soft_timer event |
evt_advertiser_timeout | Data field for advertiser timeout event |
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 |
evt_scanner_legacy_advertisement_report | Data field for scanner legacy_advertisement_report event |
evt_scanner_extended_advertisement_report | Data field for scanner extended_advertisement_report event |
evt_scanner_scan_report | Data field for scanner scan_report event |
evt_sync_opened | Data field for sync opened event |
evt_sync_transfer_received | Data field for sync transfer_received event |
evt_sync_data | Data field for sync data event |
evt_sync_closed | Data field for sync closed event |
evt_connection_opened | Data field for connection opened event |
evt_connection_parameters | Data field for connection parameters event |
evt_connection_phy_status | Data field for connection phy_status event |
evt_connection_rssi | Data field for connection rssi event |
evt_connection_get_remote_tx_power_completed | Data field for connection get_remote_tx_power_completed event |
evt_connection_tx_power | Data field for connection tx_power event |
evt_connection_remote_tx_power | Data field for connection remote_tx_power event |
evt_connection_closed | Data field for connection closed event |
evt_connection_remote_used_features | Data field for connection remote_used_features event |
evt_gatt_mtu_exchanged | Data field for gatt mtu_exchanged event |
evt_gatt_service | Data field for gatt service event |
evt_gatt_characteristic | Data field for gatt characteristic event |
evt_gatt_descriptor | Data field for gatt descriptor event |
evt_gatt_characteristic_value | Data field for gatt characteristic_value event |
evt_gatt_descriptor_value | Data field for gatt descriptor_value event |
evt_gatt_procedure_completed | Data field for gatt procedure_completed event |
evt_gatt_server_attribute_value | Data field for gatt_server attribute_value event |
evt_gatt_server_user_read_request | Data field for gatt_server user_read_request event |
evt_gatt_server_user_write_request | Data field for gatt_server user_write_request event |
evt_gatt_server_characteristic_status | Data field for gatt_server characteristic_status event |
evt_gatt_server_execute_write_completed | Data field for gatt_server execute_write_completed event |
evt_gatt_server_indication_timeout | Data field for gatt_server indication_timeout event |
evt_test_dtm_completed | Data field for test dtm_completed event |
evt_sm_passkey_display | Data field for sm passkey_display event |
evt_sm_passkey_request | Data field for sm passkey_request event |
evt_sm_confirm_passkey | Data field for sm confirm_passkey event |
evt_sm_bonded | Data field for sm bonded event |
evt_sm_bonding_failed | Data field for sm bonding_failed event |
evt_sm_confirm_bonding | Data field for sm confirm_bonding event |
evt_l2cap_le_channel_open_request | Data field for l2cap le_channel_open_request event |
evt_l2cap_le_channel_open_response | Data field for l2cap le_channel_open_response event |
evt_l2cap_channel_data | Data field for l2cap channel_data event |
evt_l2cap_channel_credit | Data field for l2cap channel_credit event |
evt_l2cap_channel_closed | Data field for l2cap channel_closed event |
evt_l2cap_command_rejected | Data field for l2cap command_rejected event |
evt_cte_receiver_dtm_iq_report | Data field for cte_receiver dtm_iq_report event |
evt_cte_receiver_connection_iq_report | Data field for cte_receiver connection_iq_report event |
evt_cte_receiver_connectionless_iq_report | Data field for cte_receiver connectionless_iq_report event |
evt_cte_receiver_silabs_iq_report | Data field for cte_receiver silabs_iq_report event |
evt_user_message_to_host | Data field for user message_to_host event |
uint8_t | |
payload[SL_BGAPI_MAX_PAYLOAD_SIZE] |