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_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_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_advertiser_periodic_advertising_status_t

evt_advertiser_periodic_advertising_status

Data field for advertiser periodic_advertising_status 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_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_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_sm_list_bonding_entry_t

evt_sm_list_bonding_entry

Data field for sm list_bonding_entry event

sl_bt_evt_l2cap_coc_connection_request_t

evt_l2cap_coc_connection_request

Data field for l2cap coc_connection_request event

sl_bt_evt_l2cap_coc_connection_response_t

evt_l2cap_coc_connection_response

Data field for l2cap coc_connection_response event

sl_bt_evt_l2cap_coc_le_flow_control_credit_t

evt_l2cap_coc_le_flow_control_credit

Data field for l2cap coc_le_flow_control_credit event

sl_bt_evt_l2cap_coc_channel_disconnected_t

evt_l2cap_coc_channel_disconnected

Data field for l2cap coc_channel_disconnected event

sl_bt_evt_l2cap_coc_data_t

evt_l2cap_coc_data

Data field for l2cap coc_data 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_memory_profiler_ram_usage_entry_t

evt_memory_profiler_ram_usage_entry

Data field for memory_profiler ram_usage_entry 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]