AIROC™ BTSDK v4.8 - Documentation | ||||
Macros | |
#define | BTM_DISCOVERABLE_MASK (BTM_LIMITED_DISCOVERABLE|BTM_GENERAL_DISCOVERABLE) |
#define | BTM_MAX_DISCOVERABLE BTM_GENERAL_DISCOVERABLE |
#define | BTM_CONNECTABLE_MASK (BTM_NON_CONNECTABLE | BTM_CONNECTABLE) |
#define | SMP_ERROR_CODES |
SMP Pairing status codes. | |
#define | BTM_BLE_AUTH_REQ_TYPES |
LE Authentication requirement. | |
advertisement type (used when calling wiced_bt_start_advertisements)
BR/EDR Authentication requirement.
Inquiry Filter Condition types (see wiced_bt_dev_inq_parms_t)
Enumerator | |
---|---|
BTM_CLR_INQUIRY_FILTER |
No inquiry filter. |
BTM_FILTER_COND_DEVICE_CLASS |
Filter on device class. |
BTM_FILTER_COND_BD_ADDR |
Filter on device addr. |
Pairing IO Capabilities.
Bluetooth Management events.
Enumerator | |
---|---|
BTM_ENABLED_EVT |
Bluetooth status events. Bluetooth controller and host stack enabled. Event data: wiced_bt_dev_enabled_t |
BTM_DISABLED_EVT |
Bluetooth controller and host stack disabled. Event data: NULL |
BTM_POWER_MANAGEMENT_STATUS_EVT |
Power management status change. Event data: wiced_bt_power_mgmt_notification_t |
BTM_PIN_REQUEST_EVT |
Security events. PIN request (used only with legacy devices). Event data: wiced_bt_dev_name_and_class_t |
BTM_USER_CONFIRMATION_REQUEST_EVT |
received USER_CONFIRMATION_REQUEST event (respond using #wiced_bt_dev_confirm_req_reply). Event data: wiced_bt_dev_user_cfm_req_t |
BTM_PASSKEY_NOTIFICATION_EVT |
received USER_PASSKEY_NOTIFY event. Event data: wiced_bt_dev_user_key_notif_t |
BTM_PASSKEY_REQUEST_EVT |
received USER_PASSKEY_REQUEST event (respond using #wiced_bt_dev_pass_key_req_reply). Event data: wiced_bt_dev_user_key_req_t |
BTM_KEYPRESS_NOTIFICATION_EVT |
received KEYPRESS_NOTIFY event. Event data: wiced_bt_dev_user_keypress_t |
BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT |
Requesting IO capabilities for BR/EDR pairing. Event data: wiced_bt_dev_bredr_io_caps_req_t |
BTM_PAIRING_IO_CAPABILITIES_BR_EDR_RESPONSE_EVT |
Received IO capabilities response for BR/EDR pairing. Event data: wiced_bt_dev_bredr_io_caps_rsp_t |
BTM_PAIRING_IO_CAPABILITIES_BLE_REQUEST_EVT |
Requesting IO capabilities for LE pairing. Peripheral can check peer io capabilities in event data before updating with local io capabilities. Event data: wiced_bt_dev_ble_io_caps_req_t |
BTM_PAIRING_COMPLETE_EVT |
received SIMPLE_PAIRING_COMPLETE event. Event data: wiced_bt_dev_pairing_cplt_t |
BTM_ENCRYPTION_STATUS_EVT |
Encryption status change. Event data: wiced_bt_dev_encryption_status_t |
BTM_SECURITY_REQUEST_EVT |
Security request (respond using wiced_bt_ble_security_grant). Event data: wiced_bt_dev_security_request_t |
BTM_SECURITY_FAILED_EVT |
Security procedure/authentication failed. Event data: wiced_bt_dev_security_failed_t |
BTM_SECURITY_ABORTED_EVT |
Security procedure aborted locally, or unexpected link drop. Event data: wiced_bt_dev_name_and_class_t |
BTM_READ_LOCAL_OOB_DATA_COMPLETE_EVT |
Result of reading local OOB data (wiced_bt_dev_read_local_oob_data). Event data: wiced_bt_dev_local_oob_t |
BTM_REMOTE_OOB_DATA_REQUEST_EVT |
OOB data from remote device (respond using #wiced_bt_dev_remote_oob_data_reply). Event data: wiced_bt_dev_remote_oob_t |
BTM_PAIRED_DEVICE_LINK_KEYS_UPDATE_EVT |
Updated remote device link keys (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_device_link_keys_t |
BTM_PAIRED_DEVICE_LINK_KEYS_REQUEST_EVT |
Request for stored remote device link keys (restore device_link_keys from NV memory). If successful, return WICED_BT_SUCCESS. Event data: wiced_bt_device_link_keys_t |
BTM_LOCAL_IDENTITY_KEYS_UPDATE_EVT |
Update local identity key (stored local_identity_keys NV memory). Event data: wiced_bt_local_identity_keys_t |
BTM_LOCAL_IDENTITY_KEYS_REQUEST_EVT |
Request local identity key (get local_identity_keys from NV memory). If successful, return WICED_BT_SUCCESS. Event data: wiced_bt_local_identity_keys_t |
BTM_BLE_SCAN_STATE_CHANGED_EVT |
LE scan state change. Event data: wiced_bt_ble_scan_type_t |
BTM_BLE_ADVERT_STATE_CHANGED_EVT |
LE advertisement state change. Event data: wiced_bt_ble_advert_mode_t |
BTM_SMP_REMOTE_OOB_DATA_REQUEST_EVT |
LE Secure Connection events. SMP remote oob data request. Reply using wiced_bt_smp_oob_data_reply. Event data: wiced_bt_smp_remote_oob_req_t |
BTM_SMP_SC_REMOTE_OOB_DATA_REQUEST_EVT |
LE secure connection remote oob data request. Reply using wiced_bt_smp_sc_oob_reply. Event data: wiced_bt_smp_sc_remote_oob_req_t |
BTM_SMP_SC_LOCAL_OOB_DATA_NOTIFICATION_EVT |
LE secure connection local OOB data (wiced_bt_smp_create_local_sc_oob_data). Event data: wiced_bt_smp_sc_local_oob_t |
BTM_SCO_CONNECTED_EVT |
SCO connected event. Event data: wiced_bt_sco_connected_t |
BTM_SCO_DISCONNECTED_EVT |
SCO disconnected event. Event data: wiced_bt_sco_disconnected_t |
BTM_SCO_CONNECTION_REQUEST_EVT |
SCO connection request event. Event data: wiced_bt_sco_connection_request_t |
BTM_SCO_CONNECTION_CHANGE_EVT |
SCO connection change event. Event data: wiced_bt_sco_connection_change_t |
BTM_BLE_CONNECTION_PARAM_UPDATE |
LE connection parameter update. Event data: wiced_bt_ble_connection_param_update_t |
BTM_BLE_PHY_UPDATE_EVT |
LE Physical link update. Event data: wiced_bt_ble_phy_update_t |
enum wiced_bt_sec_flags_e |
enum wiced_bt_sec_level_e |
Security Service Levels [bit mask].
Encryption should not be used without authentication.