sdk/modules/bluetooth/hal/bcm20706/bcm20706_bt_hfp.c
/****************************************************************************
 * Name: bcm20706_bt_hfp_connect
 *
 * Description:
 *   Bluetooth HFP connect/disconnect.
 *   Connect/Disconnect HFP with target device address.
 *
 ****************************************************************************/
bcm20706_bt_hfp_connect
Description:
Bluetooth HFP connect/disconnect.
Connect/Disconnect HFP with target device address.
bcm20706_bt_hfp_connect Description : Bluetooth HFP connect / disconnect . Connect / Disconnect HFP with target device address .
static int bcm20706_bt_hfp_connect(BT_ADDR *addr, uint16_t handle, bool connect)
{
  int ret = BT_SUCCESS;
  if (connect)
    {
      ret = btHfConnect(addr);
    }
  else
    {
      ret = btHfDisconnect(handle);
    }
  return ret;
}
static int bcm20706_bt_hfp_connect ( BT_ADDR * addr , uint16_t handle , bool connect ) { int ret = BT_SUCCESS ; if ( connect ) { ret = btHfConnect ( addr ) ; } else { ret = btHfDisconnect ( handle ) ; } return ret ; }
Name: bcm20706_bt_hfp_connect
 Description:
   Bluetooth HFP connect/disconnect.
Name : bcm20706_bt_hfp_connect Description : Bluetooth HFP connect / disconnect .
/* Connect */ /* Disconnect */