Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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.
 

Typedefs

typedef uint8_t wiced_bt_link_quality_stats_param_t
 Link Quality Statistic Action (see wiced_bt_dev_link_quality_stats_param_e)
 
typedef uint8_t wiced_bt_dev_power_mgmt_status_t
 Power management status (see wiced_bt_dev_power_mgmt_status_e)
 
typedef UINT8 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_smp_status_t
 SMP Pairing status (see wiced_bt_smp_status_e)
 
typedef uint8_t wiced_bt_dev_io_cap_t
 IO capabilities (see wiced_bt_dev_io_cap_e)
 
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_dev_oob_data_t
 OOB data (see wiced_bt_dev_oob_data_e)
 
typedef uint8_t wiced_bt_dev_passkey_entry_type_t
 Bluetooth pairing keypress value (see wiced_bt_dev_passkey_entry_type_e)
 
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_conn_mode_t
 Conn mode wiced_bt_ble_conn_mode_e.
 
typedef uint8_t wiced_bt_ble_advert_mode_t
 Advertisement type wiced_bt_ble_advert_mode_e.
 
typedef uint8_t wiced_bt_ble_scan_type_t
 scan type (see wiced_bt_ble_scan_type_e)
 
typedef uint8_t wiced_bt_management_evt_t
 Bluetooth management events (see wiced_bt_management_evt_e)
 

Enumerations

enum  wiced_bt_dev_link_quality_stats_param_e { WICED_CLEAR_LINK_QUALITY_STATS, WICED_READ_LINK_QUALITY_STATS, WICED_READ_THEN_CLEAR_LINK_QUALITY_STATS }
 Link Quality statistics action type. 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 types. More...
 
enum  wiced_bt_dev_power_mgmt_status_e {
  WICED_POWER_STATE_ACTIVE = HCI_MODE_ACTIVE, WICED_POWER_STATE_SNIFF = HCI_MODE_SNIFF, WICED_POWER_STATE_SSR = WICED_POWER_STATE_SNIFF + 2, WICED_POWER_STATE_PENDING,
  WICED_POWER_STATE_ERROR
}
 Power Management status codes. More...
 
enum  wiced_bt_discoverability_mode_e { BTM_NON_DISCOVERABLE = 0, BTM_LIMITED_DISCOVERABLE = 1, BTM_GENERAL_DISCOVERABLE = 2 }
 BR/EDR Discoverable modes. More...
 
enum  wiced_bt_connectability_mode_e { BTM_NON_CONNECTABLE = 0, BTM_CONNECTABLE = 1 }
 BR/EDR Connectable modes. More...
 
enum  wiced_bt_inquiry_mode_e { BTM_INQUIRY_NONE = 0, BTM_GENERAL_INQUIRY = 0x01, BTM_LIMITED_INQUIRY = 0x02, BTM_BR_INQUIRY_MASK = (BTM_GENERAL_INQUIRY | BTM_LIMITED_INQUIRY) }
 Inquiry modes NOTE These modes are associated with the inquiry active values (BTM_*ACTIVE). More...
 
enum  wiced_bt_dev_filter_cond_e { BTM_CLR_INQUIRY_FILTER = 0, BTM_FILTER_COND_DEVICE_CLASS = HCI_FILTER_COND_DEVICE_CLASS, BTM_FILTER_COND_BD_ADDR = HCI_FILTER_COND_BD_ADDR }
 Inquiry Filter Condition types (see wiced_bt_dev_inq_parms_t) 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_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)
}
 
enum  wiced_bt_sec_level_e {
  BTM_SEC_NONE = 0x0000, BTM_SEC_IN_AUTHENTICATE = 0x0002, BTM_SEC_OUT_AUTHENTICATE = 0x0010, BTM_SEC_ENCRYPT = 0x0024,
  BTM_SEC_SECURE_CONNECTION = 0x0040
}
 Security Service Levels [bit mask]. 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, BTM_IO_CAPABILITIES_DISPLAY_AND_YES_NO_INPUT, BTM_IO_CAPABILITIES_KEYBOARD_ONLY, BTM_IO_CAPABILITIES_NONE,
  BTM_IO_CAPABILITIES_BLE_DISPLAY_AND_KEYBOARD_INPUT, BTM_IO_CAPABILITIES_MAX
}
 Pairing IO Capabilities. More...
 
enum  wiced_bt_dev_auth_req_e {
  BTM_AUTH_SINGLE_PROFILE_NO, BTM_AUTH_SINGLE_PROFILE_YES, BTM_AUTH_ALL_PROFILES_NO, BTM_AUTH_ALL_PROFILES_YES,
  BTM_AUTH_SINGLE_PROFILE_GENERAL_BONDING_NO, BTM_AUTH_SINGLE_PROFILE_GENERAL_BONDING_YES
}
 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_ONLY = 0x08,
  BTM_LE_AUTH_REQ_SC_BOND = (BTM_LE_AUTH_REQ_SC_ONLY|BTM_LE_AUTH_REQ_BOND), BTM_LE_AUTH_REQ_SC_MITM = (BTM_LE_AUTH_REQ_SC_ONLY|BTM_LE_AUTH_REQ_MITM), BTM_LE_AUTH_REQ_SC_MITM_BOND = (BTM_LE_AUTH_REQ_SC_ONLY|BTM_LE_AUTH_REQ_MITM|BTM_LE_AUTH_REQ_BOND), BTM_LE_AUTH_REQ_MASK = 0x1D
}
 
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_passkey_entry_type_e {
  BTM_PASSKEY_ENTRY_STARTED, BTM_PASSKEY_DIGIT_ENTERED, BTM_PASSKEY_DIGIT_ERASED, BTM_PASSKEY_DIGIT_CLEARED,
  BTM_PASSKEY_ENTRY_COMPLETED
}
 Pairing keypress types. 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_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_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_scan_type_e { BTM_BLE_SCAN_TYPE_NONE, BTM_BLE_SCAN_TYPE_HIGH_DUTY, BTM_BLE_SCAN_TYPE_LOW_DUTY }
 Scan duty cycle (used for BTM_BLE_SCAN_STATE_CHANGED_EVT and wiced_bt_dev_create_connection) More...
 
enum  wiced_bt_management_evt_e {
  BTM_ENABLED_EVT, BTM_DISABLED_EVT, BTM_POWER_MANAGEMENT_STATUS_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
}
 Bluetooth Management events. More...
 

Detailed Description

Enumeration Type Documentation

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)

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.

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 

High duty cycle scan.

BTM_BLE_SCAN_TYPE_LOW_DUTY 

Low duty cycle scan.

BR/EDR Connectable modes.

Enumerator
BTM_NON_CONNECTABLE 

Not connectable.

BTM_CONNECTABLE 

BR/EDR connectable.

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

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.

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)

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_ONLY 

LE Secure Connection, no MITM, no Bonding.

BTM_LE_AUTH_REQ_SC_BOND 

LE Secure Connection, no MITM, Bonding.

BTM_LE_AUTH_REQ_SC_MITM 

LE Secure Connection, MITM, no Bonding.

BTM_LE_AUTH_REQ_SC_MITM_BOND 

LE Secure Connection, MITM, Bonding.

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

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

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.

Type of OOB data required.

Enumerator
BTM_OOB_PEER 

Peer OOB data requested.

BTM_OOB_LOCAL 

Local OOB data requested.

BTM_OOB_BOTH 

Both local and peer OOB data requested.

Pairing keypress types.

Enumerator
BTM_PASSKEY_ENTRY_STARTED 

Passkey entry started.

BTM_PASSKEY_DIGIT_ENTERED 

Passkey digit entered.

BTM_PASSKEY_DIGIT_ERASED 

Passkey digit erased.

BTM_PASSKEY_DIGIT_CLEARED 

Passkey cleared.

BTM_PASSKEY_ENTRY_COMPLETED 

Passkey entry completed.

Power Management status codes.

Enumerator
WICED_POWER_STATE_ACTIVE 

Active.

WICED_POWER_STATE_SNIFF 

Sniff.

WICED_POWER_STATE_SSR 

Sniff subrating notification.

WICED_POWER_STATE_PENDING 

Pending (waiting for status from controller)

WICED_POWER_STATE_ERROR 

Error (controller returned error)

BR/EDR Discoverable modes.

Enumerator
BTM_NON_DISCOVERABLE 

Non discoverable.

BTM_LIMITED_DISCOVERABLE 

Limited BR/EDR discoverable.

BTM_GENERAL_DISCOVERABLE 

General BR/EDR discoverable.

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.

Inquiry modes NOTE These modes are associated with the inquiry active values (BTM_*ACTIVE).

Enumerator
BTM_INQUIRY_NONE 

Stop inquiry.

BTM_GENERAL_INQUIRY 

General inquiry.

BTM_LIMITED_INQUIRY 

Limited inquiry.

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

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.

Security Service Levels [bit mask].

Encryption should not be used without authentication.

Enumerator
BTM_SEC_NONE 

Nothing required.

BTM_SEC_IN_AUTHENTICATE 

Inbound call requires authentication.

BTM_SEC_OUT_AUTHENTICATE 

Outbound call requires authentication.

BTM_SEC_ENCRYPT 

Requires encryption (inbound and outbound)

BTM_SEC_SECURE_CONNECTION 

Secure Connections Mode (P-256 based Secure Simple Pairing and Authentication)

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