Perform the steps mentioned
earlier in "Running the Bluetooth Code" section to initialize the
application.
Issue the Inquiry command for
the HFP server.
Discover servers of the
remote HFP server by issuing the ServiceDiscovery 1 12 command to get the port
number.
Initiate connection to the
remote HFP server by issuing the OpenAudioGatewayClient 1 1 command.Observe the output below from the HFP server.
Sending indications: Issue
the RingIndication or SendCallerIdNotifications +9198787899889 commands.
Observe the below output from the HFP server.
Initiate audio
connection/disconnection and close the HFP connection by issuing the ManageAudio
<STATE> and CloseAgClient commands.
Observe the below output from
the HFP server.
Note: The port ID on the remote Hands free device is 0x01 (The
Unsigned int), as highlighted in the image below from the Attribute ID 0x0004.
This port ID is used in the following OpenAudioGatewayClient command as the
second parameter.