Programming Manual
i480e&i480e-MD2 Programming Manual
38 / 139
6.1.3 HFP Disconnect Status
typedef enum
{
hfp_disconnect_success, /*! Successful disconnection.*/
hfp_disconnect_link_loss, /*! Unsuccessful due to abnormal link
loss.*/
hfp_disconnect_no_slc, /*! Unsuccessful due to no current
connection.*/
hfp_disconnect_timeout, /*! Unsuccessful due to RFCOMM connection
attempt timeout.*/
hfp_disconnect_error, /*! Unsuccessful due to RFCOMM connection
attempt error.*/
} hfp_disconnect_status;
6.2HFCONN
The HFCONN command is used to create a HFP connection with the remote
device.
Command
AT+B HFCONN [bd]
Response
AT-B HFCONN [status],[bd],[profile]
Parameters
status
Values in the chapter 6.1.2.
bd
Remote Bluetooth device address.
profile
Profile type, where
0: Not HSP/HFP;
1: Headset Profile;
2: Hands-free Profile.
Note
bd is comprised of 12 bytes hexadecimal characters.
6.3HFDISC
The HFDISC command is used to disconnect the HFP connection with the
remote device.
Barrot Confidential