Prerequisites
Before you begin, set up your device and configure the DUT for HFP client functions.Connect a remote device
To connect a remote device, run the following command from thebluetoothctl menu:
<bt_address> is the Bluetooth address of the remote device.
Example
To connect to a paired remote device with <bt_address> F8:7D:76:9D:9B:6B, run the following command:
Dial a phone number
To dial a phone number, run the following command from theofono/test menu:
<phone_number> is the phone number that you want to dial.
Sample output
Answer an incoming call
To answer an incoming call, run the following command from theofono/test menu:
If you are on a call, an echo is audible. This is a known behavior in software with a BlueZ stack.
List active calls
To list the active calls, run the following command from theofono/test menu:
Reject or disconnect a call
To reject or disconnect a call, run the following command from theofono/test menu:
<call_path> is the call path of the active call.
Example
To hang up a call with the path /hfp/org/bluez/hci0/dev_F8_7D_76_9D_9B_6B/voicecall01, run the following command:
Disconnect a remote device
To disconnect a remote device, run the following command from thebluetoothctl menu:
<bt_address> is the Bluetooth address of the remote device.
Example
To disconnect a paired remote device with <bt_address> F8:7D:76:9D:9B:6B, run the following command:

