Programming Manual

i480e&i480e-MD2 Programming Manual
96 / 139
aghfp_connect_rejected, /*!< Unsuccessful due to
remote device rejecting connection.
*/
aghfp_connect_normal_disconnect, /*!< Unsuccessful due to remote
device terminating the connection. */
aghfp_connect_abnormal_disconnect /*!< Unsuccessful due to an
abnormal disconnect while
establishing an rfcomm connection.
*/
aghfp_connect_rejected_key_missing,
aghfp_connect_rejected_key_security
} aghfp_connect_status;
20.1.3 HFP AG Disconnect Status
typedef enum
{
aghfp_disconnect_success, /*!< Successful disconnection. */
aghfp_disconnect_link_loss, /*!< Unsuccessful due to
abnormal linkloss. */
aghfp_disconnect_no_slc, /*!< Unsuccessful due to no
current connection. */
aghfp_disconnect_timeout, /*!< Unsuccessful due to
RFCOMM connection
attempt timeout. */
aghfp_disconnect_error /*!< Unsuccessful due to
RFCOMM connection attempt
error. */
} aghfp_disconnect_status;
20.1.4 HFP AG Audio Connect Status
typedef enum
{
aghfp_audio_connect_success, /*! Successful audio connection.*/
aghfp_audio_connect_failure, /*! Unsuccessful due to negotiation failure.*/
aghfp_audio_connect_have_audio, /*! Unsuccessful due to audio already
being with device.*/
aghfp_audio_connect_in_progress, /*! Unsuccessful due to an audio connect
already being attempted.*/
aghfp_audio_connect_invalid_params, /*! Unsuccessful due to one or more
Barrot Confidential