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

📄 gavdp_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> enum <a class="el" href="gavdp_8h.html#a61">avdtp_message_type</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>The AVDTP message type. <p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a61a22" doxytag="avdtp_command" ></a>avdtp_command</em>&nbsp;</td><td>A command. </td></tr><tr><td valign=top><em><a class="anchor" name="a61a23" doxytag="avdtp_rfd" ></a>avdtp_rfd</em>&nbsp;</td><td>Reserved for future definition. </td></tr><tr><td valign=top><em><a class="anchor" name="a61a24" doxytag="avdtp_response_accept" ></a>avdtp_response_accept</em>&nbsp;</td><td>An accept response. </td></tr><tr><td valign=top><em><a class="anchor" name="a61a25" doxytag="avdtp_response_reject" ></a>avdtp_response_reject</em>&nbsp;</td><td>A reject response. </td></tr></table></dl>    </td>  </tr></table><a class="anchor" name="a62" doxytag="gavdp.h::gavdp_media_type" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> enum <a class="el" href="gavdp_8h.html#a62">gavdp_media_type</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>The GAVDP media type. <p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a62a26" doxytag="gavdp_media_type_audio" ></a>gavdp_media_type_audio</em>&nbsp;</td><td>Audio. </td></tr><tr><td valign=top><em><a class="anchor" name="a62a27" doxytag="gavdp_media_type_video" ></a>gavdp_media_type_video</em>&nbsp;</td><td>Video. </td></tr><tr><td valign=top><em><a class="anchor" name="a62a28" doxytag="gavdp_media_type_multimedia" ></a>gavdp_media_type_multimedia</em>&nbsp;</td><td>Multimedia. </td></tr></table></dl>    </td>  </tr></table><a class="anchor" name="a63" doxytag="gavdp.h::gavdp_sep_type" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> enum <a class="el" href="gavdp_8h.html#a63">gavdp_sep_type</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>GAVDP Stream Endpoint type. <p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a63a29" doxytag="gavdp_source" ></a>gavdp_source</em>&nbsp;</td><td>Source. </td></tr><tr><td valign=top><em><a class="anchor" name="a63a30" doxytag="gavdp_sink" ></a>gavdp_sink</em>&nbsp;</td><td>Sink. </td></tr></table></dl>    </td>  </tr></table><a class="anchor" name="a64" doxytag="gavdp.h::gavdp_status_code" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> enum <a class="el" href="gavdp_8h.html#a64">gavdp_status_code</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Status codes. <p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a64a31" doxytag="gavdp_success" ></a>gavdp_success</em>&nbsp;</td><td>Operation was successful. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a32" doxytag="gavdp_fail" ></a>gavdp_fail</em>&nbsp;</td><td>The operation failed. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a33" doxytag="gavdp_no_resource" ></a>gavdp_no_resource</em>&nbsp;</td><td>Not enough resources. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a34" doxytag="gavdp_incorrect_state" ></a>gavdp_incorrect_state</em>&nbsp;</td><td>Request is not supported in the current state. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a35" doxytag="gavdp_timeout" ></a>gavdp_timeout</em>&nbsp;</td><td>Operation timed out before completion. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a36" doxytag="gavdp_service_caps_error" ></a>gavdp_service_caps_error</em>&nbsp;</td><td>Service capabilities passed to library are bad or incomplete. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a37" doxytag="gavdp_service_caps_incompatible" ></a>gavdp_service_caps_incompatible</em>&nbsp;</td><td>Local and remote service capabilities are incompatible. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a38" doxytag="gavdp_rejected_by_remote_device" ></a>gavdp_rejected_by_remote_device</em>&nbsp;</td><td>Remote device understood but rejected the operation. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a39" doxytag="gavdp_unsupported_feature" ></a>gavdp_unsupported_feature</em>&nbsp;</td><td>Remote device does not support the requested operation. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a40" doxytag="gavdp_unknown_seid" ></a>gavdp_unknown_seid</em>&nbsp;</td><td>SEID pass to library is unknown. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a41" doxytag="gavdp_closed_by_remote_device" ></a>gavdp_closed_by_remote_device</em>&nbsp;</td><td>Remote device closed the stream. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a42" doxytag="gavdp_aborted" ></a>gavdp_aborted</em>&nbsp;</td><td>Local or remote abort due to signalling breakdown. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a43" doxytag="gavdp_device_not_connected" ></a>gavdp_device_not_connected</em>&nbsp;</td><td>Device specified is not connected. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a44" doxytag="gavdp_busy" ></a>gavdp_busy</em>&nbsp;</td><td>The operation is already in progress. </td></tr><tr><td valign=top><em><a class="anchor" name="a64a45" doxytag="gavdp_disconnect_link_loss" ></a>gavdp_disconnect_link_loss</em>&nbsp;</td><td>Connection disconnected due to link loss. </td></tr></table></dl>    </td>  </tr></table><a class="anchor" name="a65" doxytag="gavdp.h::sep_media_type" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> enum <a class="el" href="gavdp_8h.html#a65">sep_media_type</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Stream EndPoint Media type. <p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a65a46" doxytag="sep_media_type_audio" ></a>sep_media_type_audio</em>&nbsp;</td><td>Audio. </td></tr><tr><td valign=top><em><a class="anchor" name="a65a47" doxytag="sep_media_type_video" ></a>sep_media_type_video</em>&nbsp;</td><td>Video. </td></tr><tr><td valign=top><em><a class="anchor" name="a65a48" doxytag="sep_media_type_multimedia" ></a>sep_media_type_multimedia</em>&nbsp;</td><td>Multimedia. </td></tr></table></dl>    </td>  </tr></table><a class="anchor" name="a66" doxytag="gavdp.h::sep_role" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> enum <a class="el" href="gavdp_8h.html#a66">sep_role</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Stream End Point role. <p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a66a49" doxytag="sep_source" ></a>sep_source</em>&nbsp;</td><td>Stream Endpoint is the Source. </td></tr><tr><td valign=top><em><a class="anchor" name="a66a50" doxytag="sep_sink" ></a>sep_sink</em>&nbsp;</td><td>Stream Endpoint is the Sink. </td></tr></table></dl>    </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="a51" doxytag="gavdp.h::GavdpInit" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void GavdpInit           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="struct_task_data.html">Task</a>&nbsp;</td>          <td class="mdname" nowrap> <em>task</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>priority</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Initialise the GAVDP library. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>task</em>&nbsp;</td><td>The current task. </td></tr>    <tr><td></td><td valign=top><em>priority</em>&nbsp;</td><td>The assigned priority of the library for link policy voting</td></tr>  </table></dl>GAVDP_INIT_CFM message will be received indicating that the result of the request to initialise the library.<p>No further library functions should be called until the AVDT_INIT_CFM message has been received.     </td>  </tr></table><a class="anchor" name="a52" doxytag="gavdp.h::GavdpAddSep" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void GavdpAddSep           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="gavdp_8h.html#a16">GAVDP</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>gavdp</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="structseid__configuration.html">seid_configuration</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>config</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Add a Stream Endpoint to the local database. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>gavdp</em>&nbsp;</td><td>The profile instance which will be used. </td></tr>    <tr><td></td><td valign=top><em>config</em>&nbsp;</td><td>Stream endpoint configuration.</td></tr>  </table></dl>Once a Stream End Point has been added, it can then be used to initiate or accept a GAVDP connection.<p>An A2DP_ADD_SEP_CFM will be sent to the specified task indication the success or failure of the request.     </td>  </tr></table><a class="anchor" name="a53" doxytag="gavdp.h::GavdpConfigureCodecResponse" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">

⌨️ 快捷键说明

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