Programming Manual

i480e&i480e-MD2 Programming Manual
36 / 139
6
HFP AT Command Definition
This chapter introduces the HFP (HF Unit Role) relevant AT commands’ definition,
including a brief description of commands’ syntax, responses and
examples.
6.1
HFP Status
This chapter introduces the defined HFP status.
6.1.1 HFP Lib Status
typedef enum
{
hfp_success = 0, /*! Success.*/
hfp_fail = 0x01, /*! Failure.*/
hfp_ag_failure= 0x02, /*! Failure - AG failure.*/
hfp_no_connection_to_phone= 0x03, /*! Failure - No connection to
phone.*/
hfp_operation_not_allowed= 0x04, /*! Failure - Operation not allowed.*/
hfp_operation_not_supported= 0x05, /*! Failure - Operation not
supported.*/
hfp_ph_sim_pin_required= 0x06, /*! Failure - PH-SIM PIN required.*/
hfp_sim_not_inserted= 0x07, /*! Failure - SIM not inserted.*/
hfp_sim_pin_required= 0x08, /*! Failure - SIM PIN required.*/
hfp_sim_puk_required= 0x09, /*! Failure - SIM PUK required.*/
hfp_sim_failure= 0x0a, /*! Failure - SIM failure.*/
hfp_sim_busy= 0x0b, /*! Failure - SIM busy.*/
hfp_incorrect_password= 0x0c, /*! Failure - Incorrect password.*/
hfp_sim_pin2_required= 0x0d, /*! Failure - SIM PIN2 required.*/
hfp_sim_puk2_required= 0x0e, /*! Failure - SIM PUK2 required.*/
hfp_memory_full= 0x0f, /*! Failure - Memory full.*/
hfp_invalid_index= 0x10, /*! Failure - Invalid index.*/
hfp_memory_failure= 0x11, /*! Failure - Memory failure.*/
hfp_text_string_too_long= 0x12, /*! Failure - Text string too long.*/
hfp_invalid_chars_in_text_string= 0x13, /*! Failure - Invalid characters in
text string.*/
hfp_dial_string_too_long= 0x14, /*! Failure - Dial string too long.*/
hfp_invalid_chars_in_dial_string= 0x15, /*! Failure - Invalid characters in
dial string.*/
hfp_no_network_service= 0x16, /*! Failure - No network service.*/
Barrot Confidential