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

📄 hfp_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
 }<dl class="el"><dd class="mdescRight">Return status for the HFP_INIT_CFM message.  <a href="#a141">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a142">hfp_connect_status</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a40">hfp_connect_success</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a41">hfp_connect_sdp_fail</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a42">hfp_connect_slc_failed</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a43">hfp_connect_failed_busy</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a44">hfp_connect_failed</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a45">hfp_connect_server_channel_not_registered</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a46">hfp_connect_timeout</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a47">hfp_connect_rejected</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a48">hfp_connect_normal_disconnect</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a142a49">hfp_connect_abnormal_disconnect</a><br> }<dl class="el"><dd class="mdescRight">Return status for the HFP_SLC_CONNECT_CFM message.  <a href="#a142">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a143">hfp_disconnect_status</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a143a50">hfp_disconnect_success</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a143a51">hfp_disconnect_link_loss</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a143a52">hfp_disconnect_no_slc</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a143a53">hfp_disconnect_timeout</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a143a54">hfp_disconnect_error</a><br> }<dl class="el"><dd class="mdescRight">Return status for the HFP_SLC_DISCONNECT_IND message.  <a href="#a143">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a144">hfp_audio_connect_status</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a144a55">hfp_audio_connect_success</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a144a56">hfp_audio_connect_failure</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a144a57">hfp_audio_connect_have_audio</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a144a58">hfp_audio_connect_in_progress</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a144a59">hfp_audio_connect_invalid_params</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a144a60">hfp_audio_connect_error</a><br> }<dl class="el"><dd class="mdescRight">Return status for the HFP_AUDIO_CONNECT_CFM message.  <a href="#a144">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a145">hfp_audio_disconnect_status</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a145a61">hfp_audio_disconnect_success</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a145a62">hfp_audio_disconnect_failure</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a145a63">hfp_audio_disconnect_no_audio</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a145a64">hfp_audio_disconnect_in_progress</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a145a65">hfp_audio_disconnect_error</a><br> }<dl class="el"><dd class="mdescRight">Return status for the HFP_AUDIO_DISCONNECT_IND message.  <a href="#a145">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a146">hfp_audio_transfer_direction</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a146a66">hfp_audio_to_hfp</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a146a67">hfp_audio_to_ag</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a146a68">hfp_audio_transfer</a><br> }<dl class="el"><dd class="mdescRight">Transfer direction for audio connection.  <a href="#a146">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a147">hfp_call_setup</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a147a69">hfp_no_call_setup</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a147a70">hfp_incoming_call_setup</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a147a71">hfp_outgoing_call_setup</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a147a72">hfp_outgoing_call_alerting_setup</a><br> }<dl class="el"><dd class="mdescRight">Values of the call_setup indicator.  <a href="#a147">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a148">hfp_subscriber_service</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a148a73">hfp_service_async_modem</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a148a74">hfp_service_sync_modem</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a148a75">hfp_service_pad_access</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a148a76">hfp_service_packet_access</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a148a77">hfp_service_voice</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a148a78">hfp_service_fax</a><br> }<dl class="el"><dd class="mdescRight">Values of the subscriber number service.  <a href="#a148">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a149">hfp_call_direction</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a149a79">hfp_call_mobile_originated</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a149a80">hfp_call_mobile_terminated</a><br> }<dl class="el"><dd class="mdescRight">Call direction used in HFP_CURRENT_CALLS_IND message.  <a href="#a149">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a150">hfp_call_status</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a150a81">hfp_call_active</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a150a82">hfp_call_held</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a150a83">hfp_call_dialling</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a150a84">hfp_call_alerting</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a150a85">hfp_call_incoming</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a150a86">hfp_call_waiting</a><br> }<dl class="el"><dd class="mdescRight">Call status used in HFP_CURRENT_CALLS_IND message.  <a href="#a150">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a151">hfp_call_mode</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a151a87">hfp_call_voice</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a151a88">hfp_call_data</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a151a89">hfp_call_fax</a><br> }<dl class="el"><dd class="mdescRight">Call mode used in HFP_CURRENT_CALLS_IND message.  <a href="#a151">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a152">hfp_call_multiparty</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a152a90">hfp_not_multiparty_call</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a152a91">hfp_multiparty_call</a><br> }<dl class="el"><dd class="mdescRight">Call multiparty status used in HFP_CURRENT_CALLS_IND message.  <a href="#a152">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a153">hfp_response_hold_state</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a153a92">hfp_incoming_call_held</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a153a93">hfp_held_call_accepted</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a153a94">hfp_held_call_rejected</a><br> }<dl class="el"><dd class="mdescRight">Response hold status used in HFP_RESPONSE_HOLD_STATUS_IND message.  <a href="#a153">More...</a><br></dl><li>enum <a class="el" href="hfp_8h.html#a154">hfp_number_type</a> { <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a154a95">hfp_number_unknown</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a154a96">hfp_number_international</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a154a97">hfp_number_national</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a154a98">hfp_number_network</a>, <br>&nbsp;&nbsp;<a class="el" href="hfp_8h.html#a154a99">hfp_number_dedicated</a><br> }<dl class="el"><dd class="mdescRight">Used to identify type of number specified in HFP_SUBSCRIBER_NUMBER_IND, HFP_CALLER_ID_IND, HFP_CALL_WAITING_IND and HFP_CURRENT_CALLS_IND.  <a href="#a154">More...</a><br></dl></ul><h2>Functions</h2><ul><li>void <a class="el" href="hfp_8h.html#a100">HfpInit</a> (<a class="el" href="struct_task_data.html">Task</a> theAppTask, const <a class="el" href="structhfp__init__params.html">hfp_init_params</a> *config)<dl class="el"><dd class="mdescRight">Initialise an instance of the HFP library.  <a href="#a100"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a101">HfpSlcConnect</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp, const <a class="el" href="structbdaddr.html">bdaddr</a> *bd_addr, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *extra_indicators)<dl class="el"><dd class="mdescRight">Initate the creation of a Service Level Connection.  <a href="#a101"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a102">HfpSlcConnectResponse</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp, <a class="el" href="csrtypes_8h.html#a9">bool</a> response, const <a class="el" href="structbdaddr.html">bdaddr</a> *bd_addr, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *extra_indicators)<dl class="el"><dd class="mdescRight">Allow the application to respond to a HFP_SLC_CONNECT_IND message.  <a href="#a102"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a103">HfpSlcDisconnect</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp)<dl class="el"><dd class="mdescRight">Initiate the disconnection of an Service Level Connection for a particular profile instance (hfp).  <a href="#a103"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a104">HfpGetSink</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp)<dl class="el"><dd class="mdescRight">Obtain the the Sink associated with the Service Level Connection for a particular profile instance (hfp).  <a href="#a104"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a105">HfpCallerIdEnable</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp, <a class="el" href="csrtypes_8h.html#a9">bool</a> enable)<dl class="el"><dd class="mdescRight">Enable/ disable caller id indications from the AG.  <a href="#a105"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a106">HfpVoiceRecognitionEnable</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp, <a class="el" href="csrtypes_8h.html#a9">bool</a> enable)<dl class="el"><dd class="mdescRight">Enable / disable voice recognition function at the AG.  <a href="#a106"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a107">HfpAudioTransferConnection</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp, <a class="el" href="hfp_8h.html#a146">hfp_audio_transfer_direction</a> direction, <a class="el" href="connection_8h.html#a324">sync_pkt_type</a> packet_type, const <a class="el" href="structhfp__audio__params.html">hfp_audio_params</a> *audio_params)<dl class="el"><dd class="mdescRight">Transfer the audio connection either from the AG to the HFP or vice versa.  <a href="#a107"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a108">HfpAudioConnect</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp, <a class="el" href="connection_8h.html#a324">sync_pkt_type</a> packet_type, const <a class="el" href="structhfp__audio__params.html">hfp_audio_params</a> *audio_params)<dl class="el"><dd class="mdescRight">Create an audio connection from HFP to AG.  <a href="#a108"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a109">HfpAudioConnectResponse</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp, <a class="el" href="csrtypes_8h.html#a9">bool</a> response, <a class="el" href="connection_8h.html#a324">sync_pkt_type</a> packet_type, const <a class="el" href="structhfp__audio__params.html">hfp_audio_params</a> *audio_params)<dl class="el"><dd class="mdescRight">Accept or reject an incoming audio connection request from the AG.  <a href="#a109"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a110">HfpAudioDisconnect</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp)<dl class="el"><dd class="mdescRight">Disconnect an existing audio connection.  <a href="#a110"></a><br></dl><li>void <a class="el" href="hfp_8h.html#a111">HfpAnswerCall</a> (<a class="el" href="hfp_8h.html#a8">HFP</a> *hfp)

⌨️ 快捷键说明

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