components/bt/host/bluedroid/stack/btm/btm_sec.c
/*******************************************************************************
**
** Function         BTM_ReadTrustedMask
**
** Description      Get trusted mask for the peer device
**
** Parameters:      bd_addr   - Address of the device
**
** Returns          NULL, if the device record is not found.
**                  otherwise, the trusted mask
**
*******************************************************************************/
Function         BTM_ReadTrustedMask
Description      Get trusted mask for the peer device

bd_addr   - Address of the device

Returns          NULL, if the device record is not found.
otherwise, the trusted mask
Function BTM_ReadTrustedMask Description Get trusted mask for the peer device bd_addr - Address of the device Returns NULL if the device record is not found . otherwise the trusted mask
UINT32 *BTM_ReadTrustedMask (BD_ADDR bd_addr)
{
    tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev (bd_addr);
    if (p_dev_rec != NULL) {
        return (p_dev_rec->trusted_mask);
    }
    return NULL;
}
UINT32 * BTM_ReadTrustedMask ( BD_ADDR bd_addr ) { tBTM_SEC_DEV_REC * p_dev_rec = btm_find_dev ( bd_addr ) ; if ( p_dev_rec != NULL ) { return ( p_dev_rec -> trusted_mask ) ; } return NULL ; }
Function         BTM_ReadTrustedMask
Description      Get trusted mask for the peer device
Function BTM_ReadTrustedMask Description Get trusted mask for the peer device