Home
last modified time | relevance | path

Searched refs:encryptionStatus (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_le_sec.c70 uint8_t encryptionStatus = GAP_LE_NO_ENCRYPTION; in GapDoLeSecurityCallback() local
90 encryptionStatus = deviceInfo->encryptionStatus; in GapDoLeSecurityCallback()
92 callback(&deviceInfo->addr, result, encryptionStatus, context); in GapDoLeSecurityCallback()
367 if (deviceInfo->encryptionStatus == GAP_LE_UNAUTHENTICATED_ENCRYPTION && result->authFlag) { in GapSetEncryptionStatusForPairEnd()
368 deviceInfo->encryptionStatus = GAP_LE_AUTHENTICATED_ENCRYPTION; in GapSetEncryptionStatusForPairEnd()
371 deviceInfo->encryptionStatus = GAP_LE_NO_ENCRYPTION; in GapSetEncryptionStatusForPairEnd()
527 deviceInfo->encryptionStatus = GAP_LE_NO_ENCRYPTION; in GapLeEncryptionComplete()
534 deviceInfo->encryptionStatus = GAP_LE_AUTHENTICATED_ENCRYPTION; in GapLeEncryptionComplete()
536 deviceInfo->encryptionStatus in GapLeEncryptionComplete()
[all...]
H A Dgap_def.h223 uint8_t encryptionStatus; member
290 uint8_t encryptionStatus; member
H A Dgap_br_sec.c186 if (devInfo->encryptionStatus == GAP_ENC_STATUS_IDLE) { in GapDoSecurityAction()
187 devInfo->encryptionStatus = GAP_ENC_STATUS_ACTION; in GapDoSecurityAction()
193 devInfo->encryptionStatus = GAP_ENC_STATUS_IDLE; in GapDoSecurityAction()
1672 if (devInfo->status == GAP_DEV_SEC_STATUS_ACTION && devInfo->encryptionStatus == GAP_ENC_STATUS_ACTION) { in GapOnEncryptionChangeEvent()
1675 devInfo->encryptionStatus = GAP_ENC_STATUS_IDLE; in GapOnEncryptionChangeEvent()
1718 if (devInfo->status == GAP_DEV_SEC_STATUS_ACTION && devInfo->encryptionStatus == GAP_ENC_STATUS_ACTION) { in GapOnEncryptionKeyRefreshComplete()
1721 devInfo->encryptionStatus = GAP_ENC_STATUS_IDLE; in GapOnEncryptionKeyRefreshComplete()
H A Dgap_le_conn.c402 *status = deviceInfo->encryptionStatus; in GAP_LeGetSecurityStatus()
H A Dgap.c1174 deviceInfo->encryptionStatus = GAP_ENC_STATUS_IDLE; in GapAllocDeviceInfo()

Completed in 8 milliseconds