mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
2162 lines
99 KiB
HTML
2162 lines
99 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.6"/>
|
|
<title>USB Host Shield 2.0: BTD Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">USB Host Shield 2.0
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#pro-static-attribs">Static Protected Attributes</a> |
|
|
<a href="class_b_t_d-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">BTD Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_b_t_d_8h_source.html">BTD.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for BTD:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_b_t_d__inherit__graph.png" border="0" usemap="#_b_t_d_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="_b_t_d_inherit__map" id="_b_t_d_inherit__map">
|
|
<area shape="rect" id="node2" href="class_u_s_b_device_config.html" title="USBDeviceConfig" alt="" coords="5,6,133,34"/><area shape="rect" id="node3" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="158,6,287,34"/></map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for BTD:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_b_t_d__coll__graph.png" border="0" usemap="#_b_t_d_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_b_t_d_coll__map" id="_b_t_d_coll__map">
|
|
<area shape="rect" id="node2" href="class_u_s_b_device_config.html" title="USBDeviceConfig" alt="" coords="5,86,133,114"/><area shape="rect" id="node3" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="158,86,287,114"/><area shape="rect" id="node4" href="class_u_s_b.html" title="USB" alt="" coords="312,86,360,114"/><area shape="rect" id="node5" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="292,6,380,34"/><area shape="rect" id="node6" href="struct_ep_info.html" title="EpInfo" alt="" coords="385,86,444,114"/></map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a5f07597fe15a2b917cce405fe87f2981"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a5f07597fe15a2b917cce405fe87f2981">BTD</a> (<a class="el" href="class_u_s_b.html">USB</a> *p)</td></tr>
|
|
<tr class="separator:a5f07597fe15a2b917cce405fe87f2981"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a610183f9ddf04155ef2612d1839af7da"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a610183f9ddf04155ef2612d1839af7da">disconnect</a> ()</td></tr>
|
|
<tr class="separator:a610183f9ddf04155ef2612d1839af7da"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4adfc7e51ad3b3c03e7c37d1af159e73"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a> (<a class="el" href="class_bluetooth_service.html">BluetoothService</a> *pService)</td></tr>
|
|
<tr class="separator:a4adfc7e51ad3b3c03e7c37d1af159e73"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6b66a27c0fd359e3129f53451352b55c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a6b66a27c0fd359e3129f53451352b55c">pairWithWiimote</a> ()</td></tr>
|
|
<tr class="separator:a6b66a27c0fd359e3129f53451352b55c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0b59db80825ffd5974e0d2c4a046b328"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a0b59db80825ffd5974e0d2c4a046b328">pairWithHID</a> ()</td></tr>
|
|
<tr class="separator:a0b59db80825ffd5974e0d2c4a046b328"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2a9ecb996243e070e70972370e45e4fd"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a> ()</td></tr>
|
|
<tr class="separator:a2a9ecb996243e070e70972370e45e4fd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">USBDeviceConfig implementation</div></td></tr>
|
|
<tr class="memitem:a4f1808a49e9aca397ba829fac16dc5c3"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a4f1808a49e9aca397ba829fac16dc5c3">ConfigureDevice</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
|
|
<tr class="separator:a4f1808a49e9aca397ba829fac16dc5c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a48608619d8253972dd132edbb3001c5f"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a48608619d8253972dd132edbb3001c5f">Init</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
|
|
<tr class="separator:a48608619d8253972dd132edbb3001c5f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa87c23bce56a20f2db47c6a40c8eda87"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">Release</a> ()</td></tr>
|
|
<tr class="separator:aa87c23bce56a20f2db47c6a40c8eda87"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a76e201c5b561e3a6d0405894ba5c2e41"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a76e201c5b561e3a6d0405894ba5c2e41">Poll</a> ()</td></tr>
|
|
<tr class="separator:a76e201c5b561e3a6d0405894ba5c2e41"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aecdd9d00fc9c12bb3677ed213a6687c3"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aecdd9d00fc9c12bb3677ed213a6687c3">GetAddress</a> ()</td></tr>
|
|
<tr class="separator:aecdd9d00fc9c12bb3677ed213a6687c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b2440748bdaaeb552a05b0f0902f5d8"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a1b2440748bdaaeb552a05b0f0902f5d8">isReady</a> ()</td></tr>
|
|
<tr class="separator:a1b2440748bdaaeb552a05b0f0902f5d8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8760371377c1ba08292b6cc71824754e"><td class="memItemLeft" align="right" valign="top">virtual boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a8760371377c1ba08292b6cc71824754e">DEVCLASSOK</a> (uint8_t klass)</td></tr>
|
|
<tr class="separator:a8760371377c1ba08292b6cc71824754e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adf5dce0907ea33c919908fea5dc0cf21"><td class="memItemLeft" align="right" valign="top">virtual boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#adf5dce0907ea33c919908fea5dc0cf21">VIDPIDOK</a> (uint16_t vid, uint16_t pid)</td></tr>
|
|
<tr class="separator:adf5dce0907ea33c919908fea5dc0cf21"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">UsbConfigXtracter implementation</div></td></tr>
|
|
<tr class="memitem:a23928cd0e5711a2433aec763cfa55773"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a23928cd0e5711a2433aec763cfa55773">EndpointXtract</a> (uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> *ep)</td></tr>
|
|
<tr class="separator:a23928cd0e5711a2433aec763cfa55773"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">HCI Commands</div></td></tr>
|
|
<tr class="memitem:af11ad71d20783d46fe42dd405d10dfda"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#af11ad71d20783d46fe42dd405d10dfda">HCI_Command</a> (uint8_t *data, uint16_t nbytes)</td></tr>
|
|
<tr class="separator:af11ad71d20783d46fe42dd405d10dfda"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae6f942eabd29257bc4896e5f263275b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ae6f942eabd29257bc4896e5f263275b6">hci_reset</a> ()</td></tr>
|
|
<tr class="separator:ae6f942eabd29257bc4896e5f263275b6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acb94a629477d85cebd16a9c5ecd4a8b3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#acb94a629477d85cebd16a9c5ecd4a8b3">hci_read_bdaddr</a> ()</td></tr>
|
|
<tr class="separator:acb94a629477d85cebd16a9c5ecd4a8b3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2ba215b6942f4131e4c5fdef2771e22"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ae2ba215b6942f4131e4c5fdef2771e22">hci_read_local_version_information</a> ()</td></tr>
|
|
<tr class="separator:ae2ba215b6942f4131e4c5fdef2771e22"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9a6747d58951f53389922d80e25b886c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a9a6747d58951f53389922d80e25b886c">hci_set_local_name</a> (const char *name)</td></tr>
|
|
<tr class="separator:a9a6747d58951f53389922d80e25b886c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7dd7faaec1d3d9a1d8159cc2a4190977"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a7dd7faaec1d3d9a1d8159cc2a4190977">hci_write_scan_enable</a> ()</td></tr>
|
|
<tr class="separator:a7dd7faaec1d3d9a1d8159cc2a4190977"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aff59ab45d917406141ae0c9c79047f08"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aff59ab45d917406141ae0c9c79047f08">hci_write_scan_disable</a> ()</td></tr>
|
|
<tr class="separator:aff59ab45d917406141ae0c9c79047f08"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8767529bd203c549348a38ac9c6682b3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a8767529bd203c549348a38ac9c6682b3">hci_remote_name</a> ()</td></tr>
|
|
<tr class="separator:a8767529bd203c549348a38ac9c6682b3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1cb07a155c69bb1fcf45ae030b8947ec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a1cb07a155c69bb1fcf45ae030b8947ec">hci_accept_connection</a> ()</td></tr>
|
|
<tr class="separator:a1cb07a155c69bb1fcf45ae030b8947ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1bea5dd793a2f47006b4a7642efc9e56"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a1bea5dd793a2f47006b4a7642efc9e56">hci_disconnect</a> (uint16_t handle)</td></tr>
|
|
<tr class="separator:a1bea5dd793a2f47006b4a7642efc9e56"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a70047b0f624c3f0ef29f8b76b8a34938"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a70047b0f624c3f0ef29f8b76b8a34938">hci_pin_code_request_reply</a> ()</td></tr>
|
|
<tr class="separator:a70047b0f624c3f0ef29f8b76b8a34938"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7114d2cb62aa413e5ecb25c45c76832b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a7114d2cb62aa413e5ecb25c45c76832b">hci_pin_code_negative_request_reply</a> ()</td></tr>
|
|
<tr class="separator:a7114d2cb62aa413e5ecb25c45c76832b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4d28b9c1a3b9688a1871610caee2cfc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#af4d28b9c1a3b9688a1871610caee2cfc">hci_link_key_request_negative_reply</a> ()</td></tr>
|
|
<tr class="separator:af4d28b9c1a3b9688a1871610caee2cfc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:addd07c18c725a324a05792a83026d36d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#addd07c18c725a324a05792a83026d36d">hci_authentication_request</a> ()</td></tr>
|
|
<tr class="separator:addd07c18c725a324a05792a83026d36d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a678f2c995553ce6a9f48f9b59f2f1555"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a678f2c995553ce6a9f48f9b59f2f1555">hci_inquiry</a> ()</td></tr>
|
|
<tr class="separator:a678f2c995553ce6a9f48f9b59f2f1555"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a45ffbc7a40bbb763b0ece907c3dfc9ff"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a45ffbc7a40bbb763b0ece907c3dfc9ff">hci_inquiry_cancel</a> ()</td></tr>
|
|
<tr class="separator:a45ffbc7a40bbb763b0ece907c3dfc9ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae7066ea743f8907708db945ebef3ad76"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ae7066ea743f8907708db945ebef3ad76">hci_connect</a> ()</td></tr>
|
|
<tr class="separator:ae7066ea743f8907708db945ebef3ad76"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac6c4a65645421fc4be3743d41ef3a924"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ac6c4a65645421fc4be3743d41ef3a924">hci_connect</a> (uint8_t *bdaddr)</td></tr>
|
|
<tr class="separator:ac6c4a65645421fc4be3743d41ef3a924"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9a17405df60591b909ff1502fb8f3141"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a9a17405df60591b909ff1502fb8f3141">hci_write_class_of_device</a> ()</td></tr>
|
|
<tr class="separator:a9a17405df60591b909ff1502fb8f3141"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">L2CAP Commands</div></td></tr>
|
|
<tr class="memitem:aad7d8ef46e60b48ff4aaabefb0b290e7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aad7d8ef46e60b48ff4aaabefb0b290e7">L2CAP_Command</a> (uint16_t handle, uint8_t *data, uint8_t nbytes, uint8_t channelLow=0x01, uint8_t channelHigh=0x00)</td></tr>
|
|
<tr class="separator:aad7d8ef46e60b48ff4aaabefb0b290e7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a55cf412a2053972a353b1ab964ca9d3e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a55cf412a2053972a353b1ab964ca9d3e">l2cap_connection_request</a> (uint16_t handle, uint8_t rxid, uint8_t *scid, uint16_t psm)</td></tr>
|
|
<tr class="separator:a55cf412a2053972a353b1ab964ca9d3e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7d34c62b1d561679dea5cd27356b38a7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a7d34c62b1d561679dea5cd27356b38a7">l2cap_connection_response</a> (uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid, uint8_t result)</td></tr>
|
|
<tr class="separator:a7d34c62b1d561679dea5cd27356b38a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab646a59311344966f139bb3b78f30233"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ab646a59311344966f139bb3b78f30233">l2cap_config_request</a> (uint16_t handle, uint8_t rxid, uint8_t *dcid)</td></tr>
|
|
<tr class="separator:ab646a59311344966f139bb3b78f30233"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a792ac4529b65235698ecf3d37982c05e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a792ac4529b65235698ecf3d37982c05e">l2cap_config_response</a> (uint16_t handle, uint8_t rxid, uint8_t *scid)</td></tr>
|
|
<tr class="separator:a792ac4529b65235698ecf3d37982c05e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac7053ef7ac690be3afbbdd985b163f10"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ac7053ef7ac690be3afbbdd985b163f10">l2cap_disconnection_request</a> (uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</td></tr>
|
|
<tr class="separator:ac7053ef7ac690be3afbbdd985b163f10"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a29d176d9194e5c92fbe54791fc245407"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a29d176d9194e5c92fbe54791fc245407">l2cap_disconnection_response</a> (uint16_t handle, uint8_t rxid, uint8_t *dcid, uint8_t *scid)</td></tr>
|
|
<tr class="separator:a29d176d9194e5c92fbe54791fc245407"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a91f61915c503fe7b861c88f5b3e6733c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a91f61915c503fe7b861c88f5b3e6733c">l2cap_information_response</a> (uint16_t handle, uint8_t rxid, uint8_t infoTypeLow, uint8_t infoTypeHigh)</td></tr>
|
|
<tr class="separator:a91f61915c503fe7b861c88f5b3e6733c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_u_s_b_device_config"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_s_b_device_config')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td></tr>
|
|
<tr class="memitem:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a> (uint8_t port)</td></tr>
|
|
<tr class="separator:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:aa7735da01865bab01b569ee836173737"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a></td></tr>
|
|
<tr class="separator:aa7735da01865bab01b569ee836173737"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f1c28a03bcbe62cc7c083f97ea27594"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a0f1c28a03bcbe62cc7c083f97ea27594">l2capConnectionClaimed</a></td></tr>
|
|
<tr class="separator:a0f1c28a03bcbe62cc7c083f97ea27594"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af5e5b085cec1da5c83c75e80e95b3590"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a></td></tr>
|
|
<tr class="separator:af5e5b085cec1da5c83c75e80e95b3590"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9e5a34242007b64cd6a226cfd1901e74"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a></td></tr>
|
|
<tr class="separator:a9e5a34242007b64cd6a226cfd1901e74"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0359c0c158c864c27319810cbd1534f9"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9">btdName</a></td></tr>
|
|
<tr class="separator:a0359c0c158c864c27319810cbd1534f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a215cb939c01ed3ff56db37841224546c"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a215cb939c01ed3ff56db37841224546c">btdPin</a></td></tr>
|
|
<tr class="separator:a215cb939c01ed3ff56db37841224546c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f8e9171a310e50f2c4a3c19066efe5a"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a1f8e9171a310e50f2c4a3c19066efe5a">my_bdaddr</a> [6]</td></tr>
|
|
<tr class="separator:a1f8e9171a310e50f2c4a3c19066efe5a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa3bb6c692701cb33dfad1ea4d68b6f98"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aa3bb6c692701cb33dfad1ea4d68b6f98">hci_handle</a></td></tr>
|
|
<tr class="separator:aa3bb6c692701cb33dfad1ea4d68b6f98"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab23f95f12675d7b4505ca6807d379182"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ab23f95f12675d7b4505ca6807d379182">disc_bdaddr</a> [6]</td></tr>
|
|
<tr class="separator:ab23f95f12675d7b4505ca6807d379182"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aede42d995c384c238fd49d728df01e4e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a> [30]</td></tr>
|
|
<tr class="separator:aede42d995c384c238fd49d728df01e4e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:addaddee110af23a3195ad56f631e69ea"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#addaddee110af23a3195ad56f631e69ea">hci_version</a></td></tr>
|
|
<tr class="separator:addaddee110af23a3195ad56f631e69ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac7caac80fb6f5f0e794af3644887d88e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#ac7caac80fb6f5f0e794af3644887d88e">connectToWii</a></td></tr>
|
|
<tr class="separator:ac7caac80fb6f5f0e794af3644887d88e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4dc8f94fe85028f3d54f13dde1e5b4ee"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a4dc8f94fe85028f3d54f13dde1e5b4ee">incomingWii</a></td></tr>
|
|
<tr class="separator:a4dc8f94fe85028f3d54f13dde1e5b4ee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0c8cc2a2dd2cda3e760b8b4c1a2d169c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a></td></tr>
|
|
<tr class="separator:a0c8cc2a2dd2cda3e760b8b4c1a2d169c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3aea445b2349e99ef057db1a4ffdd9dc"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a></td></tr>
|
|
<tr class="separator:a3aea445b2349e99ef057db1a4ffdd9dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a962a5714c225dcb633434f02e3657583"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a></td></tr>
|
|
<tr class="separator:a962a5714c225dcb633434f02e3657583"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af40b8d52df99192880c8a13443b6c6d8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#af40b8d52df99192880c8a13443b6c6d8">connectToHIDDevice</a></td></tr>
|
|
<tr class="separator:af40b8d52df99192880c8a13443b6c6d8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a685d6371fb0c950ff6bad4510a8cc85a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a685d6371fb0c950ff6bad4510a8cc85a">incomingHIDDevice</a></td></tr>
|
|
<tr class="separator:a685d6371fb0c950ff6bad4510a8cc85a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2aa418d820fb6b877ea079e0436a518e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a2aa418d820fb6b877ea079e0436a518e">pairWithHIDDevice</a></td></tr>
|
|
<tr class="separator:a2aa418d820fb6b877ea079e0436a518e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:aa5976eead215a58553aee683d42405a0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a> (const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> *ep_ptr)</td></tr>
|
|
<tr class="separator:aa5976eead215a58553aee683d42405a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:a4bcd1d622a6455ee3d0cccc4408700a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_s_b.html">USB</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a></td></tr>
|
|
<tr class="separator:a4bcd1d622a6455ee3d0cccc4408700a1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a58f78a9a28db81858dcc34a32a2ec82c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a></td></tr>
|
|
<tr class="separator:a58f78a9a28db81858dcc34a32a2ec82c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a91d92fee94e5a4cbca472bb3fd883e3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_ep_info.html">EpInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">epInfo</a> [<a class="el" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a>]</td></tr>
|
|
<tr class="separator:a91d92fee94e5a4cbca472bb3fd883e3e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a10c34527ae90e95791ac48ac7d1154a2"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</a></td></tr>
|
|
<tr class="separator:a10c34527ae90e95791ac48ac7d1154a2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a893dd35932821cddda7e482a1904af66"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a></td></tr>
|
|
<tr class="separator:a893dd35932821cddda7e482a1904af66"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a52d6c7895f6bb01729d01ce28a2f3079"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a></td></tr>
|
|
<tr class="separator:a52d6c7895f6bb01729d01ce28a2f3079"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
|
|
Static Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:a49f433ab824f259c3815e180c73bb0ad"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad">BTD_CONTROL_PIPE</a> = 0</td></tr>
|
|
<tr class="separator:a49f433ab824f259c3815e180c73bb0ad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a24166c9b308925eeb2f635fae43ca5ec"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec">BTD_EVENT_PIPE</a> = 1</td></tr>
|
|
<tr class="separator:a24166c9b308925eeb2f635fae43ca5ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a480510bd399ae74a97cd74c8474ef59c"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c">BTD_DATAIN_PIPE</a> = 2</td></tr>
|
|
<tr class="separator:a480510bd399ae74a97cd74c8474ef59c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d82870f7eef8c27c33e6f5989d7a4dd"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd">BTD_DATAOUT_PIPE</a> = 3</td></tr>
|
|
<tr class="separator:a0d82870f7eef8c27c33e6f5989d7a4dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>The Bluetooth Dongle class will take care of all the <a class="el" href="class_u_s_b.html">USB</a> communication and then pass the data to the <a class="el" href="class_bluetooth_service.html">BluetoothService</a> classes. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00230">230</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a5f07597fe15a2b917cce405fe87f2981"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">BTD::BTD </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_u_s_b.html">USB</a> * </td>
|
|
<td class="paramname"><em>p</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Constructor for the <a class="el" href="class_b_t_d.html">BTD</a> class. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">p</td><td>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00027">27</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a4f1808a49e9aca397ba829fac16dc5c3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::ConfigureDevice </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>lowspeed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Address assignment and basic initilization is done here. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Hub number. </td></tr>
|
|
<tr><td class="paramname">port</td><td>Port number on the hub. </td></tr>
|
|
<tr><td class="paramname">lowspeed</td><td>Speed of the device. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00048">48</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a48608619d8253972dd132edbb3001c5f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::Init </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>lowspeed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Initialize the Bluetooth dongle. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Hub number. </td></tr>
|
|
<tr><td class="paramname">port</td><td>Port number on the hub. </td></tr>
|
|
<tr><td class="paramname">lowspeed</td><td>Speed of the device. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00122">122</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa87c23bce56a20f2db47c6a40c8eda87"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::Release </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Release the <a class="el" href="class_u_s_b.html">USB</a> device. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00365">365</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a76e201c5b561e3a6d0405894ba5c2e41"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::Poll </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Poll the <a class="el" href="class_u_s_b.html">USB</a> Input endpoins and run the state machines. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00371">371</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aecdd9d00fc9c12bb3677ed213a6687c3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual uint8_t BTD::GetAddress </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the device address. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The device address. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00270">270</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1b2440748bdaaeb552a05b0f0902f5d8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual bool BTD::isReady </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to check if the dongle has been initialized. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if it's ready. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00278">278</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8760371377c1ba08292b6cc71824754e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual boolean BTD::DEVCLASSOK </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>klass</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used by the <a class="el" href="class_u_s_b.html">USB</a> core to check what this driver support. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">klass</td><td>The device's <a class="el" href="class_u_s_b.html">USB</a> class. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns true if the device's <a class="el" href="class_u_s_b.html">USB</a> class matches this driver. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00287">287</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adf5dce0907ea33c919908fea5dc0cf21"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual boolean BTD::VIDPIDOK </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>vid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>pid</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used by the <a class="el" href="class_u_s_b.html">USB</a> core to check what this driver support. Used to set the Bluetooth address into the PS3 controllers. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">vid</td><td>The device's VID. </td></tr>
|
|
<tr><td class="paramname">pid</td><td>The device's PID. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns true if the device's VID and PID matches this driver. </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00298">298</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a23928cd0e5711a2433aec763cfa55773"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::EndpointXtract </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>conf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>iface</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>alt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>proto</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> * </td>
|
|
<td class="paramname"><em>ep</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p><a class="el" href="class_usb_config_xtracter.html">UsbConfigXtracter</a> implementation, used to extract endpoint information. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">conf</td><td>Configuration value. </td></tr>
|
|
<tr><td class="paramname">iface</td><td>Interface number. </td></tr>
|
|
<tr><td class="paramname">alt</td><td>Alternate setting. </td></tr>
|
|
<tr><td class="paramname">proto</td><td>Interface Protocol. </td></tr>
|
|
<tr><td class="paramname">ep</td><td>Endpoint Descriptor. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="class_usb_config_xtracter.html#aceb5da8339172cbb2e9ce2064e34e5ef">UsbConfigXtracter</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00314">314</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a610183f9ddf04155ef2612d1839af7da"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::disconnect </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Disconnects both the L2CAP Channel and the HCI Connection for all Bluetooth services. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00322">322</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4adfc7e51ad3b3c03e7c37d1af159e73"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t BTD::registerServiceClass </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_bluetooth_service.html">BluetoothService</a> * </td>
|
|
<td class="paramname"><em>pService</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Register bluetooth dongle members/services. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">pService</td><td>Pointer to <a class="el" href="class_bluetooth_service.html">BluetoothService</a> class instance. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The serice ID on succes or -1 on fail. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00333">333</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af11ad71d20783d46fe42dd405d10dfda"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::HCI_Command </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>nbytes</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to send a HCI Command. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">data</td><td>Data to send. </td></tr>
|
|
<tr><td class="paramname">nbytes</td><td>Number of bytes to send. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00922">922</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae6f942eabd29257bc4896e5f263275b6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_reset </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Reset the Bluetooth dongle. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00927">927</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acb94a629477d85cebd16a9c5ecd4a8b3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_read_bdaddr </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Read the Bluetooth address of the dongle. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00958">958</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae2ba215b6942f4131e4c5fdef2771e22"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_read_local_version_information </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Read the HCI Version of the Bluetooth dongle. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00967">967</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9a6747d58951f53389922d80e25b886c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_set_local_name </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>name</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set the local name of the Bluetooth dongle. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>Desired name. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01011">1011</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7dd7faaec1d3d9a1d8159cc2a4190977"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_write_scan_enable </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Enable visibility to other Bluetooth devices. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00936">936</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aff59ab45d917406141ae0c9c79047f08"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_write_scan_disable </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Disable visibility to other Bluetooth devices. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00949">949</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8767529bd203c549348a38ac9c6682b3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_remote_name </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Read the remote devices name. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00992">992</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1cb07a155c69bb1fcf45ae030b8947ec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_accept_connection </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accept the connection with the Bluetooth device. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00976">976</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1bea5dd793a2f47006b4a7642efc9e56"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_disconnect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Disconnect the HCI connection. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>The HCI Handle for the connection. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01145">1145</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a70047b0f624c3f0ef29f8b76b8a34938"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_pin_code_request_reply </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Respond with the pin for the connection. The pin is automatically set for the Wii library, but can be customized for the <a class="el" href="class_s_p_p.html">SPP</a> library. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01071">1071</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7114d2cb62aa413e5ecb25c45c76832b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_pin_code_negative_request_reply </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Respons when no pin was set. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01107">1107</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af4d28b9c1a3b9688a1871610caee2cfc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_link_key_request_negative_reply </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Command is used to reply to a Link Key Request event from the BR/EDR Controller if the Host does not have a stored Link Key for the connection. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01121">1121</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="addd07c18c725a324a05792a83026d36d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_authentication_request </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to try to authenticate with the remote device. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01135">1135</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a678f2c995553ce6a9f48f9b59f2f1555"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_inquiry </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Start a HCI inquiry. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01023">1023</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a45ffbc7a40bbb763b0ece907c3dfc9ff"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_inquiry_cancel </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Cancel a HCI inquiry. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01037">1037</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae7066ea743f8907708db945ebef3ad76"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_connect </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Connect to last device communicated with. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01045">1045</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac6c4a65645421fc4be3743d41ef3a924"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_connect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>bdaddr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Connect to device. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">bdaddr</td><td>Bluetooth address of the device. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01049">1049</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9a17405df60591b909ff1502fb8f3141"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::hci_write_class_of_device </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to a set the class of the device. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01157">1157</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aad7d8ef46e60b48ff4aaabefb0b290e7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::L2CAP_Command </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>nbytes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>channelLow</em> = <code>0x01</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>channelHigh</em> = <code>0x00</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to send L2CAP Commands. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI Handle. </td></tr>
|
|
<tr><td class="paramname">data</td><td>Data to send. </td></tr>
|
|
<tr><td class="paramname">nbytes</td><td>Number of bytes to send. </td></tr>
|
|
<tr><td class="paramname">channelLow,channelHigh</td><td>Low and high byte of channel to send to. If argument is omitted then the Standard L2CAP header: Channel ID (0x01) for ACL-U will be used. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01193">1193</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a55cf412a2053972a353b1ab964ca9d3e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::l2cap_connection_request </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>rxid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>scid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>psm</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>L2CAP Connection Request. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI handle. </td></tr>
|
|
<tr><td class="paramname">rxid</td><td>Identifier. </td></tr>
|
|
<tr><td class="paramname">scid</td><td>Source Channel Identifier. </td></tr>
|
|
<tr><td class="paramname">psm</td><td>Protocol/Service Multiplexer - see: <a href="https://www.bluetooth.org/Technical/AssignedNumbers/logical_link.htm">https://www.bluetooth.org/Technical/AssignedNumbers/logical_link.htm</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01221">1221</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7d34c62b1d561679dea5cd27356b38a7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::l2cap_connection_response </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>rxid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dcid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>scid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>result</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>L2CAP Connection Response. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI handle. </td></tr>
|
|
<tr><td class="paramname">rxid</td><td>Identifier. </td></tr>
|
|
<tr><td class="paramname">dcid</td><td>Destination Channel Identifier. </td></tr>
|
|
<tr><td class="paramname">scid</td><td>Source Channel Identifier. </td></tr>
|
|
<tr><td class="paramname">result</td><td>Result - First send <a class="el" href="_b_t_d_8h.html#a9960d0d5ae92fc92c70bbb84c2a5c0cc">PENDING</a> and then <a class="el" href="_b_t_d_8h.html#a1be7a56cdddcdb7dedf16d4dee381e93">SUCCESSFUL</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01234">1234</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab646a59311344966f139bb3b78f30233"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::l2cap_config_request </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>rxid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dcid</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>L2CAP Config Request. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI Handle. </td></tr>
|
|
<tr><td class="paramname">rxid</td><td>Identifier. </td></tr>
|
|
<tr><td class="paramname">dcid</td><td>Destination Channel Identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01251">1251</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a792ac4529b65235698ecf3d37982c05e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::l2cap_config_response </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>rxid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>scid</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>L2CAP Config Response. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI Handle. </td></tr>
|
|
<tr><td class="paramname">rxid</td><td>Identifier. </td></tr>
|
|
<tr><td class="paramname">scid</td><td>Source Channel Identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01268">1268</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac7053ef7ac690be3afbbdd985b163f10"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::l2cap_disconnection_request </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>rxid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dcid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>scid</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>L2CAP Disconnection Request. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI Handle. </td></tr>
|
|
<tr><td class="paramname">rxid</td><td>Identifier. </td></tr>
|
|
<tr><td class="paramname">dcid</td><td>Device Channel Identifier. </td></tr>
|
|
<tr><td class="paramname">scid</td><td>Source Channel Identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01287">1287</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a29d176d9194e5c92fbe54791fc245407"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::l2cap_disconnection_response </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>rxid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>dcid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>scid</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>L2CAP Disconnection Response. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI Handle. </td></tr>
|
|
<tr><td class="paramname">rxid</td><td>Identifier. </td></tr>
|
|
<tr><td class="paramname">dcid</td><td>Device Channel Identifier. </td></tr>
|
|
<tr><td class="paramname">scid</td><td>Source Channel Identifier. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01300">1300</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a91f61915c503fe7b861c88f5b3e6733c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::l2cap_information_response </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>handle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>rxid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>infoTypeLow</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>infoTypeHigh</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>L2CAP Information Response. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">handle</td><td>HCI Handle. </td></tr>
|
|
<tr><td class="paramname">rxid</td><td>Identifier. </td></tr>
|
|
<tr><td class="paramname">infoTypeLow,infoTypeHigh</td><td>Infotype. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l01313">1313</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6b66a27c0fd359e3129f53451352b55c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::pairWithWiimote </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Call this function to pair with a Wiimote </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00500">500</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0b59db80825ffd5974e0d2c4a046b328"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::pairWithHID </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Call this function to pair with a Wiimote </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00516">516</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2a9ecb996243e070e70972370e45e4fd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::readPollInterval </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Read the poll interval taken from the endpoint descriptors. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The poll interval in ms. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00531">531</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa5976eead215a58553aee683d42405a0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BTD::PrintEndpointDescriptor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> * </td>
|
|
<td class="paramname"><em>ep_ptr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to print the <a class="el" href="class_u_s_b.html">USB</a> Endpoint Descriptor. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ep_ptr</td><td>Pointer to <a class="el" href="class_u_s_b.html">USB</a> Endpoint Descriptor. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8cpp_source.html#l00346">346</a> of file <a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="aa7735da01865bab01b569ee836173737"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::watingForConnection</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Use this to see if it is waiting for a incoming connection. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00471">471</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0f1c28a03bcbe62cc7c083f97ea27594"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::l2capConnectionClaimed</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This is used by the service to know when to store the device information. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00473">473</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af5e5b085cec1da5c83c75e80e95b3590"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::sdpConnectionClaimed</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This is used by the <a class="el" href="class_s_p_p.html">SPP</a> library to claim the current SDP incoming request. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00475">475</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9e5a34242007b64cd6a226cfd1901e74"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::rfcommConnectionClaimed</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>This is used by the <a class="el" href="class_s_p_p.html">SPP</a> library to claim the current RFCOMM incoming request. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00477">477</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0359c0c158c864c27319810cbd1534f9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* BTD::btdName</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The name you wish to make the dongle show up as. It is set automatically by the <a class="el" href="class_s_p_p.html">SPP</a> library. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00480">480</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a215cb939c01ed3ff56db37841224546c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* BTD::btdPin</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The pin you wish to make the dongle use for authentication. It is set automatically by the <a class="el" href="class_s_p_p.html">SPP</a> and <a class="el" href="class_b_t_h_i_d.html">BTHID</a> library. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00482">482</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1f8e9171a310e50f2c4a3c19066efe5a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::my_bdaddr[6]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The bluetooth dongles Bluetooth address. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00485">485</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa3bb6c692701cb33dfad1ea4d68b6f98"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t BTD::hci_handle</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>HCI handle for the last connection. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00487">487</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab23f95f12675d7b4505ca6807d379182"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::disc_bdaddr[6]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Last incoming devices Bluetooth address. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00489">489</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aede42d995c384c238fd49d728df01e4e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::remote_name[30]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>First 30 chars of last remote name. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00491">491</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="addaddee110af23a3195ad56f631e69ea"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::hci_version</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>The supported HCI Version read from the Bluetooth dongle. Used by the <a class="el" href="class_p_s3_b_t.html">PS3BT</a> library to check the HCI Version of the Bluetooth dongle, it should be at least 3 to work properly with the library. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00497">497</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac7caac80fb6f5f0e794af3644887d88e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::connectToWii</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to only send the ACL data to the wiimote. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00503">503</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4dc8f94fe85028f3d54f13dde1e5b4ee"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::incomingWii</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>True if a Wiimote is connecting. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00507">507</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0c8cc2a2dd2cda3e760b8b4c1a2d169c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::pairWithWii</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>True when it should pair with a Wiimote. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00509">509</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3aea445b2349e99ef057db1a4ffdd9dc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::motionPlusInside</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>True if it's the new Wiimote with the Motion Plus Inside or a Wii U Pro Controller. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00511">511</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a962a5714c225dcb633434f02e3657583"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::wiiUProController</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>True if it's a Wii U Pro Controller. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00513">513</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af40b8d52df99192880c8a13443b6c6d8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::connectToHIDDevice</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Used to only send the ACL data to the wiimote. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00519">519</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a685d6371fb0c950ff6bad4510a8cc85a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::incomingHIDDevice</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>True if a Wiimote is connecting. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00523">523</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2aa418d820fb6b877ea079e0436a518e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BTD::pairWithHIDDevice</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>True when it should pair with a device like a mouse or keyboard. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00525">525</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4bcd1d622a6455ee3d0cccc4408700a1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_u_s_b.html">USB</a>* BTD::pUsb</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pointer to <a class="el" href="class_u_s_b.html">USB</a> class instance. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00533">533</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a58f78a9a28db81858dcc34a32a2ec82c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::bAddress</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Device address. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00539">539</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a91d92fee94e5a4cbca472bb3fd883e3e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_ep_info.html">EpInfo</a> BTD::epInfo[<a class="el" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Endpoint info structure. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00541">541</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a10c34527ae90e95791ac48ac7d1154a2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::bConfNum</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Configuration number. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00544">544</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a893dd35932821cddda7e482a1904af66"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BTD::bNumEP</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Total number of endpoints in the configuration. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00546">546</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a52d6c7895f6bb01729d01ce28a2f3079"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t BTD::qNextPollTime</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Next poll time based on poll interval taken from the <a class="el" href="class_u_s_b.html">USB</a> descriptor. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00548">548</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a49f433ab824f259c3815e180c73bb0ad"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t BTD::BTD_CONTROL_PIPE = 0</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Bluetooth dongle control endpoint. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00551">551</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a24166c9b308925eeb2f635fae43ca5ec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t BTD::BTD_EVENT_PIPE = 1</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>HCI event endpoint index. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00553">553</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a480510bd399ae74a97cd74c8474ef59c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t BTD::BTD_DATAIN_PIPE = 2</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>ACL In endpoint index. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00555">555</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0d82870f7eef8c27c33e6f5989d7a4dd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t BTD::BTD_DATAOUT_PIPE = 3</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>ACL Out endpoint index. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00557">557</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="_b_t_d_8h_source.html">BTD.h</a></li>
|
|
<li><a class="el" href="_b_t_d_8cpp_source.html">BTD.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|