|
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_ADV_NOTIFICATION_READY,
WICED_BT_ADV_NOTIFICATION_DONE
} |
|
enum | wiced_bt_ble_advert_chnl_map_e { BTM_BLE_ADVERT_CHNL_37 = 0x01,
BTM_BLE_ADVERT_CHNL_38 = 0x02,
BTM_BLE_ADVERT_CHNL_39 = 0x04
} |
| Advertising channel map. 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_3D_INFO_DATA = 0x3D,
BTM_BLE_ADVERT_TYPE_MANUFACTURER = 0xFF
} |
| Advertisement data types. 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_multi_advert_filtering_policy_e { MULTI_ADVERT_FILTER_POLICY_FILTER_ACCEPT_LIST_NOT_USED = 0x00,
MULTI_ADVERT_FILTER_ACCEPT_LIST_POLICY_ADV_ALLOW_UNKNOWN_CONNECTION = 0x01,
MULTI_ADVERT_FILTER_ACCEPT_LIST_POLICY_ADV_ALLOW_UNKNOWN_SCANNING = 0x02,
MULTI_ADVERT_FILTER_POLICY_FILTER_ACCEPT_LIST_USED_FOR_ALL = 0x03
} |
| Multi-advertisement Filtering policy. More...
|
|
enum | wiced_bt_ble_privacy_mode_e { BTM_BLE_PRIVACY_MODE_NETWORK = 0x00,
BTM_BLE_PRIVACY_MODE_DEVICE = 0x01
} |
| Privacy mode introduced in 5.0. More...
|
|
enum | wiced_bt_ble_host_phy_preferences_e { BTM_BLE_PREFER_1M_PHY = 0x01,
BTM_BLE_PREFER_2M_PHY = 0x02,
BTM_BLE_PREFER_LELR_PHY = 0x04
} |
| PHY Settings (bits 3-7 reserved) More...
|
|
enum | wiced_bt_ble_lelr_phy_preferences_e { BTM_BLE_PREFER_CODED_PHY_NONE = 0x00,
BTM_BLE_PREFER_CODED_125K = 0x01,
BTM_BLE_PREFER_CODED_512K = 0x02
} |
| Coded PHY Sub-setting (bits 2-15 reserved) More...
|
|
enum | wiced_bt_ble_scan_mode_e { BTM_BLE_SCAN_MODE_PASSIVE = 0x00,
BTM_BLE_SCAN_MODE_ACTIVE = 0x01,
BTM_BLE_SCAN_MODE_NONE = 0xff
} |
|
enum | wiced_bt_ble_scanner_filter_policy_e {
BTM_BLE_SCAN_POLICY_ACCEPT_ADV_RSP = 0x00,
BTM_BLE_SCAN_POLICY_FILTER_ADV_RSP = 0x01,
BTM_BLE_SCAN_POLICY_ACCEPT_RPA_DIR_ADV_RSP = 0x02,
BTM_BLE_SCAN_POLICY_FILTER_RPA_DIR_ADV_RSP = 0x03,
BTM_BLE_SCAN_POLICY_MAX
} |
| Filter Accept List filter policy. 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 = 0x00,
BTM_BLE_CONN_AUTO = 0x01,
BTM_BLE_CONN_SELECTIVE = 0x02
} |
|
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 | { BTM_BLE_SEC_NONE = 0x00,
BTM_BLE_SEC_ENCRYPT = 0x01,
BTM_BLE_SEC_ENCRYPT_NO_MITM = 0x02,
BTM_BLE_SEC_ENCRYPT_MITM = 0x03
} |
|
|
wiced_result_t | wiced_bt_start_advertisements (wiced_bt_ble_advert_mode_t advert_mode, wiced_bt_ble_address_type_t directed_advertisement_bdaddr_type, wiced_bt_device_address_ptr_t directed_advertisement_bdaddr_ptr) |
| Sets the advertisement mode of the host device based on the advertisement parameters initialized in wiced_bt_cfg_settings_t upon calling the stack initialization API (wiced_bt_stack_init). More...
|
|
wiced_bt_ble_advert_mode_t | wiced_bt_ble_get_current_advert_mode (void) |
| Get advertisement mode from host state machine, set by the API wiced_bt_start_advertisements. More...
|
|
wiced_result_t | wiced_bt_ble_set_raw_advertisement_data (uint8_t num_elem, wiced_bt_ble_advert_elem_t *p_data) |
| Set raw advertisement data of main advertising instance. More...
|
|
wiced_bt_dev_status_t | wiced_bt_ble_set_raw_scan_response_data (uint8_t num_elem, wiced_bt_ble_advert_elem_t *p_data) |
| Set raw scan response data. More...
|
|
wiced_bool_t | wiced_bt_ble_update_advertising_filter_accept_list (wiced_bool_t add, wiced_bt_device_address_t remote_bda) |
| Add or remove a device to/from the advertising Filter Accept List. More...
|
|
wiced_bool_t | wiced_btm_ble_update_advertisement_filter_policy (wiced_bt_ble_advert_filter_policy_t advertising_policy) |
| Updates the filter policy when the local device is the advertiser. More...
|
|
wiced_result_t | wiced_bt_ble_set_adv_tx_power (int8_t power) |
| Sets the transmit power used for the main advertising instance triggered by wiced_bt_start_advertisements. More...
|
|
wiced_result_t | wiced_bt_ble_read_adv_tx_power (wiced_bt_dev_cmpl_cback_t *p_cback) |
| Sends an HCI command to the controller to read the transmit power level used in LE ADV packets of the main advertising instance (0). More...
|
|
wiced_result_t | wiced_bt_ble_scan (wiced_bt_ble_scan_type_t scan_type, wiced_bool_t duplicate_filter_enable, wiced_bt_ble_scan_result_cback_t *p_scan_result_cback) |
| This API allows the device to register a callback to receive connectable ADV packets from peripheral devices. More...
|
|
wiced_bt_dev_status_t | wiced_bt_ble_observe (wiced_bool_t start, uint8_t duration, wiced_bt_ble_scan_result_cback_t *p_scan_result_cback) |
| This API allows the device to register a callback to receive both connectable and non-connectable ADV packets. More...
|
|
wiced_bt_ble_scan_type_t | wiced_bt_ble_get_current_scan_state (void) |
| Returns the current scan state that was set using wiced_bt_ble_scan. More...
|
|
uint8_t * | wiced_bt_ble_check_advertising_data (uint8_t *p_adv, wiced_bt_ble_advert_type_t type, uint8_t *p_length) |
| After receiving ADV data from another device using wiced_bt_ble_scan or wiced_bt_ble_observe, this API can optionally be used to parse the received ADV data. More...
|
|
wiced_bool_t | wiced_bt_ble_update_scanner_filter_list (wiced_bool_t add, wiced_bt_device_address_t remote_bda, wiced_bt_ble_address_type_t addr_type) |
| Add or remove a device from the scanner Filter Accept List. More...
|
|
void | wiced_bt_ble_update_scanner_filter_policy (wiced_bt_ble_scanner_filter_policy_t scanner_policy) |
| Controls the use of the scanner Filter Accept List. More...
|
|
wiced_bool_t | wiced_bt_ble_set_background_connection_type (wiced_bt_ble_conn_type_t conn_type, wiced_bt_ble_selective_conn_cback_t *p_select_cback) |
| Sets the local devices background connection procedure. More...
|
|
wiced_bool_t | wiced_bt_ble_update_background_connection_device (wiced_bool_t add_remove, wiced_bt_device_address_t remote_bda) |
| Add or remove a device into the list of background connections maintained. More...
|
|
wiced_bool_t | wiced_bt_ble_clear_filter_accept_list (void) |
| Clears the ADV and scan Filter Accept Lists, as well as the background connections list. More...
|
|
uint8_t | wiced_bt_ble_get_filter_accept_list_size (void) |
| Get the number of devices that can be held by the controller's scanner Filter Accept List. More...
|
|
void | wiced_bt_ble_security_grant (wiced_bt_device_address_t bd_addr, uint8_t res) |
| Upon receiving a BTM_SECURITY_REQUEST_EVT in the BT stack management callback (wiced_bt_management_cback_t), this API is used to either grant or deny a pairing attempt by the peer device. More...
|
|
wiced_bool_t | wiced_bt_ble_data_signature (wiced_bt_device_address_t bd_addr, uint8_t *p_text, uint16_t len, wiced_dev_ble_signature_t signature) |
| Generates an authentication signature using AES128 CMAC algorithm. More...
|
|
wiced_bool_t | wiced_bt_ble_verify_signature (wiced_bt_device_address_t bd_addr, uint8_t *p_orig, uint16_t len, uint32_t counter, uint8_t *p_comp) |
| This function is used to check a given data signature against the original unsigned data. More...
|
|
wiced_bool_t | wiced_bt_ble_get_security_state (wiced_bt_device_address_t bd_addr, uint8_t *p_le_sec_flags, uint8_t *p_le_key_size) |
| Get security mode 1 flags and encryption key size for LE peer. More...
|
|
wiced_result_t | wiced_bt_ble_set_channel_classification (const wiced_bt_ble_chnl_map_t ble_channel_map) |
| Sends an HCI command to the controller to set the host preferences for LE AFH channel map. More...
|
|
wiced_bt_dev_status_t | wiced_bt_ble_set_phy (wiced_bt_ble_phy_preferences_t *phy_preferences) |
| Sends an HCI command to the controller to set the host preferences for the LE PHY used on a specific pre-established LE connection. More...
|
|
wiced_result_t | wiced_bt_ble_get_connection_parameters (wiced_bt_device_address_t bda, wiced_bt_ble_conn_params_t *p_conn_parameters) |
| Reads the current connection parameters being used for an active LE connection. More...
|
|
wiced_bt_dev_status_t | wiced_bt_ble_set_privacy_mode (wiced_bt_device_address_t remote_bda, wiced_bt_ble_privacy_mode_t privacy_mode) |
| Sends an HCI command to the controller to tell it whether to use device privacy or network privacy for a specific pre-existing LE connection. More...
|
|
wiced_bt_dev_status_t | wiced_start_multi_advertisements (uint8_t advertising_enable, uint8_t adv_instance) |
| Enable or disable advertisements of a specific instance. More...
|
|
wiced_bt_dev_status_t | wiced_set_multi_advertisement_params (uint8_t adv_instance, wiced_bt_ble_multi_adv_params_t *p_param) |
| Sets the advertising parameters of a specific advertising instance. More...
|
|
wiced_bt_dev_status_t | wiced_set_multi_advertisement_data (uint8_t *p_data, uint8_t data_len, uint8_t adv_instance) |
| Refer to wiced_bt_ble_set_raw_advertisement_data. More...
|
|
wiced_bt_dev_status_t | wiced_set_multi_advertisement_scan_response_data (uint8_t *p_data, uint8_t data_len, uint8_t adv_instance) |
| Refer to wiced_bt_ble_set_raw_scan_response_data. More...
|
|
wiced_bt_dev_status_t | wiced_set_multi_advertisements_random_address (wiced_bt_device_address_t randomAddr, uint8_t adv_instance) |
| Sets the local BD_ADDR that will be used strictly for the given advertising instance. More...
|
|
wiced_bool_t | wiced_bt_notify_multi_advertisement_packet_transmissions (uint8_t adv_instance, void(*clientCallback)(uint32_t), uint32_t advanceNoticeInMicroSeconds) |
| Refer to wiced_bt_notifyAdvPacketTransmissions. More...
|
|
wiced_result_t | wiced_bt_dev_add_device_to_address_resolution_db (wiced_bt_device_link_keys_t *p_link_keys) |
| Adds link key information to internal address resolution db. More...
|
|
wiced_result_t | wiced_bt_dev_remove_device_from_address_resolution_db (wiced_bt_device_link_keys_t *p_link_keys) |
| Removes the link key information from internal address resolution db. More...
|
|
wiced_bt_dev_status_t | wiced_bt_ble_config_privacy (wiced_bool_t privacy_mode) |
| Function wiced_bt_ble_config_privacy. More...
|
|
wiced_result_t | wiced_bt_dev_get_ble_keys (wiced_bt_device_address_t bd_addr, wiced_bt_dev_le_key_type_t *p_key_mask) |
| Gets the LE key mask from stored key information of nv ram. More...
|
|
uint8_t * | wiced_btm_get_private_bda (void) |
| Acquire current LE Resolvable Private Address. More...
|
|
wiced_result_t | wiced_bt_ble_read_le_features (wiced_bt_device_address_t bda, wiced_bt_features_t features) |
| Function wiced_bt_ble_read_le_features. More...
|
|
>
Provides the API declarations for LE host stack management.