components/bt/host/bluedroid/stack/btm/btm_sec.c
/*******************************************************************************
**
** Function         btm_dev_16_digit_authenticated
**
** Description      check device is authenticated by using 16 digit pin or MITM
**
** Returns          BOOLEAN TRUE or FALSE
**
*******************************************************************************/
Function         btm_dev_16_digit_authenticated
Description      check device is authenticated by using 16 digit pin or MITM

Returns          BOOLEAN TRUE or FALSE
Function btm_dev_16_digit_authenticated Description check device is authenticated by using 16 digit pin or MITM Returns BOOLEAN TRUE or FALSE
static BOOLEAN btm_dev_16_digit_authenticated(tBTM_SEC_DEV_REC *p_dev_rec)
{
    if (p_dev_rec->sec_flags & BTM_SEC_16_DIGIT_PIN_AUTHED) {
        return (TRUE);
    }
    return (FALSE);
}
static BOOLEAN btm_dev_16_digit_authenticated ( tBTM_SEC_DEV_REC * p_dev_rec ) { if ( p_dev_rec -> sec_flags & BTM_SEC_16_DIGIT_PIN_AUTHED ) { return ( TRUE ) ; } return ( FALSE ) ; }
Function         btm_dev_16_digit_authenticated
Description      check device is authenticated by using 16 digit pin or MITM
Function btm_dev_16_digit_authenticated Description check device is authenticated by using 16 digit pin or MITM
// BTM_SEC_16_DIGIT_PIN_AUTHED is set if MITM or 16 digit pin is used