⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hfp_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>BlueLab: hfp.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.8 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>hfp.h File Reference</h1>Header file for the Hands Free Profile library. <a href="#_details">More...</a><p><h2>Data Structures</h2><ul><li>struct <a class="el" href="structhfp__init__params.html">hfp_init_params</a><dl class="el"><dd class="mdescRight">Configuration parameters passed into the hfp profile library in order for an Hfp profile instance to be created and initialised.  <a href="structhfp__init__params.html#_details">More...</a><br></dl><li>struct <a class="el" href="structhfp__audio__params.html">hfp_audio_params</a><dl class="el"><dd class="mdescRight">Connection parameters for setting up an eSCO/SCO connection.  <a href="structhfp__audio__params.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___i_n_i_t___c_f_m___t.html">HFP_INIT_CFM_T</a><dl class="el"><dd class="mdescRight">This message is generated as a result of a call to HfpInit.  <a href="struct_h_f_p___i_n_i_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_l_c___c_o_n_n_e_c_t___c_f_m___t.html">HFP_SLC_CONNECT_CFM_T</a><dl class="el"><dd class="mdescRight">This message returns the result of an attempt to establish a Service Level Connection.  <a href="struct_h_f_p___s_l_c___c_o_n_n_e_c_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_l_c___c_o_n_n_e_c_t___i_n_d___t.html">HFP_SLC_CONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message is sent when a remote device wishes to establish a Service Level Connection.  <a href="struct_h_f_p___s_l_c___c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_l_c___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html">HFP_SLC_DISCONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message is sent when a Service Level Connection has been disconnected.  <a href="struct_h_f_p___s_l_c___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_i_n_k___c_f_m___t.html">HFP_SINK_CFM_T</a><dl class="el"><dd class="mdescRight">This messages returns the sink associated with a Service Level Connection.  <a href="struct_h_f_p___s_i_n_k___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___a_u_d_i_o___c_o_n_n_e_c_t___i_n_d___t.html">HFP_AUDIO_CONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the app that an audio (SCO/eSCO) connection is being requested by the AG.  <a href="struct_h_f_p___a_u_d_i_o___c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___a_u_d_i_o___c_o_n_n_e_c_t___c_f_m___t.html">HFP_AUDIO_CONNECT_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the app that the audio (SCO/eSCO) has been connected or that the attempt to open a SCO/eSCO connection has failed.  <a href="struct_h_f_p___a_u_d_i_o___c_o_n_n_e_c_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___a_u_d_i_o___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html">HFP_AUDIO_DISCONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the app that the audio (SCO/eSCO) has been disconnected.  <a href="struct_h_f_p___a_u_d_i_o___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_e_r_v_i_c_e___i_n_d___t.html">HFP_SERVICE_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the application of a change in the service indicator's status.  <a href="struct_h_f_p___s_e_r_v_i_c_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_a_l_l___i_n_d___t.html">HFP_CALL_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the application of a change in the call indicator's status.  <a href="struct_h_f_p___c_a_l_l___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_a_l_l___s_e_t_u_p___i_n_d___t.html">HFP_CALL_SETUP_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the application of a change in the call_setup indicator's status.  <a href="struct_h_f_p___c_a_l_l___s_e_t_u_p___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_i_g_n_a_l___i_n_d___t.html">HFP_SIGNAL_IND_T</a><li>struct <a class="el" href="struct_h_f_p___r_o_a_m___i_n_d___t.html">HFP_ROAM_IND_T</a><li>struct <a class="el" href="struct_h_f_p___b_a_t_t_c_h_g___i_n_d___t.html">HFP_BATTCHG_IND_T</a><li>struct <a class="el" href="struct_h_f_p___c_a_l_l_h_e_l_d___i_n_d___t.html">HFP_CALLHELD_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the application of a change in the callheld indicator's status.  <a href="struct_h_f_p___c_a_l_l_h_e_l_d___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_i_n_g___i_n_d___t.html">HFP_RING_IND_T</a><dl class="el"><dd class="mdescRight">This message is sent to the application whenever a RING indication is received from the AG.  <a href="struct_h_f_p___r_i_n_g___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___i_n___b_a_n_d___r_i_n_g___i_n_d___t.html">HFP_IN_BAND_RING_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the current in band ring setting of the AG.  <a href="struct_h_f_p___i_n___b_a_n_d___r_i_n_g___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_a_l_l_e_r___i_d___e_n_a_b_l_e___c_f_m___t.html">HFP_CALLER_ID_ENABLE_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this enable/ disable command sent to the AG.  <a href="struct_h_f_p___c_a_l_l_e_r___i_d___e_n_a_b_l_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_a_l_l_e_r___i_d___i_n_d___t.html">HFP_CALLER_ID_IND_T</a><dl class="el"><dd class="mdescRight">If the application has enabled caller id notifications at the AG, this message will be sent to the application whenever a caller id notification is received from the AG.  <a href="struct_h_f_p___c_a_l_l_e_r___i_d___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_a_l_l_e_r___i_d___n_a_m_e___i_n_d___t.html">HFP_CALLER_ID_NAME_IND_T</a><dl class="el"><dd class="mdescRight">Alphanumeric representation of the number in the preceeding HFP_CALLER_ID_IND message.  <a href="struct_h_f_p___c_a_l_l_e_r___i_d___n_a_m_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___a_n_s_w_e_r___c_a_l_l___c_f_m___t.html">HFP_ANSWER_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a request from the application to accept an incoming call.  <a href="struct_h_f_p___a_n_s_w_e_r___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_j_e_c_t___c_a_l_l___c_f_m___t.html">HFP_REJECT_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a request from the application to reject an incoming call.  <a href="struct_h_f_p___r_e_j_e_c_t___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___t_e_r_m_i_n_a_t_e___c_a_l_l___c_f_m___t.html">HFP_TERMINATE_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a request from the application to terminate an outgoing call process or hang up an active call.  <a href="struct_h_f_p___t_e_r_m_i_n_a_t_e___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_a_l_l___w_a_i_t_i_n_g___e_n_a_b_l_e___c_f_m___t.html">HFP_CALL_WAITING_ENABLE_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a request from the application to the AG to enable /disable call waiting notifications.  <a href="struct_h_f_p___c_a_l_l___w_a_i_t_i_n_g___e_n_a_b_l_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_a_l_l___w_a_i_t_i_n_g___i_n_d___t.html">HFP_CALL_WAITING_IND_T</a><dl class="el"><dd class="mdescRight">This message is sent from the Hfp profile library to the application whenever a call waiting notification is received from the AG.  <a href="struct_h_f_p___c_a_l_l___w_a_i_t_i_n_g___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_l_e_a_s_e___h_e_l_d___r_e_j_e_c_t___w_a_i_t_i_n_g___c_a_l_l___c_f_m___t.html">HFP_RELEASE_HELD_REJECT_WAITING_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the AG's response to the AT+CHLD=0 message.  <a href="struct_h_f_p___r_e_l_e_a_s_e___h_e_l_d___r_e_j_e_c_t___w_a_i_t_i_n_g___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_l_e_a_s_e___a_c_t_i_v_e___a_c_c_e_p_t___o_t_h_e_r___c_a_l_l___c_f_m___t.html">HFP_RELEASE_ACTIVE_ACCEPT_OTHER_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the AG's response to the AT+CHLD=1 message.  <a href="struct_h_f_p___r_e_l_e_a_s_e___a_c_t_i_v_e___a_c_c_e_p_t___o_t_h_e_r___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_l_e_a_s_e___s_p_e_c_i_f_i_e_d___a_c_c_e_p_t___o_t_h_e_r___c_a_l_l___c_f_m___t.html">HFP_RELEASE_SPECIFIED_ACCEPT_OTHER_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the AG's response to the AT+CHLD=1,&lt;idx&gt; message.  <a href="struct_h_f_p___r_e_l_e_a_s_e___s_p_e_c_i_f_i_e_d___a_c_c_e_p_t___o_t_h_e_r___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___h_o_l_d___a_c_t_i_v_e___a_c_c_e_p_t___o_t_h_e_r___c_a_l_l___c_f_m___t.html">HFP_HOLD_ACTIVE_ACCEPT_OTHER_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the AG's response to the AT+CHLD=2 message.  <a href="struct_h_f_p___h_o_l_d___a_c_t_i_v_e___a_c_c_e_p_t___o_t_h_e_r___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_q_u_e_s_t___p_r_i_v_a_t_e___h_o_l_d___o_t_h_e_r___c_a_l_l___c_f_m___t.html">HFP_REQUEST_PRIVATE_HOLD_OTHER_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the AG's response to the AT+CHLD=2,&lt;idx&gt; message.  <a href="struct_h_f_p___r_e_q_u_e_s_t___p_r_i_v_a_t_e___h_o_l_d___o_t_h_e_r___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___a_d_d___h_e_l_d___c_a_l_l___c_f_m___t.html">HFP_ADD_HELD_CALL_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the AG's response to the AT+CHLD=3 message.  <a href="struct_h_f_p___a_d_d___h_e_l_d___c_a_l_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___e_x_p_l_i_c_i_t___c_a_l_l___t_r_a_n_s_f_e_r___c_f_m___t.html">HFP_EXPLICIT_CALL_TRANSFER_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the AG's response to the AT+CHLD=4 message.  <a href="struct_h_f_p___e_x_p_l_i_c_i_t___c_a_l_l___t_r_a_n_s_f_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___l_a_s_t___n_u_m_b_e_r___r_e_d_i_a_l___c_f_m___t.html">HFP_LAST_NUMBER_REDIAL_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this dial request.  <a href="struct_h_f_p___l_a_s_t___n_u_m_b_e_r___r_e_d_i_a_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___d_i_a_l___n_u_m_b_e_r___c_f_m___t.html">HFP_DIAL_NUMBER_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of a request to dial a specific number.  <a href="struct_h_f_p___d_i_a_l___n_u_m_b_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___d_i_a_l___m_e_m_o_r_y___c_f_m___t.html">HFP_DIAL_MEMORY_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a request to the AG to dial a number from a particular memory location.  <a href="struct_h_f_p___d_i_a_l___m_e_m_o_r_y___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___v_o_i_c_e___r_e_c_o_g_n_i_t_i_o_n___e_n_a_b_l_e___c_f_m___t.html">HFP_VOICE_RECOGNITION_ENABLE_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to the voice recognition enable/ disable command being sent to the AG.  <a href="struct_h_f_p___v_o_i_c_e___r_e_c_o_g_n_i_t_i_o_n___e_n_a_b_l_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___v_o_i_c_e___r_e_c_o_g_n_i_t_i_o_n___i_n_d___t.html">HFP_VOICE_RECOGNITION_IND_T</a><dl class="el"><dd class="mdescRight">This is an unsolicited message sent in response to a voice recognition indication received from the AG.  <a href="struct_h_f_p___v_o_i_c_e___r_e_c_o_g_n_i_t_i_o_n___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___h_s___b_u_t_t_o_n___p_r_e_s_s___c_f_m___t.html">HFP_HS_BUTTON_PRESS_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to the AT button press command (as defined in the HSP specification) being sent to the AG.  <a href="struct_h_f_p___h_s___b_u_t_t_o_n___p_r_e_s_s___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_p_e_a_k_e_r___v_o_l_u_m_e___c_f_m___t.html">HFP_SPEAKER_VOLUME_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to the AT command notifying the AG of a change in the speaker gain setting on the local device.  <a href="struct_h_f_p___s_p_e_a_k_e_r___v_o_l_u_m_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___m_i_c_r_o_p_h_o_n_e___v_o_l_u_m_e___c_f_m___t.html">HFP_MICROPHONE_VOLUME_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to the AT command notifying the AG of a change in the microphone gain setting on the local device.  <a href="struct_h_f_p___m_i_c_r_o_p_h_o_n_e___v_o_l_u_m_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_p_e_a_k_e_r___v_o_l_u_m_e___i_n_d___t.html">HFP_SPEAKER_VOLUME_IND_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a speaker gain indication being received from the AG.  <a href="struct_h_f_p___s_p_e_a_k_e_r___v_o_l_u_m_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___m_i_c_r_o_p_h_o_n_e___v_o_l_u_m_e___i_n_d___t.html">HFP_MICROPHONE_VOLUME_IND_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a microphone gain indication being received from the AG.  <a href="struct_h_f_p___m_i_c_r_o_p_h_o_n_e___v_o_l_u_m_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___d_i_s_a_b_l_e___n_r_e_c___c_f_m___t.html">HFP_DISABLE_NREC_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to the AT command requesting the AG disables its Noise Reduction(NR) /Echo Cancellation (EC) functions.  <a href="struct_h_f_p___d_i_s_a_b_l_e___n_r_e_c___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___v_o_i_c_e___t_a_g___n_u_m_b_e_r___c_f_m___t.html">HFP_VOICE_TAG_NUMBER_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to the AT command requesting the AG supplies a number to attach to a voice tag.  <a href="struct_h_f_p___v_o_i_c_e___t_a_g___n_u_m_b_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___d_t_m_f___c_f_m___t.html">HFP_DTMF_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent to the application to inform it of the outcome of sending a DTMF command to the AG.  <a href="struct_h_f_p___d_t_m_f___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___u_n_r_e_c_o_g_n_i_s_e_d___a_t___c_m_d___i_n_d___t.html">HFP_UNRECOGNISED_AT_CMD_IND_T</a><dl class="el"><dd class="mdescRight">This message contains the strings that the AT command parser cannot parse.  <a href="struct_h_f_p___u_n_r_e_c_o_g_n_i_s_e_d___a_t___c_m_d___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___e_x_t_r_a___i_n_d_i_c_a_t_o_r___i_n_d_e_x___i_n_d___t.html">HFP_EXTRA_INDICATOR_INDEX_IND_T</a><dl class="el"><dd class="mdescRight">This message returns an indicator supported by the AG.  <a href="struct_h_f_p___e_x_t_r_a___i_n_d_i_c_a_t_o_r___i_n_d_e_x___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___e_x_t_r_a___i_n_d_i_c_a_t_o_r___u_p_d_a_t_e___i_n_d___t.html">HFP_EXTRA_INDICATOR_UPDATE_IND_T</a><dl class="el"><dd class="mdescRight">This message returns the value of an indicator the AG supports.  <a href="struct_h_f_p___e_x_t_r_a___i_n_d_i_c_a_t_o_r___u_p_d_a_t_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___e_n_c_r_y_p_t_i_o_n___c_h_a_n_g_e___i_n_d___t.html">HFP_ENCRYPTION_CHANGE_IND_T</a><dl class="el"><dd class="mdescRight">This is an unsolicited message sent to the application whenever the encryption status of the sink owned by this HFP profile instance changes.  <a href="struct_h_f_p___e_n_c_r_y_p_t_i_o_n___c_h_a_n_g_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_u_b_s_c_r_i_b_e_r___n_u_m_b_e_r___c_f_m___t.html">HFP_SUBSCRIBER_NUMBER_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this request command sent to the AG.  <a href="struct_h_f_p___s_u_b_s_c_r_i_b_e_r___n_u_m_b_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___s_u_b_s_c_r_i_b_e_r___n_u_m_b_e_r___i_n_d___t.html">HFP_SUBSCRIBER_NUMBER_IND_T</a><dl class="el"><dd class="mdescRight">The application will receive this message for each subscriber number sent by the AG in response to a request command.  <a href="struct_h_f_p___s_u_b_s_c_r_i_b_e_r___n_u_m_b_e_r___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___s_t_a_t_u_s___c_f_m___t.html">HFP_RESPONSE_HOLD_STATUS_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this request command sent to the AG.  <a href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___s_t_a_t_u_s___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___h_e_l_d___c_f_m___t.html">HFP_RESPONSE_HOLD_HELD_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this request command sent to the AG.  <a href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___h_e_l_d___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___a_c_c_e_p_t___c_f_m___t.html">HFP_RESPONSE_HOLD_ACCEPT_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this request command sent to the AG.  <a href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___a_c_c_e_p_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___r_e_j_e_c_t___c_f_m___t.html">HFP_RESPONSE_HOLD_REJECT_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this request command sent to the AG.  <a href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___r_e_j_e_c_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___s_t_a_t_u_s___i_n_d___t.html">HFP_RESPONSE_HOLD_STATUS_IND_T</a><dl class="el"><dd class="mdescRight">The application will receive this message for each change in the AG's Response/Hold state or when the application requests the AG's current Response/Hold status.  <a href="struct_h_f_p___r_e_s_p_o_n_s_e___h_o_l_d___s_t_a_t_u_s___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_u_r_r_e_n_t___c_a_l_l_s___c_f_m___t.html">HFP_CURRENT_CALLS_CFM_T</a><dl class="el"><dd class="mdescRight">This message informs the application of the outcome of this request command sent to the AG.  <a href="struct_h_f_p___c_u_r_r_e_n_t___c_a_l_l_s___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___c_u_r_r_e_n_t___c_a_l_l_s___i_n_d___t.html">HFP_CURRENT_CALLS_IND_T</a><dl class="el"><dd class="mdescRight">The application will receive one of these messages for each active call on the AG in response to a request to obtain the list of current calls.  <a href="struct_h_f_p___c_u_r_r_e_n_t___c_a_l_l_s___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_h_f_p___n_e_t_w_o_r_k___o_p_e_r_a_t_o_r___i_n_d___t.html">HFP_NETWORK_OPERATOR_IND_T</a><li>struct <a class="el" href="struct_h_f_p___n_e_t_w_o_r_k___o_p_e_r_a_t_o_r___c_f_m___t.html">HFP_NETWORK_OPERATOR_CFM_T</a><li>struct <a class="el" href="struct_h_f_p___e_x_t_e_n_d_e_d___e_r_r_o_r___c_f_m___t.html">HFP_EXTENDED_ERROR_CFM_T</a></ul><h2>Hfp Supported Features Flag Defines</h2>These flags can be or'd together and used as the supported_features field of an <a class="el" href="structhfp__init__params.html">hfp_init_params</a> structure. <ul><li>#define <a class="el" href="hfp_8h.html#a0">HFP_NREC_FUNCTION</a>&nbsp;&nbsp;&nbsp;(1)<dl class="el"><dd class="mdescRight">Setting this flag indicates that this device implements noise reduction / echo cancellation.  <a href="#a0"></a><br></dl><li>#define <a class="el" href="hfp_8h.html#a1">HFP_THREE_WAY_CALLING</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;1)<dl class="el"><dd class="mdescRight">Setting this flag indicates that this device supports three way call control.  <a href="#a1"></a><br></dl><li>#define <a class="el" href="hfp_8h.html#a2">HFP_CLI_PRESENTATION</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;2)<dl class="el"><dd class="mdescRight">Setting this flag indicates that this device can display calling line identification information.  <a href="#a2"></a><br></dl><li>#define <a class="el" href="hfp_8h.html#a3">HFP_VOICE_RECOGNITION</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;3)<dl class="el"><dd class="mdescRight">Setting this flag indicates that this device can enable voice recognition on the AG.  <a href="#a3"></a><br></dl><li>#define <a class="el" href="hfp_8h.html#a4">HFP_REMOTE_VOL_CONTROL</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;4)<dl class="el"><dd class="mdescRight">Setting this flag indicates that the AG can control this device's local volume.  <a href="#a4"></a><br></dl><li>#define <a class="el" href="hfp_8h.html#a5">HFP_ENHANCED_CALL_STATUS</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;5)<dl class="el"><dd class="mdescRight">Setting this flag indicates that this device can request a list of current calls from the AG and also receive call status indicators from the AG.  <a href="#a5"></a><br></dl><li>#define <a class="el" href="hfp_8h.html#a6">HFP_ENHANCED_CALL_CONTROL</a>&nbsp;&nbsp;&nbsp;(1&lt;&lt;6)<dl class="el"><dd class="mdescRight">Setting this flag indicates that this device can use the extended three-way calling features of the AG.  <a href="#a6"></a><br></dl></ul><h2>Defines</h2><ul><li>#define <a class="el" href="hfp_8h.html#a7">HFP_MESSAGE_BASE</a>&nbsp;&nbsp;&nbsp;0x6e00<dl class="el"><dd class="mdescRight">Define the types for the upstream messages sent from the Hfp profile library to the application.  <a href="#a7"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef __HFP <a class="el" href="hfp_8h.html#a8">HFP</a><dl class="el"><dd class="mdescRight">The Hands Free Profile structure.  <a href="#a8"></a><br></dl></ul><h2>Enumerations</h2><ul><li>enum <a class="el" href="hfp_8h.html#a139">hfp_profile</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a139a9">hfp_no_profile</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a139a10">hfp_headset_profile</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a139a11">hfp_handsfree_profile</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a139a12">hfp_handsfree_15_profile</a><br> }<dl class="el"><dd class="mdescRight">The supported profiles.  <a href="#a139">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a140">hfp_lib_status</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a13">hfp_success</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a14">hfp_fail</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a15">hfp_ag_failure</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a16">hfp_no_connection_to_phone</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a17">hfp_operation_not_allowed</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a18">hfp_operation_not_supported</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a19">hfp_ph_sim_pin_required</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a20">hfp_sim_not_inserted</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a21">hfp_sim_pin_required</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a22">hfp_sim_puk_required</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a23">hfp_sim_failure</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a24">hfp_sim_busy</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a25">hfp_incorrect_password</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a26">hfp_sim_pin2_required</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a27">hfp_sim_puk2_required</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a28">hfp_memory_full</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a29">hfp_invalid_index</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a30">hfp_memory_failure</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a31">hfp_text_string_too_long</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a32">hfp_invalid_chars_in_text_string</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a33">hfp_dial_string_too_long</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a34">hfp_invalid_chars_in_dial_string</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a35">hfp_no_network_service</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a140a36">hfp_network_not_allowed</a><br> }<dl class="el"><dd class="mdescRight">Generic hfp status.  <a href="#a140">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a141">hfp_init_status</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a141a37">hfp_init_success</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a141a38">hfp_init_rfc_chan_fail</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a141a39">hfp_init_sdp_reg_fail</a><br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -