components/bt/host/bluedroid/stack/btm/btm_sec.c
/*******************************************************************************
**
** Function         BTM_SetSecureConnectionsOnly
**
** Description      Enable or disable default treatment for Mode 4 Level 0 services
**
** Parameter        secure_connections_only_mode - (TRUE or FALSE) whether or not the device
**                  TRUE means that the device should treat Mode 4 Level 0 services as
**                  services of other levels. (Secure_connections_only_mode)
**                  FALSE means that the device should provide default treatment for
**                  Mode 4 Level 0 services.
**
** Returns          void
**
*******************************************************************************/
Function         BTM_SetSecureConnectionsOnly
Description      Enable or disable default treatment for Mode 4 Level 0 services

Parameter        secure_connections_only_mode - (TRUE or FALSE) whether or not the device
TRUE means that the device should treat Mode 4 Level 0 services as
services of other levels. (Secure_connections_only_mode)
FALSE means that the device should provide default treatment for
Mode 4 Level 0 services.

Returns          void
Function BTM_SetSecureConnectionsOnly Description Enable or disable default treatment for Mode 4 Level 0 services Parameter secure_connections_only_mode - ( TRUE or FALSE ) whether or not the device TRUE means that the device should treat Mode 4 Level 0 services as services of other levels . ( Secure_connections_only_mode ) FALSE means that the device should provide default treatment for Mode 4 Level 0 services . Returns void
void BTM_SetSecureConnectionsOnly (BOOLEAN secure_connections_only_mode)
{
    BTM_TRACE_API("%s: Mode : %u\n", __FUNCTION__,
                  secure_connections_only_mode);
    btm_cb.devcb.secure_connections_only = secure_connections_only_mode;
    btm_cb.security_mode = BTM_SEC_MODE_SC;
}
void BTM_SetSecureConnectionsOnly ( BOOLEAN secure_connections_only_mode ) { BTM_TRACE_API ( " \n " , __FUNCTION__ , secure_connections_only_mode ) ; btm_cb . devcb . secure_connections_only = secure_connections_only_mode ; btm_cb . security_mode = BTM_SEC_MODE_SC ; }
Function         BTM_SetSecureConnectionsOnly
Description      Enable or disable default treatment for Mode 4 Level 0 services
Function BTM_SetSecureConnectionsOnly Description Enable or disable default treatment for Mode 4 Level 0 services