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

📄 link_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
字号:
<!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: link.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>link.h File Reference</h1>Snoop links keys for dual boot devices. <a href="#_details">More...</a><p><h2>Functions</h2><ul><li>void <a class="el" href="link_8h.html#a0">LinkKeyEnableUse</a> (<a class="el" href="csrtypes_8h.html#a9">bool</a> enabled)<dl class="el"><dd class="mdescRight">Enable use of previously snooped link keys.  <a href="#a0"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="link_8h.html#a1">LinkKeySetSnoopMax</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> num)<dl class="el"><dd class="mdescRight">Set a limit on how many link keys we can snoop.  <a href="#a1"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="link_8h.html#a2">LinkKeySnoop</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> index, <a class="el" href="csrtypes_8h.html#a4">uint16</a> nap, <a class="el" href="csrtypes_8h.html#a8">uint8</a> uap, <a class="el" href="csrtypes_8h.html#a3">uint32</a> lap)<dl class="el"><dd class="mdescRight">Request that one of the keys we snoop for is with this Bluetooth address.  <a href="#a2"></a><br></dl><li>void <a class="el" href="link_8h.html#a3">LinkKeyEnableHIDSnooping</a> (<a class="el" href="csrtypes_8h.html#a9">bool</a> enable, <a class="el" href="csrtypes_8h.html#a9">bool</a> clear_entries)<dl class="el"><dd class="mdescRight">Enable snooping of link keys at the moment.  <a href="#a3"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Snoop links keys for dual boot devices. <p>Link key snooping is used by dual boot dongles to steal link keys when they are in the other mode.<hr><h2>Function Documentation</h2><a class="anchor" name="a0" doxytag="link.h::LinkKeyEnableUse" ></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 LinkKeyEnableUse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>enabled</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Enable use of previously snooped link keys. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>enabled</em>&nbsp;</td><td>Enable(TRUE) or Disable (FALSE). </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a1" doxytag="link.h::LinkKeySetSnoopMax" ></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"> <a class="el" href="csrtypes_8h.html#a9">bool</a> LinkKeySetSnoopMax           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>num</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set a limit on how many link keys we can snoop. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>num</em>&nbsp;</td><td>The link key snoop limit. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a2" doxytag="link.h::LinkKeySnoop" ></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"> <a class="el" href="csrtypes_8h.html#a9">bool</a> LinkKeySnoop           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>index</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>nap</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>uap</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a3">uint32</a>&nbsp;</td>          <td class="mdname" nowrap> <em>lap</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>Request that one of the keys we snoop for is with this Bluetooth address. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>index</em>&nbsp;</td><td>Link key index. </td></tr>    <tr><td></td><td valign=top><em>nap</em>&nbsp;</td><td>Non-significant address part. </td></tr>    <tr><td></td><td valign=top><em>uap</em>&nbsp;</td><td>Upper address part. </td></tr>    <tr><td></td><td valign=top><em>lap</em>&nbsp;</td><td>Lower address part. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a3" doxytag="link.h::LinkKeyEnableHIDSnooping" ></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 LinkKeyEnableHIDSnooping           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname" nowrap> <em>enable</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>clear_entries</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>Enable snooping of link keys at the moment. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>enable</em>&nbsp;</td><td>Enable(TRUE) or Disable(FALSE). </td></tr>    <tr><td></td><td valign=top><em>clear_entries</em>&nbsp;</td><td>TRUE or FALSE. </td></tr>  </table></dl>    </td>  </tr></table></body></html>

⌨️ 快捷键说明

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