Home
last modified time | relevance | path

Searched refs:sec_state (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_sec.c1035 p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_sec_bond_by_transport()
1118 … btm_pair_state_descr (btm_cb.pairing_state), p_dev_rec->sm4, p_dev_rec->sec_state); in btm_sec_bond_by_transport()
1219 if (p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in BTM_SecBondCancel()
1229 … BTM_TRACE_DEBUG ("hci_handle:0x%x sec_state:%d\n", p_dev_rec->hci_handle, p_dev_rec->sec_state ); in BTM_SecBondCancel()
1243 if ((p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING) || in BTM_SecBondCancel()
1244 (p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING_BOTH)) { in BTM_SecBondCancel()
1394 if (p_dev_rec->p_callback || (p_dev_rec->sec_state != BTM_SEC_STATE_IDLE)) { in BTM_SetEncryption()
1413 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption()
1446 UINT8 old_state = p_dev_rec->sec_state; in btm_sec_send_hci_disconnect()
1459 p_dev_rec->sec_state = BTM_SEC_STATE_DISCONNECTING_BOTH; in btm_sec_send_hci_disconnect()
[all …]
Dbtm_ble.c1478 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in btm_ble_link_sec_check()
1479 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in btm_ble_link_sec_check()
1589 p_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_ble_set_encryption()
1662 if (p_rec->sec_state == BTM_SEC_STATE_ENCRYPTING) { in btm_ble_start_encrypt()
1682 if (p_rec->sec_state == BTM_SEC_STATE_IDLE) { in btm_ble_start_encrypt()
1683 p_rec->sec_state = BTM_SEC_STATE_ENCRYPTING; in btm_ble_start_encrypt()
1712 enc_cback = (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING); in btm_ble_link_encrypted()
1722 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_ble_link_encrypted()
2220 p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING;
2250 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE;
[all …]
Dbtm_dev.c225 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in BTM_SecClearSecurityFlags()
Dbtm_devctl.c152 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in reset_complete()
Dbtm_acl.c2396 p_dev_rec->sec_state != BTM_SEC_STATE_DISCONNECTING) { in btm_remove_acl()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h641 UINT8 sec_state; /* Operating state */ member
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c1330 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in bta_hh_start_security()
1331 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in bta_hh_start_security()