Bluetooth Host Stack Library
Device Management

General Description

This section consists of several management entities:

API Reference

 Advertisement & Scan
 This section provides functions for LE advertisement and LE scan operations.
 
 Connection and Filter Accept List
 This section provides functions for LE connection related and Filter Accept List operations.
 
 Phy
 This section provides functionality to read and update PHY.
 
 MultiAdv
 This section describes Multiple Advertisement API, using this interface application can enable more than one advertisement train.
 
 Utilities
 This sections provides Bluetooth utilities functions related to trace, local bda, tx power etc.
 
 LE Security
 LE Security API.
 

Data Structures

struct  wiced_bt_ble_advert_elem_t
 Advertisement element. More...
 
struct  wiced_bt_ble_scan_results_t
 LE inquiry result type. More...
 
struct  wiced_bt_ble_phy_preferences_t
 Host PHY preferences. More...
 
struct  wiced_bt_ble_conn_params_t
 LE connection parameteres. More...
 
struct  wiced_bt_ble_pref_conn_params_t
 LE preferred connection parameters. More...
 
struct  wiced_bt_ble_multi_adv_params_t
 LE Multi advertising parameter. More...
 
struct  wiced_bt_ble_ext_adv_duration_config_t
 Advertisement duration configuration for specified adv handle. More...
 
struct  wiced_bt_ble_key_material_t
 Encryption Data Key Material structure. More...
 
struct  wiced_bt_ble_ext_adv_params_t
 Parameters for extended adv. More...
 
struct  wiced_bt_ble_ext_conn_cfg_t
 Extended ADV connection configuration structure. More...
 
struct  wiced_bt_ble_ext_adv_report_t
 Extended advertisement report data format. More...
 
struct  wiced_bt_ble_periodic_adv_sync_established_event_data_t
 Sync extablished to periodic advertiser event data format. More...
 
struct  wiced_bt_ble_periodic_adv_report_event_data_t
 Periodic advertising report data format. More...
 
struct  wiced_bt_ble_ext_adv_set_terminated_event_data_t
 extended adv set terminated event data format. More...
 
struct  wiced_bt_ble_scan_req_received_event_data_t
 scan request received event data format More...
 
struct  wiced_bt_ble_channel_sel_algo_event_data_t
 Channel selection algorithm event data format. More...
 
struct  wiced_bt_ble_biginfo_adv_report_t
 BIGInfo report. More...
 
struct  wiced_bt_ble_periodic_adv_sync_transfer_event_data_t
 Periodic Adv Sync Transfer Received Event Data. More...
 
struct  wiced_bt_ble_pawr_sync_established_event_data_t
 Periodic Advertising with Response (PAWR) Sync Established Event Data. More...
 
struct  wiced_bt_ble_pawr_subevent_data_req_event_data_t
 Periodic Advertising with Response (PAWR) Subevent Data Request Event Data. More...
 
struct  wiced_bt_ble_pawr_rsp_report_event_data_t
 Periodic Advertising with Response (PAWR) Response Report Event Data. More...
 
struct  wiced_bt_ble_pawr_ind_report_event_data_t
 Periodic Advertising with Response (PAWR) Indication Report Event Data. More...
 
union  wiced_bt_ble_adv_ext_event_data_t
 union of events data More...
 
struct  wiced_bt_ble_ext_scan_config_t
 Configuration for extended scanning. More...
 
struct  wiced_bt_ble_pawr_subevent_ind_data_t
 Configuration for Periodic Advertising with Response (PAWR) subevent indication data which is sent by the central device at the start of each subevent. More...
 
struct  wiced_bt_ble_pawr_subevent_rsp_data_t
 Configuration for Periodic Advertising with Response (PAWR) response data. More...
 
struct  wiced_bt_ble_periodic_adv_params_t
 LE Set Periodic Advertising Parameter V2 command parameter. More...
 
struct  wiced_bt_tx_power_result_t
 TX Power Result (in response to wiced_bt_dev_read_tx_power) More...
 
struct  wiced_bt_transmit_power_range_res_buf_t
 Transmit Power Range Result Buffer. More...
 
struct  wiced_bt_set_transmit_power_range_result_t
 Transmit Power Range Result (in response to wiced_bt_set_transmit_power_range) More...
 
struct  wiced_bt_set_adv_tx_power_result_t
 TX Power Result (in response to wiced_bt_ble_set_adv_tx_power) More...
 
struct  wiced_bt_dev_vendor_specific_command_complete_params_t
 Structure returned with Vendor Specific Command complete callback. More...
 
struct  wiced_bt_public_key_t
 Public key. More...
 
struct  wiced_bt_smp_sc_local_oob_t
 Data for BTM_SMP_SC_LOCAL_OOB_DATA_NOTIFICATION_EVT. More...
 
struct  wiced_bt_smp_remote_oob_req_t
 data type for BTM_SMP_REMOTE_OOB_DATA_REQUEST_EVT More...
 
struct  wiced_bt_smp_sc_remote_oob_req_t
 data type for BTM_SMP_SC_REMOTE_OOB_DATA_REQUEST_EVT More...
 
struct  wiced_bt_dev_user_keypress_t
 Pairing keypress notification (BTM_USER_KEYPRESS_NOTIFICATION_EVT event data type) More...
 
struct  wiced_bt_dev_user_key_notif_t
 Data for pairing passkey notification (BTM_USER_PASSKEY_NOTIFICATION_EVT event data type) More...
 
struct  wiced_bt_dev_br_edr_pairing_info_t
 BR/EDR pairing complete infomation. More...
 
struct  wiced_bt_dev_user_cfm_req_t
 Data for pairing confirmation request (BTM_USER_CONFIRMATION_REQUEST_EVT event data type) More...
 
struct  wiced_bt_dev_ble_pairing_info_t
 LE pairing complete infomation. More...
 
union  wiced_bt_dev_pairing_info_t
 Transport dependent pairing complete infomation. More...
 
struct  wiced_bt_dev_pairing_cplt_t
 Pairing complete notification (BTM_PAIRING_COMPLETE_EVT event data type) More...
 
struct  wiced_bt_dev_security_failed_t
 Security/authentication failure status (used by BTM_SECURITY_FAILED_EVT notication) More...
 
struct  wiced_bt_dev_security_request_t
 Security request (BTM_SECURITY_REQUEST_EVT event data type) More...
 
struct  wiced_bt_local_id_keys
 LE keys. More...
 
struct  wiced_bt_local_identity_keys_t
 LE identity key for local device (used by BTM_LE_LOCAL_IDENTITY_KEYS_UPDATE_EVT and BTM_LE_LOCAL_KEYS_REQUEST_EVT notification) More...
 
struct  wiced_bt_ble_connection_param_update_t
 LE connection parameter update event related data. More...
 
struct  wiced_bt_ble_conn_subrate_t
 LE Physical link update event related data. More...
 
struct  wiced_bt_ble_phy_update_t
 BLE Physical link update event related data. More...
 
struct  wiced_bt_ble_phy_data_length_update_t
 LE data length update event related data. More...
 
struct  wiced_bt_ble_multi_adv_response_t
 LE Multi adv VSC response data. More...
 
struct  wiced_bt_dev_enabled_t
 Device enabled (used by BTM_ENABLED_EVT) More...
 
struct  wiced_bt_dev_disabled_t
 Device disabled (used by BTM_DISABLED_EVT) More...
 
struct  wiced_bt_dev_name_and_class_t
 Remote device information (used by BTM_PIN_REQUEST_EVT, BTM_SECURITY_ABORTED_EVT) More...
 
struct  wiced_bt_power_mgmt_notification_t
 Change in power management status (used by BTM_POWER_MANAGEMENT_STATUS_EVT notication) More...
 
struct  wiced_bt_dev_encryption_status_t
 Encryption status change (used by BTM_ENCRYPTION_STATUS_EVT) More...
 
struct  wiced_bt_dev_local_oob_t
 Local OOB data BTM_READ_LOCAL_OOB_DATA_COMPLETE_EVT. More...
 
struct  wiced_bt_dev_remote_oob_t
 BTM_REMOTE_OOB_DATA_REQUEST_EVT. More...
 
struct  wiced_bt_dev_bredr_io_caps_req_t
 BR/EDR Pairing IO Capabilities (to be filled by application callback on BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT) More...
 
struct  wiced_bt_dev_ble_io_caps_req_t
 LE Pairing IO Capabilities (to be filled by application callback on BTM_PAIRING_IO_CAPABILITIES_BLE_REQUEST_EVT) More...
 
struct  wiced_bt_ble_keys_t
 Paired device LE Keys. More...
 
struct  wiced_bt_device_sec_keys_t
 Paired Device Link key data. More...
 
struct  wiced_bt_device_link_keys_t
 Paired device link key notification (used by BTM_PAIRED_DEVICE_LINK_KEYS_UPDATE_EVT notication) More...
 
struct  wiced_bt_device_br_packet_types_t
 BR packets statistics details. More...
 
struct  wiced_bt_device_edr_packet_types_t
 EDR packets statistics types details. More...
 
union  wiced_bt_br_edr_pkt_type_stats
 BR/EDR packet types detail statistics. More...
 
struct  wiced_bt_lq_br_edr_stats
 BR/EDR link statistics. More...
 
struct  wiced_bt_lq_le_stats
 LE link statistics. More...
 
struct  wiced_bt_lq_stats_result_t
 LQ Quality Result (in response to wiced_bt_dev_lq_stats) More...
 
struct  wiced_bt_ble_device_addr_update_t
 Event on update of random device address. More...
 
union  wiced_bt_management_evt_data_t
 Structure definitions for Bluetooth Management (wiced_bt_management_cback_t) event notifications. More...
 

Macros

#define BTM_BLE_LEGACY_AD_DATA_LEN   31
 Max legacy advertisement data len.
 
#define BTM_AFH_CHNL_MAP_SIZE   HCI_AFH_CHANNEL_MAP_LEN
 AFH channel map size.
 
#define BLE_CHANNEL_MAP_LEN   5
 AFH Channel Map len.
 
#define BTM_BLE_DEFAULT_ADVERT_CHNL_MAP   (BTM_BLE_ADVERT_CHNL_37| BTM_BLE_ADVERT_CHNL_38| BTM_BLE_ADVERT_CHNL_39)
 default advertising channel map
 
#define BTM_BLE_ADVERT_FILTER_DEFAULT   BTM_BLE_ADV_POLICY_ACCEPT_CONN_AND_SCAN
 default advertising filter policy
 
#define BTM_BLE_ADVERT_INTERVAL_MIN   0x0020
 adv parameter Min value
 
#define BTM_BLE_ADVERT_INTERVAL_MAX   0x4000
 adv parameter Max value
 
#define BTM_BLE_SCAN_INTERVAL_MIN   0x0004
 Scan interval minimum value.
 
#define BTM_BLE_SCAN_INTERVAL_MAX   0x4000
 Scan interval miximum value.
 
#define BTM_BLE_SCAN_WINDOW_MIN   0x0004
 Scan window minimum value.
 
#define BTM_BLE_SCAN_WINDOW_MAX   0x4000
 Scan window maximum value.
 
#define BTM_BLE_CONN_INTERVAL_MIN   0x0006
 Connection interval minimum value.
 
#define BTM_BLE_CONN_INTERVAL_MAX   0x0C80
 Connection interval maximum value.
 
#define BTM_BLE_CONN_LATENCY_MAX   500
 Maximum Connection Latency.
 
#define BTM_BLE_CONN_SUP_TOUT_MIN   0x000A
 Minimum Supervision Timeout.
 
#define BTM_BLE_CONN_SUP_TOUT_MAX   0x0C80
 Maximum Supervision Timeout.
 
#define BTM_BLE_CONN_PARAM_UNDEF   0xffff
 use this value when a specific value not to be overwritten
 
#define BTM_BLE_CONN_SUP_TOUT_DEF   700
 Default Supervision Timeout.
 
#define BTM_BLE_SCAN_FAST_INTERVAL   96
 default scan interval 30 ~ 60 ms (use 60) = 96 *0.625
 
#define BTM_BLE_SCAN_FAST_WINDOW   48
 default scan window (in .625ms slots) for background auto connections 30 ms = 48 *0.625
 
#define BTM_BLE_SCAN_SLOW_INTERVAL_1   2048
 default scan interval used in reduced power cycle (background scanning) 1.28 s = 2048 *0.625
 
#define BTM_BLE_SCAN_SLOW_WINDOW_1   18
 default scan window used in reduced power cycle (background scanning) 11.25 ms = 18 *0.625
 
#define BTM_BLE_SCAN_SLOW_INTERVAL_2   4096
 default scan interval used in reduced power cycle (background scanning) 2.56 s = 4096 *0.625
 
#define BTM_BLE_SCAN_SLOW_WINDOW_2   36
 default scan window used in reduced power cycle (background scanning) 22.5 ms = 36 *0.625
 
#define BTM_BLE_CONN_INTERVAL_MIN_DEF   24
 default connection interval min recommended min: 30ms = 24 * 1.25
 
#define BTM_BLE_CONN_INTERVAL_MAX_DEF   40
 default connection interval max recommended max: 50 ms = 56 * 1.25
 
#define BTM_BLE_CONN_PERIPHERAL_LATENCY_DEF   0
 default Peripheral latency
 
#define BTM_BLE_CONN_TIMEOUT_DEF   2000
 default supervision timeout
 
#define BTM_BLE_AUTH_SIGNATURE_SIZE   12
 LE Signature LE data signature length 8 Bytes + 4 bytes counter.
 
#define BTM_BLE_POLICY_REJECT_ALL   0x00
 relevant to both
 
#define BTM_BLE_POLICY_ALLOW_SCAN   0x01
 relevant to advertiser
 
#define BTM_BLE_POLICY_ALLOW_CONN   0x02
 relevant to advertiser
 
#define BTM_BLE_POLICY_ALLOW_ALL   0x03
 relevant to both
 
#define BTM_BLE_LIMITED_DISCOVERABLE_FLAG   (0x01 << 0)
 Limited Discoverable.
 
#define BTM_BLE_GENERAL_DISCOVERABLE_FLAG   (0x01 << 1)
 General Discoverable.
 
#define BTM_BLE_BREDR_NOT_SUPPORTED   (0x01 << 2)
 BR/EDR Not Supported.
 
#define BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_CONTROLLER_SUPPORTED   (0x01 << 3)
 Simultaneous LE and BR/EDR to Same Device Capable (Controller). More...
 
#define BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_HOST_SUPPORTED   (0x01 << 4)
 Simultaneous LE and BR/EDR to Same Device Capable (Host). More...
 
#define BTM_BLE_NON_LIMITED_DISCOVERABLE_FLAG   (0x00 )
 Non Discoverable.
 
#define BTM_BLE_ADVERT_FLAG_MASK   (BTM_BLE_LIMITED_DISCOVERABLE_FLAG | BTM_BLE_BREDR_NOT_SUPPORTED | BTM_BLE_GENERAL_DISCOVERABLE_FLAG)
 LE adverisement mask.
 
#define BTM_BLE_LIMITED_DISCOVERABLE_MASK   (BTM_BLE_LIMITED_DISCOVERABLE_FLAG )
 LE Limited discovery mask.
 
#define BTM_BLE_PREFER_1M_PHY   0x01
 LE 1M PHY preference.
 
#define BTM_BLE_PREFER_2M_PHY   0x02
 LE 2M PHY preference.
 
#define BTM_BLE_PREFER_LELR_PHY   0x04
 LE LELR PHY preference.
 
#define BTM_BLE_PREFER_NO_LELR   0x0000
 No preferred coding.
 
#define BTM_BLE_PREFER_LELR_S2   0x0001
 Preferred coding is S=2, 500 kb/s.
 
#define BTM_BLE_PREFER_LELR_S8   0x0002
 Preferred coding is S=8, 125 kb/s.
 
#define BTM_BLE_PREFER_LELR_512K   BTM_BLE_PREFER_LELR_S2
 
#define BTM_BLE_PREFER_LELR_125K   BTM_BLE_PREFER_LELR_S8
 
#define MULTI_ADV_TX_POWER_MIN_INDEX   0
 Multi adv tx min power index.
 
#define MULTI_ADV_TX_POWER_MAX_INDEX   4
 Multi adv tx max power index.
 
#define WICED_BT_BLE_MAX_EXT_ADV_DATA_LEN   251
 ADV extension structures.
 
#define IS_CONNECTABLE_ADV_REPORT(x)   (x & (1 << 0))
 adv is connectable
 
#define IS_SCANNABLE_ADV_REPORT(x)   (x & (1 << 1))
 adv is scannable
 
#define IS_DIRECTED_ADV_REPORT(x)   (x & (1 << 2))
 directed adv
 
#define IS_SCAN_RSP_ADV_REPORT(x)   (x & (1 << 3))
 scan response
 
#define IS_LEGACY_ADV_REPORT(x)   (x & (1 << 4))
 legacy adv
 
#define IS_ADV_REPORT_DATA_STATUS_INCOMPLETE(x)   (x & (1 << 5))
 adv data incomplete, more data to come
 
#define IS_ADV_REPORT_DATA_STATUS_TRUNCATED(x)   (x & (2 << 5))
 Incomplete, data truncated, no more to come.
 
#define WICED_BT_MAX_PAWR_SUBEVENT_DATA_LEN   251
 Maximum PAWR Subevent data len.
 
#define BTM_INQ_RES_IGNORE_RSSI   0x7f
 RSSI value not supplied (ignore it)
 
#define BTM_SCAN_PARAM_IGNORE   0
 Passed to BTM_SetScanConfig() to ignore.
 
#define BTM_PIN_TYPE_VARIABLE   HCI_PIN_TYPE_VARIABLE
 Variable Pin Type.
 
#define BTM_PIN_TYPE_FIXED   HCI_PIN_TYPE_FIXED
 Fix Length Pin Type.
 
#define BTM_SECURITY_KEY_DATA_LEN   132
 Security key data length (used by wiced_bt_device_link_keys_t structure)
 
#define BTM_SECURITY_LOCAL_KEY_DATA_LEN   65
 Local security key data length (used by wiced_bt_local_identity_keys_t structure)
 
#define SMP_SEC_NONE   0
 LE Security key level. More...
 
#define SMP_SEC_UNAUTHENTICATE   (1 << 0)
 Security Key Level: key not authenticated.
 
#define SMP_SEC_AUTHENTICATED   (1 << 2)
 Security Key Level: key authenticated.
 
#define BTM_OOB_STATE
 OOB Data status.
 
#define BTM_OOB_REQ_TYPE
 Type of OOB data required.
 
#define BTM_LE_KEY_TYPES
 LE Key type.
 
#define BTM_BLE_SCAN_TYPE
 Scan duty cycle (used for BTM_BLE_SCAN_STATE_CHANGED_EVT and wiced_bt_dev_create_connection)
 
#define BTM_BLE_KEY_TYPE_ID   1
 Identity resolving key.
 
#define BTM_BLE_KEY_TYPE_ER   2
 Encryption root key.
 
#define BTM_PM_STATUS_CODES
 Power Management status codes.
 
#define WICED_POWER_STATE_ACTIVE   BTM_PM_STS_ACTIVE
 Power Management state. More...
 
#define WICED_POWER_STATE_SNIFF   BTM_PM_STS_SNIFF
 Sniff.
 
#define WICED_POWER_STATE_SSR   BTM_PM_STS_SSR
 Sniff subrating notification.
 
#define WICED_POWER_STATE_PENDING   BTM_PM_STS_PENDING
 Pending (waiting for status from controller)
 
#define WICED_POWER_STATE_ERROR   BTM_PM_STS_ERROR
 Error (controller returned error)
 
#define BTM_AFH_CHNL_MAP_SIZE   HCI_AFH_CHANNEL_MAP_LEN
 Channel Map Length.
 
#define BTM_MANAGEMENT_EVT
 Bluetooth Management event.
 
#define BTM_BLE_ADVERT_MODE
 advertisement type (used when calling wiced_bt_start_advertisements)
 
#define BTM_BLE_CONN_MODE
 scan mode used in initiating
 

Typedefs

typedef uint8_t wiced_bt_ble_chnl_map_t[BLE_CHANNEL_MAP_LEN]
 LE Channel Map.
 
typedef uint8_t wiced_bt_ble_scanner_filter_policy_t
 LE Scanner filter policy. More...
 
typedef uint8_t wiced_bt_ble_advert_filter_policy_t
 Advertising filter policy (see wiced_bt_ble_advert_filter_policy_e)
 
typedef uint8_t wiced_dev_ble_signature_t[BTM_BLE_AUTH_SIGNATURE_SIZE]
 Device address (see BTM_BLE_AUTH_SIGNATURE_SIZE)
 
typedef uint8_t wiced_bt_ble_advert_type_t
 LE advertisement data type (see wiced_bt_ble_advert_type_e)
 
typedef uint8_t wiced_bt_dev_ble_evt_type_t
 Scan result event value (see wiced_bt_dev_ble_evt_type_e)
 
typedef uint8_t wiced_bt_ble_conn_type_t
 Connection type (see wiced_bt_ble_conn_type_e)
 
typedef uint8_t wiced_bt_ble_sec_action_type_t
 LE security type. More...
 
typedef uint8_t wiced_bt_ble_host_phy_preferences_t
 Host preferences on PHY. More...
 
typedef uint16_t wiced_bt_ble_lelr_phy_preferences_t
 The PHY_options parameter is a bit field that allows the Host to specify options for LE long range PHY. More...
 
typedef int8_t wiced_bt_ble_adv_tx_power_t
 Transmit Power in dBm ( MULTI_ADV_TX_POWER_MIN_INDEX to MULTI_ADV_TX_POWER_MAX_INDEX )
 
typedef uint8_t wiced_bt_ble_multi_advert_type_t
 LE advertisement type (see wiced_bt_ble_multi_advert_type_e)
 
typedef uint8_t wiced_bt_ble_privacy_mode_t
 LE Privacy mode. More...
 
typedef uint8_t wiced_bt_ble_multi_advert_filtering_policy_t
 LE advertisement filtering policy (see wiced_bt_ble_multi_advert_filtering_policy_e)
 
typedef void() wiced_bt_ble_scan_result_cback_t(wiced_bt_ble_scan_results_t *p_scan_result, uint8_t *p_adv_data)
 Callback wiced_bt_ble_scan_result_cback_t. More...
 
typedef void() wiced_bt_ble_read_phy_complete_callback_t(wiced_bt_ble_phy_update_t *p_phy_result)
 Callback wiced_bt_ble_read_phy_complete_callback_t. More...
 
typedef uint8_t wiced_bt_ble_ext_adv_phy_t
 LE phy to be used for extended advertisement.
 
typedef uint8_t wiced_bt_ble_ext_adv_phy_mask_t
 LE phy mask to be used for extended advertisement.
 
typedef uint16_t wiced_bt_ble_ext_adv_event_property_t
 LE extended advertisement event property.
 
typedef uint8_t wiced_bt_ble_ext_adv_handle_t
 advertisement set handle value
 
typedef uint8_t wiced_bt_ble_ext_adv_sid_t
 SID value.
 
typedef uint8_t wiced_bt_ble_ext_adv_scan_req_notification_setting_t
 Enable or disable notification value (see wiced_bt_ble_ext_adv_scan_req_notification_setting_e)
 
typedef uint16_t wiced_bt_ble_periodic_adv_prop_t
 Periodic adv property (see wiced_bt_ble_periodic_adv_prop_e)
 
typedef uint8_t wiced_bt_ble_ext_scan_filter_duplicate_t
 Extended scan duplicate filter policy (see wiced_bt_ble_ext_scan_filter_duplicate_e)
 
typedef uint8_t wiced_bt_ble_ext_filter_policy_t
 Filter policy used. More...
 
typedef uint8_t wiced_bt_ble_adv_sync_options_t
 Options used in create periodic sync to periodic adv command (see wiced_bt_ble_adv_sync_options_e)
 
typedef uint8_t wiced_bt_ble_periodic_adv_sync_transfer_mode_t
 Mode used in create periodic sync to periodic adv command (see wiced_bt_ble_periodic_adv_sync_transfer_mode_e)
 
typedef uint8_t wiced_bt_ble_phy_adv_options_t
 Phy adv options to be set in wiced_bt_ble_set_ext_adv_params_v2.
 
typedef uint16_t wiced_bt_ble_periodic_adv_sync_handle_t
 Sync_Handle to be used to identify the periodic advertiser. More...
 
typedef uint16_t wiced_bt_ble_adv_report_event_mask_t
 Bit mask to identify the type of the adv received in extended adv report. More...
 
typedef uint8_t wiced_bt_ble_ext_adv_report_count_t
 Min and Max reports (see wiced_bt_ble_ext_adv_report_count_e)
 
typedef uint8_t wiced_bt_ble_advertiser_clock_accuracy_t
 Advertiser clock accuracy (see wiced_bt_ble_advertiser_clock_accuracy_e)
 
typedef wiced_bt_ble_periodic_adv_sync_handle_t wiced_bt_ble_connection_handle_t
 sync handle and connection handle are same range
 
typedef uint8_t wiced_bt_ble_channel_sel_algo_t
 LE channel algorithm selection (see wiced_bt_ble_channel_sel_algo_e)
 
typedef void(* wiced_bt_ble_adv_ext_event_cb_fp_t) (wiced_bt_ble_adv_ext_event_t event, wiced_bt_ble_adv_ext_event_data_t *p_data)
 Callback wiced_bt_ble_adv_ext_event_cb_fp_t. More...
 
typedef uint8_t wiced_bt_dev_io_cap_t
 IO capabilities.
 
typedef uint8_t wiced_bt_dev_auth_req_t
 BR/EDR authentication requirement (see wiced_bt_dev_auth_req_e)
 
typedef uint8_t wiced_bt_dev_le_auth_req_t
 LE authentication requirement (see wiced_bt_dev_le_auth_req_e)
 
typedef uint8_t wiced_bt_smp_sec_level_t
 LE Security key level.
 
typedef uint8_t wiced_bt_dev_oob_data_t
 OOB data (see wiced_bt_dev_oob_data_e)
 
typedef uint8_t wiced_bt_dev_oob_data_req_type_t
 OOB data type requested (see wiced_bt_dev_oob_data_req_type_t)
 
typedef uint8_t wiced_bt_dev_le_key_type_t
 LE key type (see wiced_bt_dev_le_key_type_e)
 
typedef uint8_t wiced_bt_ble_scan_type_t
 scan type (see wiced_bt_ble_scan_type_e)
 
typedef uint8_t wiced_bt_smp_status_t
 SMP Pairing status (see wiced_bt_smp_status_e)
 
typedef uint8_t wiced_bt_dev_power_mgmt_status_t
 Power management status (see wiced_bt_dev_power_mgmt_status_e)
 
typedef uint8_t wiced_bt_br_chnl_map_t[BTM_AFH_CHNL_MAP_SIZE]
 Array of Channel Map Length.
 
typedef uint8_t wiced_bt_management_evt_t
 Bluetooth management events (see wiced_bt_management_evt_e)
 
typedef uint8_t wiced_bt_link_quality_stats_param_t
 Link Quality Statistic Action (see wiced_bt_dev_link_quality_stats_param_e)
 
typedef uint16_t wiced_bt_link_policy_settings_t[1]
 Link Policy Settings type (see wiced_bt_link_policy_settings_values_e)
 
typedef uint8_t wiced_bt_ble_advert_mode_t
 Advertisement type (see wiced_bt_ble_advert_mode_e)
 
typedef uint8_t wiced_bt_ble_conn_mode_t
 Conn mode (see wiced_bt_ble_conn_mode_e)
 
typedef wiced_result_t() wiced_bt_management_cback_t(wiced_bt_management_evt_t event, wiced_bt_management_evt_data_t *p_event_data)
 Bluetooth Management callback. More...
 
typedef void() wiced_bt_connection_status_change_cback_t(wiced_bt_device_address_t bd_addr, uint8_t *p_features, wiced_bool_t is_connected, uint16_t handle, wiced_bt_transport_t transport, uint8_t reason)
 Connection status change callback. More...
 
typedef void() wiced_bt_inquiry_result_cback_t(wiced_bt_dev_inquiry_scan_result_t *p_inquiry_result, uint8_t *p_eir_data)
 Inquiry result callback. More...
 
typedef void() wiced_bt_dev_cmpl_cback_t(void *p_data)
 Asynchronous operation complete callback. More...
 
typedef void() wiced_bt_dev_vendor_specific_command_complete_cback_t(wiced_bt_dev_vendor_specific_command_complete_params_t *p_command_complete_params)
 Vendor specific command complete. More...
 
typedef void() wiced_bt_remote_name_cback_t(wiced_bt_dev_remote_name_result_t *p_remote_name_result)
 Remote name result callback. More...
 
typedef void() wiced_bt_dev_vse_callback_t(uint8_t len, uint8_t *p)
 Vendor event handler callback. More...
 
typedef void() wiced_bt_hci_trace_cback_t(wiced_bt_hci_trace_type_t type, uint16_t length, uint8_t *p_data)
 HCI trace callback. More...
 

Enumerations

enum  wiced_bt_ble_scanner_filter_policy_e {
  BTM_BLE_SCAN_POLICY_ACCEPT_ADV_RSP,
  BTM_BLE_SCAN_POLICY_FILTER_ADV_RSP,
  BTM_BLE_SCAN_POLICY_ACCEPT_RPA_DIR_ADV_RSP,
  BTM_BLE_SCAN_POLICY_FILTER_RPA_DIR_ADV_RSP,
  BTM_BLE_SCAN_POLICY_MAX
}
 Scanner filter policy. More...
 
enum  wiced_bt_ble_advert_filter_policy_e {
  BTM_BLE_ADV_POLICY_ACCEPT_CONN_AND_SCAN = 0x00,
  BTM_BLE_ADV_POLICY_ACCEPT_CONN_FILTER_SCAN = 0x01,
  BTM_BLE_ADV_POLICY_FILTER_CONN_ACCEPT_SCAN = 0x02,
  BTM_BLE_ADV_POLICY_FILTER_CONN_FILTER_SCAN = 0x03,
  BTM_BLE_ADV_POLICY_MAX
}
 Advertising filter policy. More...
 
enum  wiced_bt_ble_advert_type_e {
  BTM_BLE_ADVERT_TYPE_FLAG = 0x01,
  BTM_BLE_ADVERT_TYPE_16SRV_PARTIAL = 0x02,
  BTM_BLE_ADVERT_TYPE_16SRV_COMPLETE = 0x03,
  BTM_BLE_ADVERT_TYPE_32SRV_PARTIAL = 0x04,
  BTM_BLE_ADVERT_TYPE_32SRV_COMPLETE = 0x05,
  BTM_BLE_ADVERT_TYPE_128SRV_PARTIAL = 0x06,
  BTM_BLE_ADVERT_TYPE_128SRV_COMPLETE = 0x07,
  BTM_BLE_ADVERT_TYPE_NAME_SHORT = 0x08,
  BTM_BLE_ADVERT_TYPE_NAME_COMPLETE = 0x09,
  BTM_BLE_ADVERT_TYPE_TX_POWER = 0x0A,
  BTM_BLE_ADVERT_TYPE_DEV_CLASS = 0x0D,
  BTM_BLE_ADVERT_TYPE_SIMPLE_PAIRING_HASH_C = 0x0E,
  BTM_BLE_ADVERT_TYPE_SIMPLE_PAIRING_RAND_C = 0x0F,
  BTM_BLE_ADVERT_TYPE_SM_TK = 0x10,
  BTM_BLE_ADVERT_TYPE_SM_OOB_FLAG = 0x11,
  BTM_BLE_ADVERT_TYPE_INTERVAL_RANGE = 0x12,
  BTM_BLE_ADVERT_TYPE_SOLICITATION_SRV_UUID = 0x14,
  BTM_BLE_ADVERT_TYPE_128SOLICITATION_SRV_UUID = 0x15,
  BTM_BLE_ADVERT_TYPE_SERVICE_DATA = 0x16,
  BTM_BLE_ADVERT_TYPE_PUBLIC_TARGET = 0x17,
  BTM_BLE_ADVERT_TYPE_RANDOM_TARGET = 0x18,
  BTM_BLE_ADVERT_TYPE_APPEARANCE = 0x19,
  BTM_BLE_ADVERT_TYPE_ADVERT_INTERVAL = 0x1a,
  BTM_BLE_ADVERT_TYPE_LE_BD_ADDR = 0x1b,
  BTM_BLE_ADVERT_TYPE_LE_ROLE = 0x1c,
  BTM_BLE_ADVERT_TYPE_256SIMPLE_PAIRING_HASH = 0x1d,
  BTM_BLE_ADVERT_TYPE_256SIMPLE_PAIRING_RAND = 0x1e,
  BTM_BLE_ADVERT_TYPE_32SOLICITATION_SRV_UUID = 0x1f,
  BTM_BLE_ADVERT_TYPE_32SERVICE_DATA = 0x20,
  BTM_BLE_ADVERT_TYPE_128SERVICE_DATA = 0x21,
  BTM_BLE_ADVERT_TYPE_CONN_CONFIRM_VAL = 0x22,
  BTM_BLE_ADVERT_TYPE_CONN_RAND_VAL = 0x23,
  BTM_BLE_ADVERT_TYPE_URI = 0x24,
  BTM_BLE_ADVERT_TYPE_INDOOR_POS = 0x25,
  BTM_BLE_ADVERT_TYPE_TRANS_DISCOVER_DATA = 0x26,
  BTM_BLE_ADVERT_TYPE_SUPPORTED_FEATURES = 0x27,
  BTM_BLE_ADVERT_TYPE_UPDATE_CH_MAP_IND = 0x28,
  BTM_BLE_ADVERT_TYPE_PB_ADV = 0x29,
  BTM_BLE_ADVERT_TYPE_MESH_MSG = 0x2A,
  BTM_BLE_ADVERT_TYPE_MESH_BEACON = 0x2B,
  BTM_BLE_ADVERT_TYPE_PSRI = 0x2E,
  BTM_BLE_ADVERT_TYPE_EAD = 0x31,
  BTM_BLE_ADVERT_TYPE_3D_INFO_DATA = 0x3D,
  BTM_BLE_ADVERT_TYPE_MANUFACTURER = 0xFF
}
 Advertisement data types. More...
 
enum  wiced_bt_ble_sec_flags_e {
  BTM_SEC_LE_LINK_ENCRYPTED = 0x01,
  BTM_SEC_LE_LINK_PAIRED_WITHOUT_MITM = 0x02,
  BTM_SEC_LE_LINK_PAIRED_WITH_MITM = 0x04
}
 security settings used with L2CAP LE COC More...
 
enum  wiced_bt_dev_ble_evt_type_e {
  BTM_BLE_EVT_CONNECTABLE_ADVERTISEMENT = 0x00,
  BTM_BLE_EVT_CONNECTABLE_DIRECTED_ADVERTISEMENT = 0x01,
  BTM_BLE_EVT_SCANNABLE_ADVERTISEMENT = 0x02,
  BTM_BLE_EVT_NON_CONNECTABLE_ADVERTISEMENT = 0x03,
  BTM_BLE_EVT_SCAN_RSP = 0x04
}
 Scan result event type. More...
 
enum  wiced_bt_ble_conn_type_e {
  BTM_BLE_CONN_NONE,
  BTM_BLE_CONN_AUTO,
  BTM_BLE_CONN_SELECTIVE = BTM_BLE_CONN_AUTO
}
 Background connection type. More...
 
enum  wiced_bt_ble_sec_action_type_e {
  BTM_BLE_SEC_NONE,
  BTM_BLE_SEC_ENCRYPT,
  BTM_BLE_SEC_ENCRYPT_NO_MITM,
  BTM_BLE_SEC_ENCRYPT_MITM
}
 LE encryption method. More...
 
enum  wiced_bt_ble_multi_advert_start_e {
  MULTI_ADVERT_STOP = 0x00,
  MULTI_ADVERT_START = 0x01
}
 Multi-advertisement start/stop. More...
 
enum  wiced_bt_ble_multi_advert_type_e {
  MULTI_ADVERT_CONNECTABLE_UNDIRECT_EVENT = 0x00,
  MULTI_ADVERT_CONNECTABLE_DIRECT_EVENT = 0x01,
  MULTI_ADVERT_DISCOVERABLE_EVENT = 0x02,
  MULTI_ADVERT_NONCONNECTABLE_EVENT = 0x03,
  MULTI_ADVERT_LOW_DUTY_CYCLE_DIRECT_EVENT = 0x04
}
 Multi-advertisement type. More...
 
enum  wiced_bt_ble_privacy_e {
  BTM_BLE_PRIVACY_MODE_NETWORK,
  BTM_BLE_PRIVACY_MODE_DEVICE
}
 Privacy mode refer Spec version 5.0 Vol 3 Part C Section 10.7 privacy feature. More...
 
enum  wiced_bt_ble_multi_advert_filtering_policy_e {
  MULTI_ADVERT_FILTER_POLICY_NOT_USED = 0x00,
  MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_CONNECTION = 0x01,
  MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_SCANNING = 0x02,
  MULTI_ADVERT_FILTER_POLICY_USE_FOR_ALL = 0x03
}
 Multi-advertisement Filtering policy. More...
 
enum  {
  WICED_BT_BLE_EXT_ADV_PHY_1M = 0x1,
  WICED_BT_BLE_EXT_ADV_PHY_2M = 0x2,
  WICED_BT_BLE_EXT_ADV_PHY_LE_CODED = 0x3,
  WICED_BT_BLE_EXT_ADV_NUM_PHYS = 0x3
}
 LE PHY. More...
 
enum  {
  WICED_BT_BLE_EXT_ADV_PHY_1M_BIT = (1 << 0),
  WICED_BT_BLE_EXT_ADV_PHY_2M_BIT = (1 << 1),
  WICED_BT_BLE_EXT_ADV_PHY_LE_CODED_BIT = (1 << 2)
}
 LE PHY bit mask. More...
 
enum  {
  WICED_BT_BLE_EXT_ADV_EVENT_CONNECTABLE_ADV = (1 << 0),
  WICED_BT_BLE_EXT_ADV_EVENT_SCANNABLE_ADV = (1 << 1),
  WICED_BT_BLE_EXT_ADV_EVENT_DIRECTED_ADV = (1 << 2),
  WICED_BT_BLE_EXT_ADV_EVENT_HIGH_DUTY_DIRECTED_CONNECTABLE_ADV = (1 << 3),
  WICED_BT_BLE_EXT_ADV_EVENT_LEGACY_ADV = (1 << 4),
  WICED_BT_BLE_EXT_ADV_EVENT_ANONYMOUS_ADV = (1 << 5),
  WICED_BT_BLE_EXT_ADV_EVENT_INCLUDE_TX_POWER = (1 << 6)
}
 Advertising event properties: Describes the type of advertising event that is being configured and its basic properties. More...
 
enum  {
  WICED_BT_BLE_EXT_ADV_HANDLE_MIN = 0x00,
  WICED_BT_BLE_EXT_ADV_HANDLE_MAX = 0xef
}
 Advertisement set handle to identify adv set b/n host and controller. More...
 
enum  {
  WICED_BT_BLE_EXT_ADV_SID_MIN = 0x00,
  WICED_BT_BLE_EXT_ADV_SID_MAX = 0x0f
}
 The Advertising set identifier(SID) is used to uniquely identify adv sets from advertiser. More...
 
enum  wiced_bt_ble_ext_adv_scan_req_notification_setting_e {
  WICED_BT_BLE_EXT_ADV_SCAN_REQ_NOTIFY_DISABLE = 0x00,
  WICED_BT_BLE_EXT_ADV_SCAN_REQ_NOTIFY_ENABLE = 0x01
}
 Value to configure to receive scan request recived notification. More...
 
enum  wiced_bt_ble_periodic_adv_prop_e { WICED_BT_BLE_PERIODIC_ADV_PROPERTY_INCLUDE_TX_POWER = (1 << 6) }
 Periodic adv property. More...
 
enum  wiced_bt_ble_ext_scan_filter_duplicate_e {
  WICED_BT_BLE_EXT_SCAN_FILTER_DUPLICATE_DISABLE,
  WICED_BT_BLE_EXT_SCAN_FILTER_DUPLICATE_ENABLE,
  WICED_BT_BLE_EXT_SCAN_FILTER_DUPLICATE_ENABLE_RESET_ON_SCAN_PERIOD
}
 Extended scan duplicate filter policy. More...
 
enum  wiced_bt_ble_ext_filter_policy_e {
  WICED_BT_BLE_IGNORE_FILTER_ACCEPT_LIST_FOR_CONNS = 0,
  WICED_BT_BLE_USE_FILTER_ACCEPT_LIST_FOR_CONNS = 1
}
 Filter policy used in extended create connection command. More...
 
enum  wiced_bt_ble_adv_sync_options_e {
  WICED_BT_BLE_IGNORE_SYNC_TO_PERIODIC_ADV_LIST,
  WICED_BT_BLE_SYNC_TO_PERIODIC_ADV_LIST = 1
}
 Options used in create periodic sync to periodic adv command. More...
 
enum  wiced_bt_ble_periodic_adv_sync_transfer_mode_e {
  WICED_BT_BLE_IGNORE_PA_SYNC_TRANSFER_EVT,
  WICED_BT_BLE_ENABLE_PA_SYNC_TRANSFER_DISABLE_PA_REPORT_EVT,
  WICED_BT_BLE_ENABLE_PA_SYNC_TRANSFER_ENABLE_PA_REPORT_EVT
}
 Mode used in Periodic Advertising Sync Transfer Parameters. More...
 
enum  {
  WICED_BT_BLE_PHY_ADV_OPTIONS_NO_PREFERENCE = 0,
  WICED_BT_BLE_PHY_ADV_OPTIONS_PREFER_S2 = 1,
  WICED_BT_BLE_PHY_ADV_OPTIONS_PREFER_S8 = 2,
  WICED_BT_BLE_PHY_ADV_OPTIONS_REQUIRE_S2 = 3,
  WICED_BT_BLE_PHY_ADV_OPTIONS_REQUIRE_S8 = 4
}
 
enum  {
  PERIODIC_SYNC_HANDLE_MIN = 0,
  PERIODIC_SYNC_HANDLE_MAX = 0x0EFF
}
 When controller receives succesfully periodic adv event based on create sync to periodic advertiser command, sync handle get generated by controller and reported in periodic sync established event scanner uniquely identifies periodic adv data from adv reports using this handle and advertismenet set id(SID)
 
enum  wiced_bt_ble_ext_adv_report_count_e {
  ADV_REP_EVT_COUNT_MIN = 1,
  ADV_REP_EVT_COUNT_MAX = 10
}
 Min and Max possible number of reports in LE extended adv report event. More...
 
enum  wiced_bt_ble_advertiser_clock_accuracy_e {
  ADVERTISER_CLK_ACCURACY_500PPM,
  ADVERTISER_CLK_ACCURACY_250PPM,
  ADVERTISER_CLK_ACCURACY_150PPM,
  ADVERTISER_CLK_ACCURACY_100PPM,
  ADVERTISER_CLK_ACCURACY_75PPM,
  ADVERTISER_CLK_ACCURACY_50PPM,
  ADVERTISER_CLK_ACCURACY_30PPM,
  ADVERTISER_CLK_ACCURACY_20PPM
}
 Advertiser clock accuracy.
 
enum  wiced_bt_ble_channel_sel_algo_e {
  LE_CHANNEL_SEL_ALGO_1_USED,
  LE_CHANNEL_SEL_ALGO_2_USED
}
 LE channel selection algorithms. More...
 
enum  wiced_bt_ble_adv_ext_event_t {
  WICED_BT_BLE_PERIODIC_ADV_SYNC_ESTABLISHED_EVENT,
  WICED_BT_BLE_PERIODIC_ADV_REPORT_EVENT,
  WICED_BT_BLE_PERIODIC_ADV_SYNC_LOST_EVENT,
  WICED_BT_BLE_ADV_SET_TERMINATED_EVENT,
  WICED_BT_BLE_SCAN_REQUEST_RECEIVED_EVENT,
  WICED_BT_BLE_CHANNEL_SEL_ALGO_EVENT,
  WICED_BT_BLE_BIGINFO_ADV_REPORT_EVENT,
  WICED_BT_BLE_PERIODIC_ADV_SYNC_TRANSFER_EVENT,
  WICED_BT_BLE_PAWR_SYNC_ESTABLISHED_EVENT,
  WICED_BT_BLE_PAWR_SUBEVENT_DATA_REQ_EVENT,
  WICED_BT_BLE_PAWR_IND_REPORT_EVENT,
  WICED_BT_BLE_PAWR_RSP_REPORT_EVENT
}
 ADV extension events to the application. More...
 
enum  wiced_bt_sec_flags_e {
  BTM_SEC_LINK_ENCRYPTED = 0x01,
  BTM_SEC_LINK_PAIRED_WITHOUT_MITM = 0x02,
  BTM_SEC_LINK_PAIRED_WITH_MITM = 0x04
}
 security flags for current BR/EDR link More...
 
enum  wiced_bt_dev_io_cap_e {
  BTM_IO_CAPABILITIES_DISPLAY_ONLY = 0,
  BTM_IO_CAPABILITIES_DISPLAY_AND_YES_NO_INPUT = 1,
  BTM_IO_CAPABILITIES_KEYBOARD_ONLY = 2,
  BTM_IO_CAPABILITIES_NONE = 3,
  BTM_IO_CAPABILITIES_BLE_DISPLAY_AND_KEYBOARD_INPUT = 4,
  BTM_IO_CAPABILITIES_MAX = 5
}
 Pairing IO Capabilities. More...
 
enum  wiced_bt_dev_auth_req_e {
  BTM_AUTH_SINGLE_PROFILE_NO = 0,
  BTM_AUTH_SINGLE_PROFILE_YES = 1,
  BTM_AUTH_ALL_PROFILES_NO = 2,
  BTM_AUTH_ALL_PROFILES_YES = 3,
  BTM_AUTH_SINGLE_PROFILE_GENERAL_BONDING_NO = 4,
  BTM_AUTH_SINGLE_PROFILE_GENERAL_BONDING_YES = 5
}
 BR/EDR Authentication requirement. More...
 
enum  wiced_bt_dev_le_auth_req_e {
  BTM_LE_AUTH_REQ_NO_BOND = 0x00,
  BTM_LE_AUTH_REQ_BOND = 0x01,
  BTM_LE_AUTH_REQ_MITM = 0x04,
  BTM_LE_AUTH_REQ_SC = 0x08,
  BTM_LE_AUTH_REQ_KP = 0x10,
  BTM_LE_AUTH_REQ_H7 = 0x20,
  BTM_LE_AUTH_REQ_SC_BOND = (BTM_LE_AUTH_REQ_SC|BTM_LE_AUTH_REQ_BOND),
  BTM_LE_AUTH_REQ_SC_MITM = (BTM_LE_AUTH_REQ_SC|BTM_LE_AUTH_REQ_MITM),
  BTM_LE_AUTH_REQ_SC_MITM_BOND = (BTM_LE_AUTH_REQ_SC|BTM_LE_AUTH_REQ_MITM|BTM_LE_AUTH_REQ_BOND),
  BTM_LE_AUTH_REQ_MASK = 0x3D
}
 LE Authentication requirement. More...
 
enum  wiced_bt_dev_oob_data_e {
  BTM_OOB_NONE,
  BTM_OOB_PRESENT_192,
  BTM_OOB_PRESENT_256,
  BTM_OOB_PRESENT_192_256,
  BTM_OOB_UNKNOWN
}
 OOB Data status. More...
 
enum  wiced_bt_dev_oob_data_req_type_e {
  BTM_OOB_INVALID_TYPE,
  BTM_OOB_PEER,
  BTM_OOB_LOCAL,
  BTM_OOB_BOTH
}
 Type of OOB data required. More...
 
enum  wiced_bt_dev_le_key_type_e {
  BTM_LE_KEY_PENC = (1 << 0),
  BTM_LE_KEY_PID = (1 << 1),
  BTM_LE_KEY_PCSRK = (1 << 2),
  BTM_LE_KEY_PLK = (1 << 3),
  BTM_LE_KEY_LENC = (1 << 4),
  BTM_LE_KEY_LID = (1 << 5),
  BTM_LE_KEY_LCSRK = (1 << 6),
  BTM_LE_KEY_LLK = (1 << 7)
}
 LE Key type. More...
 
enum  wiced_bt_ble_scan_type_e {
  BTM_BLE_SCAN_TYPE_NONE,
  BTM_BLE_SCAN_TYPE_HIGH_DUTY,
  BTM_BLE_SCAN_TYPE_LOW_DUTY,
  BTM_BLE_SCAN_TYPE_LIMITED_HIGH_DUTY,
  BTM_BLE_SCAN_TYPE_LIMITED_LOW_DUTY
}
 Scan duty cycle (used for BTM_BLE_SCAN_STATE_CHANGED_EVT and wiced_bt_dev_create_connection) More...
 
enum  wiced_bt_smp_status_e {
  SMP_SUCCESS = 0,
  SMP_PASSKEY_ENTRY_FAIL = 0x01,
  SMP_OOB_FAIL = 0x02,
  SMP_PAIR_AUTH_FAIL = 0x03,
  SMP_CONFIRM_VALUE_ERR = 0x04,
  SMP_PAIR_NOT_SUPPORT = 0x05,
  SMP_ENC_KEY_SIZE = 0x06,
  SMP_INVALID_CMD = 0x07,
  SMP_PAIR_FAIL_UNKNOWN = 0x08,
  SMP_REPEATED_ATTEMPTS = 0x09,
  SMP_INVALID_PARAMETERS = 0x0A,
  SMP_DHKEY_CHK_FAIL = 0x0B,
  SMP_NUMERIC_COMPAR_FAIL = 0x0C,
  SMP_BR_PAIRING_IN_PROGR = 0x0D,
  SMP_XTRANS_DERIVE_NOT_ALLOW = 0x0E,
  SMP_MAX_FAIL_RSN_PER_SPEC = SMP_XTRANS_DERIVE_NOT_ALLOW,
  SMP_PAIR_INTERNAL_ERR = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x01),
  SMP_UNKNOWN_IO_CAP = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x02),
  SMP_INIT_FAIL = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x03),
  SMP_CONFIRM_FAIL = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x04),
  SMP_BUSY = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x05),
  SMP_ENC_FAIL = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x06),
  SMP_STARTED = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x07),
  SMP_RSP_TIMEOUT = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x08),
  SMP_FAIL = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x09),
  SMP_CONN_TOUT = (SMP_MAX_FAIL_RSN_PER_SPEC + 0x0A)
}
 SMP Pairing status codes. More...
 
enum  wiced_bt_multi_adv_opcodes_t {
  SET_ADVT_PARAM_MULTI = 1,
  SET_ADVT_DATA_MULTI = 2,
  SET_SCAN_RESP_DATA_MULTI = 3,
  SET_RANDOM_ADDR_MULTI = 4,
  SET_ADVT_ENABLE_MULTI = 5
}
 LE Multi adv opcodes returned. More...
 
enum  wiced_bt_dev_power_mgmt_status_e {
  BTM_PM_STS_ACTIVE = HCI_MODE_ACTIVE,
  BTM_PM_STS_HOLD = HCI_MODE_HOLD,
  BTM_PM_STS_SNIFF = HCI_MODE_SNIFF,
  BTM_PM_STS_PARK = HCI_MODE_PARK,
  BTM_PM_STS_SSR,
  BTM_PM_STS_PENDING,
  BTM_PM_STS_ERROR
}
 Power Management status. More...
 
enum  wiced_bt_management_evt_e {
  BTM_ENABLED_EVT,
  BTM_DISABLED_EVT,
  BTM_POWER_MANAGEMENT_STATUS_EVT,
  BTM_RE_START_EVT,
  BTM_PIN_REQUEST_EVT,
  BTM_USER_CONFIRMATION_REQUEST_EVT,
  BTM_PASSKEY_NOTIFICATION_EVT,
  BTM_PASSKEY_REQUEST_EVT,
  BTM_KEYPRESS_NOTIFICATION_EVT,
  BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT,
  BTM_PAIRING_IO_CAPABILITIES_BR_EDR_RESPONSE_EVT,
  BTM_PAIRING_IO_CAPABILITIES_BLE_REQUEST_EVT,
  BTM_PAIRING_COMPLETE_EVT,
  BTM_ENCRYPTION_STATUS_EVT,
  BTM_SECURITY_REQUEST_EVT,
  BTM_SECURITY_FAILED_EVT,
  BTM_SECURITY_ABORTED_EVT,
  BTM_READ_LOCAL_OOB_DATA_COMPLETE_EVT,
  BTM_REMOTE_OOB_DATA_REQUEST_EVT,
  BTM_PAIRED_DEVICE_LINK_KEYS_UPDATE_EVT,
  BTM_PAIRED_DEVICE_LINK_KEYS_REQUEST_EVT,
  BTM_LOCAL_IDENTITY_KEYS_UPDATE_EVT,
  BTM_LOCAL_IDENTITY_KEYS_REQUEST_EVT,
  BTM_BLE_SCAN_STATE_CHANGED_EVT,
  BTM_BLE_ADVERT_STATE_CHANGED_EVT,
  BTM_SMP_REMOTE_OOB_DATA_REQUEST_EVT,
  BTM_SMP_SC_REMOTE_OOB_DATA_REQUEST_EVT,
  BTM_SMP_SC_LOCAL_OOB_DATA_NOTIFICATION_EVT,
  BTM_SCO_CONNECTED_EVT,
  BTM_SCO_DISCONNECTED_EVT,
  BTM_SCO_CONNECTION_REQUEST_EVT,
  BTM_SCO_CONNECTION_CHANGE_EVT,
  BTM_BLE_CONNECTION_PARAM_UPDATE,
  BTM_BLE_PHY_UPDATE_EVT,
  BTM_LPM_STATE_LOW_POWER,
  BTM_MULTI_ADVERT_RESP_EVENT,
  BTM_BLE_DATA_LENGTH_UPDATE_EVENT,
  BTM_BLE_SUBRATE_CHANGE_EVENT,
  BTM_BLE_DEVICE_ADDRESS_UPDATE_EVENT
}
 Bluetooth Management events used in wiced_bt_management_cback_t. More...
 
enum  wiced_bt_dev_link_quality_stats_param_e {
  WICED_CLEAR_LINK_QUALITY_STATS = 0,
  WICED_READ_LINK_QUALITY_STATS = 1,
  WICED_READ_THEN_CLEAR_LINK_QUALITY_STATS = 2
}
 Link Quality statistics action type. More...
 
enum  wiced_bt_link_policy_settings_values_e {
  WICED_ENABLE_ROLE_SWITCH = 0x01,
  WICED_ENABLE_HOLD_MODE = 0x02,
  WICED_ENABLE_SNIFF_MODE = 0x04
}
 .Enumeration of known link policy settings value assignments of the wiced_bt_link_policy_settings_t More...
 
enum  wiced_bt_ble_advert_mode_e {
  BTM_BLE_ADVERT_OFF,
  BTM_BLE_ADVERT_DIRECTED_HIGH,
  BTM_BLE_ADVERT_DIRECTED_LOW,
  BTM_BLE_ADVERT_UNDIRECTED_HIGH,
  BTM_BLE_ADVERT_UNDIRECTED_LOW,
  BTM_BLE_ADVERT_NONCONN_HIGH,
  BTM_BLE_ADVERT_NONCONN_LOW,
  BTM_BLE_ADVERT_DISCOVERABLE_HIGH,
  BTM_BLE_ADVERT_DISCOVERABLE_LOW
}
 advertisement type (used when calling wiced_bt_start_advertisements) More...
 
enum  wiced_bt_ble_conn_mode_e {
  BLE_CONN_MODE_OFF,
  BLE_CONN_MODE_LOW_DUTY,
  BLE_CONN_MODE_HIGH_DUTY
}
 scan mode used in initiating More...
 
enum  wiced_bt_hci_trace_type_t {
  HCI_TRACE_EVENT,
  HCI_TRACE_COMMAND,
  HCI_TRACE_INCOMING_ACL_DATA,
  HCI_TRACE_OUTGOING_ACL_DATA,
  HCI_TRACE_INCOMING_ISO_DATA,
  HCI_TRACE_OUTGOING_ISO_DATA,
  HCI_TRACE_INCOMING_SCO_DATA,
  HCI_TRACE_OUTGOING_SCO_DATA
}
 HCI trace types. More...
 

Macro Definition Documentation

◆ BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_CONTROLLER_SUPPORTED

#define BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_CONTROLLER_SUPPORTED   (0x01 << 3)

Simultaneous LE and BR/EDR to Same Device Capable (Controller).

◆ BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_HOST_SUPPORTED

#define BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_HOST_SUPPORTED   (0x01 << 4)

Simultaneous LE and BR/EDR to Same Device Capable (Host).

◆ BTM_BLE_PREFER_LELR_512K

#define BTM_BLE_PREFER_LELR_512K   BTM_BLE_PREFER_LELR_S2
Note
BTM_BLE_PREFER_LELR_512K and BTM_BLE_PREFER_LELR_125K are going to be deprecated. Use BTM_BLE_PREFER_LELR_S2 and BTM_BLE_PREFER_LELR_S8 instead.
To be deprecated use BTM_BLE_PREFER_LELR_S2

◆ BTM_BLE_PREFER_LELR_125K

#define BTM_BLE_PREFER_LELR_125K   BTM_BLE_PREFER_LELR_S8
Note
To be deprecated use BTM_BLE_PREFER_LELR_S8

◆ SMP_SEC_NONE

#define SMP_SEC_NONE   0

LE Security key level.

Security Key Level: None

◆ WICED_POWER_STATE_ACTIVE

#define WICED_POWER_STATE_ACTIVE   BTM_PM_STS_ACTIVE

Power Management state.

Active

Typedef Documentation

◆ wiced_bt_ble_scanner_filter_policy_t

LE Scanner filter policy.

Scanner filter policy (see wiced_bt_ble_scanner_filter_policy_e)

◆ wiced_bt_ble_sec_action_type_t

LE security type.

refer wiced_bt_ble_sec_action_type_e

◆ wiced_bt_ble_host_phy_preferences_t

Host preferences on PHY.

bit field that indicates the transmitter PHYs that the Host prefers the Controller to use.Bit number 3 -7 reserved for future.

◆ wiced_bt_ble_lelr_phy_preferences_t

The PHY_options parameter is a bit field that allows the Host to specify options for LE long range PHY.

Default connection is with no LE coded PHY.The Controller may override any preferred coding (S2 coded phy for 512k speed and s8 coded phy for 128K) for transmitting on the LE Coded PHY. The Host may specify a preferred coding even if it prefers not to use the LE Coded transmitter PHY since the Controller may override the PHY preference. Bit 2-15 reserved for future use.

Note
These preferences applicable only when BTM_BLE_PREFER_LELR_PHY flag is set

◆ wiced_bt_ble_privacy_mode_t

typedef uint8_t wiced_bt_ble_privacy_mode_t

LE Privacy mode.

Refer wiced_bt_ble_privacy_e

◆ wiced_bt_ble_scan_result_cback_t

typedef void() wiced_bt_ble_scan_result_cback_t(wiced_bt_ble_scan_results_t *p_scan_result, uint8_t *p_adv_data)

Callback wiced_bt_ble_scan_result_cback_t.

Scan result callback (from calling wiced_bt_ble_scan)

Parameters
p_scan_result: scan result data (NULL indicates end of scanning)
p_adv_data: Advertisement data (parse using wiced_bt_ble_check_advertising_data)
Returns
Nothing

◆ wiced_bt_ble_read_phy_complete_callback_t

typedef void() wiced_bt_ble_read_phy_complete_callback_t(wiced_bt_ble_phy_update_t *p_phy_result)

Callback wiced_bt_ble_read_phy_complete_callback_t.

read phy complete callback (from calling wiced_bt_ble_read_phy)

Parameters
p_phy_result: read phys result
Returns
Nothing

◆ wiced_bt_ble_ext_filter_policy_t

Filter policy used.

(see wiced_bt_ble_ext_filter_policy_e)

◆ wiced_bt_ble_periodic_adv_sync_handle_t

Sync_Handle to be used to identify the periodic advertiser.

Range: 0x0000-0x0EFF

◆ wiced_bt_ble_adv_report_event_mask_t

Bit mask to identify the type of the adv received in extended adv report.

(see wiced_bt_ble_ext_adv_report_t) event_type filed

◆ wiced_bt_ble_adv_ext_event_cb_fp_t

typedef void(* wiced_bt_ble_adv_ext_event_cb_fp_t) (wiced_bt_ble_adv_ext_event_t event, wiced_bt_ble_adv_ext_event_data_t *p_data)

Callback wiced_bt_ble_adv_ext_event_cb_fp_t.

Adv extension command status, command complete event and LE adv extension meta event callback

Parameters
event: Event type (see wiced_bt_ble_adv_ext_event_t)
p_data: Event data (see wiced_bt_ble_adv_ext_event_data_t)
Returns
Nothing

◆ wiced_bt_management_cback_t

typedef wiced_result_t() wiced_bt_management_cback_t(wiced_bt_management_evt_t event, wiced_bt_management_evt_data_t *p_event_data)

Bluetooth Management callback.

Callback for Bluetooth Management event notifications. Registered using wiced_bt_stack_init()

Parameters
event: Event ID
p_event_data: Event data
Returns
Status of event handling

◆ wiced_bt_connection_status_change_cback_t

typedef void() wiced_bt_connection_status_change_cback_t(wiced_bt_device_address_t bd_addr, uint8_t *p_features, wiced_bool_t is_connected, uint16_t handle, wiced_bt_transport_t transport, uint8_t reason)

Connection status change callback.

Callback for Bluetooth Management event notifications. Registered using wiced_bt_register_connection_status_change()

Parameters
[in]bd_addr: BD Address of remote
[in]p_features: unused (NULL)
[in]is_connected: TRUE if connected
[in]handle: Connection handle
[in]transport: BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE
[in]reason: status for acl connection change
HCI_SUCCESS
HCI_ERR_PAGE_TIMEOUT
HCI_ERR_MEMORY_FULL
HCI_ERR_CONNECTION_TOUT
HCI_ERR_PEER_USER
HCI_ERR_CONN_CAUSE_LOCAL_HOST
HCI_ERR_LMP_RESPONSE_TIMEOUT
HCI_ERR_CONN_FAILED_ESTABLISHMENT
connection status change callback

◆ wiced_bt_inquiry_result_cback_t

typedef void() wiced_bt_inquiry_result_cback_t(wiced_bt_dev_inquiry_scan_result_t *p_inquiry_result, uint8_t *p_eir_data)

Inquiry result callback.

Parameters
p_inquiry_result: Inquiry result data (NULL if inquiry is complete)
p_eir_data: Extended inquiry response datainquiry result callback

◆ wiced_bt_dev_cmpl_cback_t

typedef void() wiced_bt_dev_cmpl_cback_t(void *p_data)

Asynchronous operation complete callback.

Parameters
p_data: Operation dependent data
Returns
void

◆ wiced_bt_dev_vendor_specific_command_complete_cback_t

typedef void() wiced_bt_dev_vendor_specific_command_complete_cback_t(wiced_bt_dev_vendor_specific_command_complete_params_t *p_command_complete_params)

Vendor specific command complete.

Parameters
p_command_complete_params: Command complete parameters.
Returns
void

◆ wiced_bt_remote_name_cback_t

typedef void() wiced_bt_remote_name_cback_t(wiced_bt_dev_remote_name_result_t *p_remote_name_result)

Remote name result callback.

Parameters
p_remote_name_result: Remote name result data
Returns
voidremote name result callback

◆ wiced_bt_dev_vse_callback_t

typedef void() wiced_bt_dev_vse_callback_t(uint8_t len, uint8_t *p)

Vendor event handler callback.

Parameters
len: input data length
p: input data

◆ wiced_bt_hci_trace_cback_t

typedef void() wiced_bt_hci_trace_cback_t(wiced_bt_hci_trace_type_t type, uint16_t length, uint8_t *p_data)

HCI trace callback.

Callback for HCI traces Registered using wiced_bt_dev_register_hci_trace()

Parameters
[in]type: Trace type
[in]length: Length of the trace data
[in]p_data: Pointer to the data
Returns
void

Enumeration Type Documentation

◆ wiced_bt_ble_scanner_filter_policy_e

Scanner filter policy.

Enumerator
BTM_BLE_SCAN_POLICY_ACCEPT_ADV_RSP 

accept adv packet from all, directed adv pkt not directed to local device is ignored

BTM_BLE_SCAN_POLICY_FILTER_ADV_RSP 

accept adv packet from device in filter Accept List, directed adv packet not directed to local device is ignored

BTM_BLE_SCAN_POLICY_ACCEPT_RPA_DIR_ADV_RSP 

accept adv packet from all, directed adv pkt not directed to local device is ignored except direct adv with RPA

BTM_BLE_SCAN_POLICY_FILTER_RPA_DIR_ADV_RSP 

accept adv packet from device in filter Accept List, directed adv pkt not directed to me is ignored except direct adv with RPA

BTM_BLE_SCAN_POLICY_MAX 

Max Scan filter policy value.

◆ wiced_bt_ble_advert_filter_policy_e

Advertising filter policy.

Enumerator
BTM_BLE_ADV_POLICY_ACCEPT_CONN_AND_SCAN 

Process scan and connection requests from all devices (i.e., the Filter Accept List is not in use) (default)

BTM_BLE_ADV_POLICY_ACCEPT_CONN_FILTER_SCAN 

Process connection requests from all devices and only scan requests from devices that are in the Filter Accept List.

BTM_BLE_ADV_POLICY_FILTER_CONN_ACCEPT_SCAN 

Process scan requests from all devices and only connection requests from devices that are in the Filter Accept List.

BTM_BLE_ADV_POLICY_FILTER_CONN_FILTER_SCAN 

Process scan and connection requests only from devices in the Filter Accept List.

BTM_BLE_ADV_POLICY_MAX 

Max Adv filter value.

◆ wiced_bt_ble_advert_type_e

Advertisement data types.

Enumerator
BTM_BLE_ADVERT_TYPE_FLAG 

Advertisement flags.

BTM_BLE_ADVERT_TYPE_16SRV_PARTIAL 

List of supported services - 16 bit UUIDs (partial)

BTM_BLE_ADVERT_TYPE_16SRV_COMPLETE 

List of supported services - 16 bit UUIDs (complete)

BTM_BLE_ADVERT_TYPE_32SRV_PARTIAL 

List of supported services - 32 bit UUIDs (partial)

BTM_BLE_ADVERT_TYPE_32SRV_COMPLETE 

List of supported services - 32 bit UUIDs (complete)

BTM_BLE_ADVERT_TYPE_128SRV_PARTIAL 

List of supported services - 128 bit UUIDs (partial)

BTM_BLE_ADVERT_TYPE_128SRV_COMPLETE 

List of supported services - 128 bit UUIDs (complete)

BTM_BLE_ADVERT_TYPE_NAME_SHORT 

Short name.

BTM_BLE_ADVERT_TYPE_NAME_COMPLETE 

Complete name.

BTM_BLE_ADVERT_TYPE_TX_POWER 

TX Power level.

BTM_BLE_ADVERT_TYPE_DEV_CLASS 

Device Class.

BTM_BLE_ADVERT_TYPE_SIMPLE_PAIRING_HASH_C 

Simple Pairing Hash C.

BTM_BLE_ADVERT_TYPE_SIMPLE_PAIRING_RAND_C 

Simple Pairing Randomizer R.

BTM_BLE_ADVERT_TYPE_SM_TK 

Security manager TK value.

BTM_BLE_ADVERT_TYPE_SM_OOB_FLAG 

Security manager Out-of-Band data.

BTM_BLE_ADVERT_TYPE_INTERVAL_RANGE 

Peripheral connection interval range.

BTM_BLE_ADVERT_TYPE_SOLICITATION_SRV_UUID 

List of solicitated services - 16 bit UUIDs.

BTM_BLE_ADVERT_TYPE_128SOLICITATION_SRV_UUID 

List of solicitated services - 128 bit UUIDs.

BTM_BLE_ADVERT_TYPE_SERVICE_DATA 

Service data - 16 bit UUID.

BTM_BLE_ADVERT_TYPE_PUBLIC_TARGET 

Public target address.

BTM_BLE_ADVERT_TYPE_RANDOM_TARGET 

Random target address.

BTM_BLE_ADVERT_TYPE_APPEARANCE 

Appearance.

BTM_BLE_ADVERT_TYPE_ADVERT_INTERVAL 

Advertising interval.

BTM_BLE_ADVERT_TYPE_LE_BD_ADDR 

LE device bluetooth address.

BTM_BLE_ADVERT_TYPE_LE_ROLE 

LE role.

BTM_BLE_ADVERT_TYPE_256SIMPLE_PAIRING_HASH 

Simple Pairing Hash C-256.

BTM_BLE_ADVERT_TYPE_256SIMPLE_PAIRING_RAND 

Simple Pairing Randomizer R-256.

BTM_BLE_ADVERT_TYPE_32SOLICITATION_SRV_UUID 

List of solicitated services - 32 bit UUIDs.

BTM_BLE_ADVERT_TYPE_32SERVICE_DATA 

Service data - 32 bit UUID.

BTM_BLE_ADVERT_TYPE_128SERVICE_DATA 

Service data - 128 bit UUID.

BTM_BLE_ADVERT_TYPE_CONN_CONFIRM_VAL 

LE Secure Connections Confirmation Value.

BTM_BLE_ADVERT_TYPE_CONN_RAND_VAL 

LE Secure Connections Random Value.

BTM_BLE_ADVERT_TYPE_URI 

URI.

BTM_BLE_ADVERT_TYPE_INDOOR_POS 

Indoor Positioning.

BTM_BLE_ADVERT_TYPE_TRANS_DISCOVER_DATA 

Transport Discovery Data.

BTM_BLE_ADVERT_TYPE_SUPPORTED_FEATURES 

LE Supported Features.

BTM_BLE_ADVERT_TYPE_UPDATE_CH_MAP_IND 

Channel Map Update Indication.

BTM_BLE_ADVERT_TYPE_PB_ADV 

PB-ADV.

BTM_BLE_ADVERT_TYPE_MESH_MSG 

Mesh Message.

BTM_BLE_ADVERT_TYPE_MESH_BEACON 

Mesh Beacon.

BTM_BLE_ADVERT_TYPE_PSRI 

Generic Audio Provate Set Random Identifier.

BTM_BLE_ADVERT_TYPE_EAD 

Encrypted Advertising Data.

BTM_BLE_ADVERT_TYPE_3D_INFO_DATA 

3D Information Data

BTM_BLE_ADVERT_TYPE_MANUFACTURER 

Manufacturer data.

◆ wiced_bt_ble_sec_flags_e

security settings used with L2CAP LE COC

Enumerator
BTM_SEC_LE_LINK_ENCRYPTED 

Link encrypted.

BTM_SEC_LE_LINK_PAIRED_WITHOUT_MITM 

Paired without man-in-the-middle protection.

BTM_SEC_LE_LINK_PAIRED_WITH_MITM 

Link with man-in-the-middle protection.

◆ wiced_bt_dev_ble_evt_type_e

Scan result event type.

Enumerator
BTM_BLE_EVT_CONNECTABLE_ADVERTISEMENT 

Connectable advertisement.

BTM_BLE_EVT_CONNECTABLE_DIRECTED_ADVERTISEMENT 

Connectable Directed advertisement.

BTM_BLE_EVT_SCANNABLE_ADVERTISEMENT 

Scannable advertisement.

BTM_BLE_EVT_NON_CONNECTABLE_ADVERTISEMENT 

Non connectable advertisement.

BTM_BLE_EVT_SCAN_RSP 

Scan response.

◆ wiced_bt_ble_conn_type_e

Background connection type.

Enumerator
BTM_BLE_CONN_NONE 

No background connection.

BTM_BLE_CONN_AUTO 

Auto connection based on filter list.

BTM_BLE_CONN_SELECTIVE 

Selective not used.

◆ wiced_bt_ble_sec_action_type_e

LE encryption method.

Enumerator
BTM_BLE_SEC_NONE 

No encryption.

BTM_BLE_SEC_ENCRYPT 

encrypt the link using current key

BTM_BLE_SEC_ENCRYPT_NO_MITM 

encryption without MITM

BTM_BLE_SEC_ENCRYPT_MITM 

encryption with MITM

◆ wiced_bt_ble_multi_advert_start_e

Multi-advertisement start/stop.

Enumerator
MULTI_ADVERT_STOP 

Stop Multi-adverstisment.

MULTI_ADVERT_START 

Start Multi-adverstisment.

◆ wiced_bt_ble_multi_advert_type_e

Multi-advertisement type.

Enumerator
MULTI_ADVERT_CONNECTABLE_UNDIRECT_EVENT 

Multi adv Connectable undirected event.

MULTI_ADVERT_CONNECTABLE_DIRECT_EVENT 

Multi adv Connectable directed event.

MULTI_ADVERT_DISCOVERABLE_EVENT 

Multi adv Discoverable event.

MULTI_ADVERT_NONCONNECTABLE_EVENT 

Multi adv NonConnectable event.

MULTI_ADVERT_LOW_DUTY_CYCLE_DIRECT_EVENT 

Multi adv Low Cycle directed event.

◆ wiced_bt_ble_privacy_e

Privacy mode refer Spec version 5.0 Vol 3 Part C Section 10.7 privacy feature.

Enumerator
BTM_BLE_PRIVACY_MODE_NETWORK 

network privacy mode

BTM_BLE_PRIVACY_MODE_DEVICE 

device privacy mode

◆ wiced_bt_ble_multi_advert_filtering_policy_e

Multi-advertisement Filtering policy.

Enumerator
MULTI_ADVERT_FILTER_POLICY_NOT_USED 

Multi adv filter filter Accept List not used.

MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_CONNECTION 

Multi adv filter filter Accept List for scan request.

MULTI_ADVERT_FILTER_POLICY_ADV_ALLOW_UNKNOWN_SCANNING 

Multi adv filter filter Accept List for connection request.

MULTI_ADVERT_FILTER_POLICY_USE_FOR_ALL 

Multi adv filter filter Accept List for all.

◆ anonymous enum

anonymous enum

LE PHY.

Enumerator
WICED_BT_BLE_EXT_ADV_PHY_1M 

advetiser advertisement PHY is LE 1M

WICED_BT_BLE_EXT_ADV_PHY_2M 

advetiser advertisement PHY is LE 2M

WICED_BT_BLE_EXT_ADV_PHY_LE_CODED 

advetiser advertisement PHY is LE Coded (for long range)

WICED_BT_BLE_EXT_ADV_NUM_PHYS 

3 PHYs are defined

◆ anonymous enum

anonymous enum

LE PHY bit mask.

Enumerator
WICED_BT_BLE_EXT_ADV_PHY_1M_BIT 

Bit mask to specify for LE1M PHY.

WICED_BT_BLE_EXT_ADV_PHY_2M_BIT 

Bit mask to specify for LE2M PHY.

WICED_BT_BLE_EXT_ADV_PHY_LE_CODED_BIT 

Bit mask to specify for LE coded PHY.

◆ anonymous enum

anonymous enum

Advertising event properties: Describes the type of advertising event that is being configured and its basic properties.

Enumerator
WICED_BT_BLE_EXT_ADV_EVENT_CONNECTABLE_ADV 

Connectable ADV.

WICED_BT_BLE_EXT_ADV_EVENT_SCANNABLE_ADV 

Scannable ADV.

WICED_BT_BLE_EXT_ADV_EVENT_DIRECTED_ADV 

Low duty cycle directed advertisement.

WICED_BT_BLE_EXT_ADV_EVENT_HIGH_DUTY_DIRECTED_CONNECTABLE_ADV 

3.75 ms Advertising Interval, only valid in legacy ADV

WICED_BT_BLE_EXT_ADV_EVENT_LEGACY_ADV 

Legacy Advertisement.

Adv data cannot be more than 31 bytes.

WICED_BT_BLE_EXT_ADV_EVENT_ANONYMOUS_ADV 

Omits advertisers address from all PDUs.

WICED_BT_BLE_EXT_ADV_EVENT_INCLUDE_TX_POWER 

Include Tx power in ext ADV pdus.

◆ anonymous enum

anonymous enum

Advertisement set handle to identify adv set b/n host and controller.

Enumerator
WICED_BT_BLE_EXT_ADV_HANDLE_MIN 

min advertisement set handle value

WICED_BT_BLE_EXT_ADV_HANDLE_MAX 

max advertisement set handle value

◆ anonymous enum

anonymous enum

The Advertising set identifier(SID) is used to uniquely identify adv sets from advertiser.

SID the value to be transmitted in the advertising SID subfield of the ADI field of the Extended ADV PDUs

Enumerator
WICED_BT_BLE_EXT_ADV_SID_MIN 

min SID value

WICED_BT_BLE_EXT_ADV_SID_MAX 

max SID value

◆ wiced_bt_ble_ext_adv_scan_req_notification_setting_e

Value to configure to receive scan request recived notification.

Enumerator
WICED_BT_BLE_EXT_ADV_SCAN_REQ_NOTIFY_DISABLE 

Do not send Notification on scan request.

WICED_BT_BLE_EXT_ADV_SCAN_REQ_NOTIFY_ENABLE 

Send Notification on scan request.

◆ wiced_bt_ble_periodic_adv_prop_e

Periodic adv property.

Enumerator
WICED_BT_BLE_PERIODIC_ADV_PROPERTY_INCLUDE_TX_POWER 

Speicify Tx power in periodic adv events.

◆ wiced_bt_ble_ext_scan_filter_duplicate_e

Extended scan duplicate filter policy.

Enumerator
WICED_BT_BLE_EXT_SCAN_FILTER_DUPLICATE_DISABLE 

send all advertisements received from advertisers

WICED_BT_BLE_EXT_SCAN_FILTER_DUPLICATE_ENABLE 

duplicate advertisements should not be sent until scan disabled

WICED_BT_BLE_EXT_SCAN_FILTER_DUPLICATE_ENABLE_RESET_ON_SCAN_PERIOD 

filter duplicate adv during single scan Duration (see wiced_bt_ble_ext_scan_enable_t).Period should be non zero on using this option

◆ wiced_bt_ble_ext_filter_policy_e

Filter policy used in extended create connection command.

Enumerator
WICED_BT_BLE_IGNORE_FILTER_ACCEPT_LIST_FOR_CONNS 

Filter Accept List is not used to determine which advertiser to connect to.

Peer_Address_Type and Peer_Address shall be used

WICED_BT_BLE_USE_FILTER_ACCEPT_LIST_FOR_CONNS 

Filter Accept List is used to determine which advertiser to connect to.

Peer_Address_Type and Peer_Address shall be ignored.

◆ wiced_bt_ble_adv_sync_options_e

Options used in create periodic sync to periodic adv command.

Enumerator
WICED_BT_BLE_IGNORE_SYNC_TO_PERIODIC_ADV_LIST 

Use the Advertising_SID, Advertising_Address_Type, and Advertising Address parameters specified in create sync command to determine which advertiser to listen to.

WICED_BT_BLE_SYNC_TO_PERIODIC_ADV_LIST 

Use the Periodic Advertiser List to determine which advertiser to listen to.

◆ wiced_bt_ble_periodic_adv_sync_transfer_mode_e

Mode used in Periodic Advertising Sync Transfer Parameters.

Enumerator
WICED_BT_BLE_IGNORE_PA_SYNC_TRANSFER_EVT 

No attempt is made to synchronize to the periodic advertising and no HCI_LE_Periodic_Advertising_Sync_Transfer_Received event is sent to the Host (default).

WICED_BT_BLE_ENABLE_PA_SYNC_TRANSFER_DISABLE_PA_REPORT_EVT 

An HCI_LE_Periodic_Advertising_Sync_Transfer_Received event is sent to the Host.

HCI_LE_Periodic_Advertising_Report events will be disabled.

WICED_BT_BLE_ENABLE_PA_SYNC_TRANSFER_ENABLE_PA_REPORT_EVT 

An HCI_LE_Periodic_Advertising_Sync_Transfer_Received event is sent to the Host.

HCI_LE_Periodic_Advertising_Report events will be enabled.

◆ anonymous enum

anonymous enum
Enumerator
WICED_BT_BLE_PHY_ADV_OPTIONS_NO_PREFERENCE 

The Host has no preferred or required coding when transmitting on the LE Coded PHY.

WICED_BT_BLE_PHY_ADV_OPTIONS_PREFER_S2 

The Host prefers that S=2 coding be used when transmitting on the LE Coded PHY.

WICED_BT_BLE_PHY_ADV_OPTIONS_PREFER_S8 

The Host prefers that S=8 coding be used when transmitting on the LE Coded PHY.

WICED_BT_BLE_PHY_ADV_OPTIONS_REQUIRE_S2 

The Host requires that S=2 coding be used when transmitting on the LE Coded PHY.

WICED_BT_BLE_PHY_ADV_OPTIONS_REQUIRE_S8 

The Host requires that S=8 coding be used when transmitting on the LE Coded PHY.

◆ wiced_bt_ble_ext_adv_report_count_e

Min and Max possible number of reports in LE extended adv report event.

Enumerator
ADV_REP_EVT_COUNT_MIN 

min number of reports in LE extended adv report event

ADV_REP_EVT_COUNT_MAX 

max number of reports in LE extended adv report event

◆ wiced_bt_ble_channel_sel_algo_e

LE channel selection algorithms.

Enumerator
LE_CHANNEL_SEL_ALGO_1_USED 

LE channel selection algorithm#1 used.

LE_CHANNEL_SEL_ALGO_2_USED 

LE channel selection algorithm#2 used.

◆ wiced_bt_ble_adv_ext_event_t

ADV extension events to the application.

Enumerator
WICED_BT_BLE_PERIODIC_ADV_SYNC_ESTABLISHED_EVENT 

Sync established to periodic advertiser's periodic advertisement.

Event Data : wiced_bt_ble_periodic_adv_sync_established_event_data_t

WICED_BT_BLE_PERIODIC_ADV_REPORT_EVENT 

Periodic adv report.

Event Data: wiced_bt_ble_periodic_adv_report_event_data_t

WICED_BT_BLE_PERIODIC_ADV_SYNC_LOST_EVENT 

Periodic sync lost event.

Event Data: wiced_bt_ble_periodic_adv_sync_handle_t

WICED_BT_BLE_ADV_SET_TERMINATED_EVENT 

Advertising set terminated becaue either connection being created or adv timeout.

Event data: wiced_bt_ble_ext_adv_set_terminated_event_data_t

WICED_BT_BLE_SCAN_REQUEST_RECEIVED_EVENT 

scan request received event.

Event data: wiced_bt_ble_scan_req_received_event_data_t

WICED_BT_BLE_CHANNEL_SEL_ALGO_EVENT 

LE Channel selected algorithm event.

Event Data: wiced_bt_ble_channel_sel_algo_event_data_t

WICED_BT_BLE_BIGINFO_ADV_REPORT_EVENT 

BIGInfo adv report event.

Event Data: wiced_bt_ble_biginfo_adv_report_t

WICED_BT_BLE_PERIODIC_ADV_SYNC_TRANSFER_EVENT 

Periodic Adv Sync Transfer Event.

Event Data: wiced_bt_ble_periodic_adv_sync_transfer_event_data_t

WICED_BT_BLE_PAWR_SYNC_ESTABLISHED_EVENT 

Periodic Adv Sync Transfer Event.

Event Data: wiced_bt_ble_pawr_sync_established_event_data_t

WICED_BT_BLE_PAWR_SUBEVENT_DATA_REQ_EVENT 

Periodic Adv Sync Transfer Event.

Event Data: wiced_bt_ble_pawr_subevent_data_req_event_data_t

WICED_BT_BLE_PAWR_IND_REPORT_EVENT 

Periodic Adv Sync Transfer Event.

Event Data: wiced_bt_ble_pawr_ind_report_event_data_t

WICED_BT_BLE_PAWR_RSP_REPORT_EVENT 

Periodic Adv Sync Transfer Event.

Event Data: wiced_bt_ble_pawr_rsp_report_event_data_t

◆ wiced_bt_sec_flags_e

security flags for current BR/EDR link

Enumerator
BTM_SEC_LINK_ENCRYPTED 

Link encrypted.

BTM_SEC_LINK_PAIRED_WITHOUT_MITM 

Paired without man-in-the-middle protection.

BTM_SEC_LINK_PAIRED_WITH_MITM 

Link with man-in-the-middle protection.

◆ wiced_bt_dev_io_cap_e

Pairing IO Capabilities.

Enumerator
BTM_IO_CAPABILITIES_DISPLAY_ONLY 

Display Only.

BTM_IO_CAPABILITIES_DISPLAY_AND_YES_NO_INPUT 

Display Yes/No.

BTM_IO_CAPABILITIES_KEYBOARD_ONLY 

Keyboard Only.

BTM_IO_CAPABILITIES_NONE 

No Input, No Output.

BTM_IO_CAPABILITIES_BLE_DISPLAY_AND_KEYBOARD_INPUT 

Keyboard display (For LE SMP)

BTM_IO_CAPABILITIES_MAX 

Max value for IO capability.

◆ wiced_bt_dev_auth_req_e

BR/EDR Authentication requirement.

Enumerator
BTM_AUTH_SINGLE_PROFILE_NO 

MITM Protection Not Required - Single Profile/non-bonding.

Numeric comparison with automatic accept allowed

BTM_AUTH_SINGLE_PROFILE_YES 

MITM Protection Required - Single Profile/non-bonding.

Use IO Capabilities to determine authentication procedure

BTM_AUTH_ALL_PROFILES_NO 

MITM Protection Not Required - All Profiles/dedicated bonding.

Numeric comparison with automatic accept allowed

BTM_AUTH_ALL_PROFILES_YES 

MITM Protection Required - All Profiles/dedicated bonding.

Use IO Capabilities to determine authentication procedure

BTM_AUTH_SINGLE_PROFILE_GENERAL_BONDING_NO 

MITM Protection Not Required - Single Profiles/general bonding.

Numeric comparison with automatic accept allowed

BTM_AUTH_SINGLE_PROFILE_GENERAL_BONDING_YES 

MITM Protection Required - Single Profiles/general bonding.

Use IO Capabilities to determine authentication procedure

◆ wiced_bt_dev_le_auth_req_e

LE Authentication requirement.

Enumerator
BTM_LE_AUTH_REQ_NO_BOND 

Not required - No Bond.

BTM_LE_AUTH_REQ_BOND 

Required - General Bond.

BTM_LE_AUTH_REQ_MITM 

MITM required - Auth Y/N.

BTM_LE_AUTH_REQ_SC 

LE Secure Connection or legacy, no MITM, no Bonding.

BTM_LE_AUTH_REQ_KP 

Keypress supported Y/N.

BTM_LE_AUTH_REQ_H7 

Key derivation function H7 supported Y/N.

BTM_LE_AUTH_REQ_SC_BOND 

LE Secure Connection or legacy, no MITM, Bonding.

BTM_LE_AUTH_REQ_SC_MITM 

LE Secure Connection or legacy, MITM, no Bonding.

BTM_LE_AUTH_REQ_SC_MITM_BOND 

LE Secure Connection or legacy , MITM, Bonding.

BTM_LE_AUTH_REQ_MASK 

Auth Request Mask.

◆ wiced_bt_dev_oob_data_e

OOB Data status.

Enumerator
BTM_OOB_NONE 

No OOB data.

BTM_OOB_PRESENT_192 

OOB data present (from the P-192 public key)

BTM_OOB_PRESENT_256 

OOB data present (from the P-256 public key)

BTM_OOB_PRESENT_192_256 

OOB data present (from the P-192 and P-256 public keys)

BTM_OOB_UNKNOWN 

OOB data unknown.

◆ wiced_bt_dev_oob_data_req_type_e

Type of OOB data required.

Enumerator
BTM_OOB_INVALID_TYPE 

Invalid OOB Type.

BTM_OOB_PEER 

Peer OOB data requested.

BTM_OOB_LOCAL 

Local OOB data requested.

BTM_OOB_BOTH 

Both local and peer OOB data requested.

◆ wiced_bt_dev_le_key_type_e

LE Key type.

Enumerator
BTM_LE_KEY_PENC 

encryption information of peer device

BTM_LE_KEY_PID 

identity key of the peer device

BTM_LE_KEY_PCSRK 

peer SRK

BTM_LE_KEY_PLK 

peer link key

BTM_LE_KEY_LENC 

Central role security information:div.

BTM_LE_KEY_LID 

Central device ID key.

BTM_LE_KEY_LCSRK 

local CSRK has been deliver to peer

BTM_LE_KEY_LLK 

Local link key.

◆ wiced_bt_ble_scan_type_e

Scan duty cycle (used for BTM_BLE_SCAN_STATE_CHANGED_EVT and wiced_bt_dev_create_connection)

Enumerator
BTM_BLE_SCAN_TYPE_NONE 

Stop scanning.

BTM_BLE_SCAN_TYPE_HIGH_DUTY 

General inquiry high duty cycle scan.

BTM_BLE_SCAN_TYPE_LOW_DUTY 

General inquiry low duty cycle scan.

BTM_BLE_SCAN_TYPE_LIMITED_HIGH_DUTY 

Limited inquiry high duty cycle scan.

BTM_BLE_SCAN_TYPE_LIMITED_LOW_DUTY 

Limited inquiry low duty cycle scan.

◆ wiced_bt_smp_status_e

SMP Pairing status codes.

Enumerator
SMP_SUCCESS 

Success.

SMP_PASSKEY_ENTRY_FAIL 

Passkey entry failed.

SMP_OOB_FAIL 

OOB failed.

SMP_PAIR_AUTH_FAIL 

Authentication failed.

SMP_CONFIRM_VALUE_ERR 

Value confirmation failed.

SMP_PAIR_NOT_SUPPORT 

Not supported.

SMP_ENC_KEY_SIZE 

Encryption key size failure.

SMP_INVALID_CMD 

Invalid command.

SMP_PAIR_FAIL_UNKNOWN 

Unknown failure.

SMP_REPEATED_ATTEMPTS 

Repeated attempts.

SMP_INVALID_PARAMETERS 

Invalid parameters.

SMP_DHKEY_CHK_FAIL 

DH Key check failed.

SMP_NUMERIC_COMPAR_FAIL 

Numeric comparison failed.

SMP_BR_PAIRING_IN_PROGR 

BR paIring in progress.

SMP_XTRANS_DERIVE_NOT_ALLOW 

Cross transport key derivation not allowed.

SMP_MAX_FAIL_RSN_PER_SPEC 

SMP Max Fail Reason as per spec.

SMP_PAIR_INTERNAL_ERR 

Internal error.

SMP_UNKNOWN_IO_CAP 

unknown IO capability, unable to decide associatino model

SMP_INIT_FAIL 

Initialization failed.

SMP_CONFIRM_FAIL 

Confirmation failed.

SMP_BUSY 

Busy.

SMP_ENC_FAIL 

Encryption failed.

SMP_STARTED 

Started.

SMP_RSP_TIMEOUT 

Response timeout.

SMP_FAIL 

Generic failure.

SMP_CONN_TOUT 

Connection timeout.

◆ wiced_bt_multi_adv_opcodes_t

LE Multi adv opcodes returned.

Enumerator
SET_ADVT_PARAM_MULTI 

Opcode as a result of calling wiced_set_multi_advertisement_params.

SET_ADVT_DATA_MULTI 

Opcode as a result of calling wiced_set_multi_advertisement_data.

SET_SCAN_RESP_DATA_MULTI 

Opcode as a result of calling wiced_set_multi_advertisement_scan_response_data.

SET_RANDOM_ADDR_MULTI 

Opcode as a result of calling wiced_set_multi_advertisements_random_address.

SET_ADVT_ENABLE_MULTI 

Opcode as a result of calling wiced_start_multi_advertisements.

◆ wiced_bt_dev_power_mgmt_status_e

Power Management status.

Enumerator
BTM_PM_STS_ACTIVE 

Active.

BTM_PM_STS_HOLD 

Hold.

BTM_PM_STS_SNIFF 

Sniff.

BTM_PM_STS_PARK 

Park.

BTM_PM_STS_SSR 

Sniff subrating notification.

BTM_PM_STS_PENDING 

Pending (waiting for status from controller)

BTM_PM_STS_ERROR 

Error (controller returned error)

◆ wiced_bt_management_evt_e

Bluetooth Management events used in wiced_bt_management_cback_t.

Note
Some of the events are BR/EDR events which are available only in dual mode (BR/EDR+LE) operation
Return values of the management events Return values of notification and status events are typically not checked, unless explicitly mentioned. Return values of events requesting information from app should be WICED_BT_ERROR for cases where the app does not handle the events. For the request events which are handled by the app, indicate WICED_BT_SUCCESS as per the specific requirements of the event as documented below.
Enumerator
BTM_ENABLED_EVT 

Event notifies Bluetooth controller and host stack is enabled.

Event data: wiced_bt_management_evt_data_t::enabled Indicates the stack is up. Application can now start calling bluetooth AIROC Bluetooth APIs

BTM_DISABLED_EVT 

Event notifies Bluetooth controller and host stack disabled.

Event data: NULL

BTM_POWER_MANAGEMENT_STATUS_EVT 

Event notifies Power management status change.

Event data: wiced_bt_management_evt_data_t::power_mgmt_notification

BTM_RE_START_EVT 

Event notifies Bluetooth controller and host stack re-enabled.

Event data: wiced_bt_management_evt_data_t::enabled

Note
: Not used
BTM_PIN_REQUEST_EVT 

Event requests app for the PIN to be used for pairing (legacy pairing only).

Event data: wiced_bt_management_evt_data_t::pin_request

BTM_USER_CONFIRMATION_REQUEST_EVT 

Event requests user confirmation for the numeric value to continue the App is expected to respond with using wiced_bt_dev_confirm_req_reply typically by confirming via a display to the user Event data: wiced_bt_management_evt_data_t::user_confirmation_request.

BTM_PASSKEY_NOTIFICATION_EVT 

Event notifies user passkey app App is expected to display the passkey to the user Event data: wiced_bt_management_evt_data_t::user_passkey_notification.

BTM_PASSKEY_REQUEST_EVT 

Event requests user passkey from app Event data: wiced_bt_management_evt_data_t::user_passkey_request.

BTM_KEYPRESS_NOTIFICATION_EVT 

Event notifies keypress notification event to app Event data: wiced_bt_management_evt_data_t::user_keypress_notification.

BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT 

Event requests BR/EDR IO capabilities for BR/EDR pairing from app Event data: wiced_bt_management_evt_data_t::pairing_io_capabilities_br_edr_request App is expected to fill in it's BR/EDR IO capabilities into the incoming wiced_bt_management_evt_data_t::pairing_io_capabilities_br_edr_request structure member.

Note
BR/EDR Only
BTM_PAIRING_IO_CAPABILITIES_BR_EDR_RESPONSE_EVT 

Event notifies received IO capabilities response for BR/EDR pairing.

Event data: wiced_bt_management_evt_data_t::pairing_io_capabilities_br_edr_response

Note
BR/EDR Only
BTM_PAIRING_IO_CAPABILITIES_BLE_REQUEST_EVT 

Event requests LE IO capabilities for LE pairing from app.

Peripheral can check peer io capabilities in event data before updating with local io capabilities. Event data: wiced_bt_management_evt_data_t::pairing_io_capabilities_ble_request

BTM_PAIRING_COMPLETE_EVT 

Event notifies simple pairing complete to app Event data: wiced_bt_management_evt_data_t::pairing_complete.

BTM_ENCRYPTION_STATUS_EVT 

Event notifies encryption status change to app Event data: wiced_bt_management_evt_data_t::encryption_status.

BTM_SECURITY_REQUEST_EVT 

Event requests app to allow stack to continue Security procedures/pairing to continue with the peer.

App needs to respond with wiced_bt_ble_security_grant App is expected to either allow or deny the incoming pairing request based on it's state Event data: wiced_bt_management_evt_data_t::security_request

BTM_SECURITY_FAILED_EVT 

Event notifies Security procedure/authentication failed to app Event data: wiced_bt_management_evt_data_t::security_failed.

BTM_SECURITY_ABORTED_EVT 

Event notifies security procedure aborted locally, or unexpected link drop.

Event data: wiced_bt_management_evt_data_t::security_aborted

BTM_READ_LOCAL_OOB_DATA_COMPLETE_EVT 

Event notifies result of reading local OOB data from the controller Event data: wiced_bt_management_evt_data_t::read_local_oob_data_complete.

Note
BR/EDR Only
BTM_REMOTE_OOB_DATA_REQUEST_EVT 

Event requests OOB data of the remote device from app Event data: wiced_bt_management_evt_data_t::remote_oob_data_request.

Note
BR/EDR Only
BTM_PAIRED_DEVICE_LINK_KEYS_UPDATE_EVT 

Event notifies app with the updated remote device link keys in this event.

App is expected to store device_link_keys to NV memory. This is the place to verify that the correct link key has been generated. Event data: wiced_bt_management_evt_data_t::paired_device_link_keys_update

BTM_PAIRED_DEVICE_LINK_KEYS_REQUEST_EVT 

Event requests for stored remote device link keys from app (restore device_link_keys from NV memory).

If available then fill the stored keys into wiced_bt_management_evt_data_t.paired_device_link_keys_request and return WICED_BT_SUCCESS else WICED_BT_ERROR Event data: wiced_bt_management_evt_data_t::paired_device_link_keys_request

BTM_LOCAL_IDENTITY_KEYS_UPDATE_EVT 

Event notifies updated local identity key to the app (stored local_identity_keys NV memory).

App is expected to store the identity key to NV memory. Event data: wiced_bt_management_evt_data_t::local_identity_keys_update

BTM_LOCAL_IDENTITY_KEYS_REQUEST_EVT 

Event requests local identity key from app (get local_identity_keys from NV memory).

If available then fill the local key into wiced_bt_management_evt_data_t.local_identity_keys_request and return WICED_BT_SUCCESS else WICED_BT_ERROR. Event data: wiced_bt_management_evt_data_t::local_identity_keys_request

BTM_BLE_SCAN_STATE_CHANGED_EVT 

Event notifies LE scan state change to app Event data: wiced_bt_management_evt_data_t::ble_scan_state_changed.

BTM_BLE_ADVERT_STATE_CHANGED_EVT 

Event notifies LE advertisement state change to app Event data: wiced_bt_management_evt_data_t::ble_advert_state_changed.

BTM_SMP_REMOTE_OOB_DATA_REQUEST_EVT 

Event requests SMP remote oob data.

Reply using wiced_bt_smp_oob_data_reply. Event data: wiced_bt_management_evt_data_t::smp_remote_oob_data_request

BTM_SMP_SC_REMOTE_OOB_DATA_REQUEST_EVT 

Event requests LE secure connection remote oob data request.

Reply using wiced_bt_smp_sc_oob_reply. Event data: wiced_bt_management_evt_data_t::smp_sc_remote_oob_data_request

BTM_SMP_SC_LOCAL_OOB_DATA_NOTIFICATION_EVT 

Event notifies LE secure connection local OOB data (wiced_bt_smp_create_local_sc_oob_data) returned by the stack The app is expected to copy the data into it's memory and share out of band with the peer Event data: wiced_bt_management_evt_data_t::p_smp_sc_local_oob_data.

BTM_SCO_CONNECTED_EVT 

Event notfies SCO connected to app Event data: wiced_bt_management_evt_data_t::sco_connected.

Note
BR/EDR Only
BTM_SCO_DISCONNECTED_EVT 

Event notifies SCO disconnected event to app Event data: wiced_bt_management_evt_data_t::sco_disconnected.

Note
BR/EDR Only
BTM_SCO_CONNECTION_REQUEST_EVT 

Event notifies SCO connection request to app App is expected to reply with.

Event data: wiced_bt_management_evt_data_t::sco_connection_request

Note
BR/EDR Only
BTM_SCO_CONNECTION_CHANGE_EVT 

Event notifies SCO connection change to app Event data: wiced_bt_management_evt_data_t::sco_connection_change.

Note
BR/EDR Only
BTM_BLE_CONNECTION_PARAM_UPDATE 

Event notifies LE connection parameter update to app Event data: wiced_bt_management_evt_data_t::ble_connection_param_update.

BTM_BLE_PHY_UPDATE_EVT 

Event notifies LE Physical link update to app Event data: wiced_bt_management_evt_data_t::ble_phy_update_event.

BTM_LPM_STATE_LOW_POWER 

Event notifies Bluetooth device wake has been deasserted.

Used for Host Stack Use Case.

BTM_MULTI_ADVERT_RESP_EVENT 

Event notifies Multi adv command status event used for the status of the command sent Event data: wiced_bt_management_evt_data_t::ble_multi_adv_response_event.

BTM_BLE_DATA_LENGTH_UPDATE_EVENT 

Event to notify change in the data length and timeout configured for Rx and Tx on the LE link Event data: wiced_bt_management_evt_data_t::ble_data_length_update_event.

BTM_BLE_SUBRATE_CHANGE_EVENT 

Event to notify subrate change event BLE link Event data: wiced_bt_management_evt_data_t::ble_subrate_change_event.

BTM_BLE_DEVICE_ADDRESS_UPDATE_EVENT 

Event to notify change in the device address Application can register to receive a callback on device address update through wiced_bt_ble_notify_on_device_address_change Event data: wiced_bt_management_evt_data_t::ble_subrate_change_event.

◆ wiced_bt_dev_link_quality_stats_param_e

Link Quality statistics action type.

Enumerator
WICED_CLEAR_LINK_QUALITY_STATS 

clear link quality stats

WICED_READ_LINK_QUALITY_STATS 

read link quality stats

WICED_READ_THEN_CLEAR_LINK_QUALITY_STATS 

read then clear link quality stats

◆ wiced_bt_link_policy_settings_values_e

.Enumeration of known link policy settings value assignments of the wiced_bt_link_policy_settings_t

Enumerator
WICED_ENABLE_ROLE_SWITCH 

Enable Role Switch.

WICED_ENABLE_HOLD_MODE 

Enable Hold mode.

WICED_ENABLE_SNIFF_MODE 

Enable Sniff mode.

◆ wiced_bt_ble_advert_mode_e

advertisement type (used when calling wiced_bt_start_advertisements)

Enumerator
BTM_BLE_ADVERT_OFF 

Stop advertising.

BTM_BLE_ADVERT_DIRECTED_HIGH 

Directed advertisement (high duty cycle)

BTM_BLE_ADVERT_DIRECTED_LOW 

Directed advertisement (low duty cycle)

BTM_BLE_ADVERT_UNDIRECTED_HIGH 

Undirected advertisement (high duty cycle)

BTM_BLE_ADVERT_UNDIRECTED_LOW 

Undirected advertisement (low duty cycle)

BTM_BLE_ADVERT_NONCONN_HIGH 

Non-connectable advertisement (high duty cycle)

BTM_BLE_ADVERT_NONCONN_LOW 

Non-connectable advertisement (low duty cycle)

BTM_BLE_ADVERT_DISCOVERABLE_HIGH 

discoverable advertisement (high duty cycle)

BTM_BLE_ADVERT_DISCOVERABLE_LOW 

discoverable advertisement (low duty cycle)

◆ wiced_bt_ble_conn_mode_e

scan mode used in initiating

Enumerator
BLE_CONN_MODE_OFF 

Stop initiating.

BLE_CONN_MODE_LOW_DUTY 

slow connection scan parameter

BLE_CONN_MODE_HIGH_DUTY 

fast connection scan parameter

◆ wiced_bt_hci_trace_type_t

HCI trace types.

Enumerator
HCI_TRACE_EVENT 

HCI event data from controller to the host.

HCI_TRACE_COMMAND 

HCI command data from host to controller.

HCI_TRACE_INCOMING_ACL_DATA 

HCI incoming acl data.

HCI_TRACE_OUTGOING_ACL_DATA 

HCI outgoing acl data.

HCI_TRACE_INCOMING_ISO_DATA 

HCI incoming ISO data.

HCI_TRACE_OUTGOING_ISO_DATA 

HCI outgoing ISO data.

HCI_TRACE_INCOMING_SCO_DATA 

HCI incoming sco data.

HCI_TRACE_OUTGOING_SCO_DATA 

HCI outgoing sco data.