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

📄 pbaps_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Possible return values to a GET request. <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="a41a16" doxytag="pbaps_get_ok" ></a>pbaps_get_ok</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a41a17" doxytag="pbaps_get_eol" ></a>pbaps_get_eol</em>&nbsp;</td><td></td></tr></table></dl>    </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="a18" doxytag="pbaps.h::PbapsInit" ></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 PbapsInit           </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>theAppTask</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 class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a8">uint8</a>&nbsp;</td>          <td class="mdname" nowrap> <em>repositories</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 PBAP Server Library. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>theAppTask</em>&nbsp;</td><td>The current application task. </td></tr>    <tr><td></td><td valign=top><em>priority</em>&nbsp;</td><td>The profile instance low power mode priority. For a set of profile instances with connections on a given ACL the instance with the highest priority value wins and the low power mode on the ACL is set according to it's power table. </td></tr>    <tr><td></td><td valign=top><em>repsositories</em>&nbsp;</td><td>Repositories supported by the server. Mask values defined in <a class="el" href="pbap__common_8h.html">pbap_common.h</a>.</td></tr>  </table></dl>PBAPS_INIT_CFM message will be received by the application.     </td>  </tr></table><a class="anchor" name="a19" doxytag="pbaps.h::PbapsConnectResponse" ></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 PbapsConnectResponse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="pbaps_8h.html#a1">PBAPS</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>pbaps</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname" nowrap> <em>accept</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>pktSize</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>Respond to a connection request. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>pbaps</em>&nbsp;</td><td>PBAPS Session Handle. </td></tr>    <tr><td></td><td valign=top><em>accept</em>&nbsp;</td><td>TRUE to accept the connection, or FALSE to refuse it. </td></tr>    <tr><td></td><td valign=top><em>pktSize</em>&nbsp;</td><td>Maximum packet size that can be accepted on this connection.</td></tr>  </table></dl>This function should be called on recept of a PBAPS_CONNECT_IND message. A PBAPS_CONNECT_CFM message will be received on completion.     </td>  </tr></table><a class="anchor" name="a20" doxytag="pbaps.h::PbapsConnectAuthChallenge" ></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 PbapsConnectAuthChallenge           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="pbaps_8h.html#a1">PBAPS</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>pbaps</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>nonce</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a8">uint8</a>&nbsp;</td>          <td class="mdname" nowrap> <em>options</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>size_realm</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>realm</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>    </td>  </tr></table><a class="anchor" name="a21" doxytag="pbaps.h::PbapsSetPhonebookRootResponse" ></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 PbapsSetPhonebookRootResponse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="pbaps_8h.html#a1">PBAPS</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>pbaps</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="pbaps_8h.html#a40">pbaps_set_phonebook_result</a>&nbsp;</td>          <td class="mdname" nowrap> <em>result</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>Respond to a Set Phonebook Root request. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>pbaps</em>&nbsp;</td><td>PBAPS Session Handle. </td></tr>    <tr><td></td><td valign=top><em>result</em>&nbsp;</td><td>Result of the request.</td></tr>  </table></dl>This function should be called on recept of a PBAPS_SET_PB_ROOT_IND message.     </td>  </tr></table><a class="anchor" name="a22" doxytag="pbaps.h::PbapsSetPhonebookRepositoryResponse" ></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 PbapsSetPhonebookRepositoryResponse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="pbaps_8h.html#a1">PBAPS</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>pbaps</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="pbaps_8h.html#a40">pbaps_set_phonebook_result</a>&nbsp;</td>          <td class="mdname" nowrap> <em>result</em></td>        </tr>        <tr>

⌨️ 快捷键说明

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