Programming Manual

i480e&i480e-MD2 Programming Manual
37 / 139
hfp_network_not_allowed= 0x17, /*! Failure - Network not allowed,
emergency calls only.*/
hfp_timeout=0x1d, /*! Failure - Timed out waiting for AG
response */
hfp_network_no_carrier, /*! Failure No Carrier */
hfp_network_busy, /*! Failure - BUSY */
hfp_network_no_answer, /*! Failure NO ANSWER */
hfp_network_delayed, /*! Failure - DELAYED */
hfp_network_blacklisted /*! Failure - BLACKLISTED */
} hfp_lib_status;
6.1.2 HFP Connect Status
typedef enum
{
hfp_connect_success, /*! Successful connection.*/
hfp_connect_sdp_fail, /*! Unsuccessful due to a service
search failure.*/
hfp_connect_slc_failed, /*! Unsuccessful due to a service level
connection failure.*/
hfp_connect_failed_busy, /*! Unsuccessful due to service level
connection already established.*/
hfp_connect_failed, /*! Unsuccessful due to RFCOMM connection
failing to be established.*/
hfp_connect_server_channel_not_registered, /*! Unsuccessful due to
attempt to connect to
unallocated server
channel.*/
hfp_connect_timeout, /*! Unsuccessful due to connection attempt
timing out.*/
hfp_connect_rejected, /*! Unsuccessful due to remote device
rejecting connection.*/
hfp_connect_normal_disconnect, /*! Unsuccessful due to remote
device terminating the connection.*/
hfp_connect_abnormal_disconnect, /*! Unsuccessful due to an
abnormal disconnect while establishing an
rfcomm connection.*/
hfp_connect_fail_bad_params, /*! Connection failed due to bad
parameters supplied by the application. */
} hfp_connect_status;
Barrot Confidential