USB_Host_Shield_2.0/class_bluetooth_service.html
2021-12-19 20:19:39 +00:00

532 lines
25 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>USB Host Shield 2.0: BluetoothService 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/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" 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.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_bluetooth_service-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BluetoothService Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_b_t_d_8h_source.html">BTD.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BluetoothService:</div>
<div class="dyncontent">
<div class="center"><img src="class_bluetooth_service__inherit__graph.png" border="0" usemap="#_bluetooth_service_inherit__map" alt="Inheritance graph"/></div>
<map name="_bluetooth_service_inherit__map" id="_bluetooth_service_inherit__map">
<area shape="rect" title=" " alt="" coords="235,5,369,32"/>
<area shape="rect" href="class_b_t_h_i_d.html" title=" " alt="" coords="145,80,208,107"/>
<area shape="rect" href="class_p_s3_b_t.html" title=" " alt="" coords="232,80,295,107"/>
<area shape="rect" href="class_s_p_p.html" title=" " alt="" coords="319,80,365,107"/>
<area shape="rect" href="class_w_i_i.html" title=" " alt="" coords="390,80,433,107"/>
<area shape="rect" href="class_p_s4_b_t.html" title=" " alt="" coords="5,155,68,181"/>
<area shape="rect" href="class_p_s5_b_t.html" title=" " alt="" coords="92,155,155,181"/>
<area shape="rect" href="class_switch_pro_b_t.html" title=" " alt="" coords="179,155,281,181"/>
<area shape="rect" href="class_x_b_o_x_o_n_e_s_b_t.html" title=" " alt="" coords="305,155,416,181"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for BluetoothService:</div>
<div class="dyncontent">
<div class="center"><img src="class_bluetooth_service__coll__graph.png" border="0" usemap="#_bluetooth_service_coll__map" alt="Collaboration graph"/></div>
<map name="_bluetooth_service_coll__map" id="_bluetooth_service_coll__map">
<area shape="rect" title=" " alt="" coords="207,260,341,287"/>
<area shape="rect" href="class_b_t_d.html" title=" " alt="" coords="249,171,299,197"/>
<area shape="rect" href="class_u_s_b_device_config.html" title=" " alt="" coords="5,81,140,108"/>
<area shape="rect" href="class_usb_config_xtracter.html" title=" " alt="" coords="164,81,304,108"/>
<area shape="rect" href="class_u_s_b.html" title=" " alt="" coords="328,81,377,108"/>
<area shape="rect" href="class_m_a_x3421e.html" title=" " alt="" coords="307,5,399,32"/>
<area shape="rect" href="struct_ep_info.html" title=" " alt="" coords="401,81,464,108"/>
</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:a410c7df1e49328de23a89921c89f9573"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a410c7df1e49328de23a89921c89f9573">BluetoothService</a> (<a class="el" href="class_b_t_d.html">BTD</a> *p)</td></tr>
<tr class="separator:a410c7df1e49328de23a89921c89f9573"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9740e997198485c9629a146a9c981043"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a9740e997198485c9629a146a9c981043">ACLData</a> (uint8_t *ACLData)=0</td></tr>
<tr class="separator:a9740e997198485c9629a146a9c981043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16df27af39d09963cf0d43910d92ff4c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a16df27af39d09963cf0d43910d92ff4c">Run</a> ()=0</td></tr>
<tr class="separator:a16df27af39d09963cf0d43910d92ff4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7c81841d4e898e9dc91533da6d7ab64"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#aa7c81841d4e898e9dc91533da6d7ab64">Reset</a> ()=0</td></tr>
<tr class="separator:aa7c81841d4e898e9dc91533da6d7ab64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bb2c8cccf3f2931629ead9becc51ec9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a7bb2c8cccf3f2931629ead9becc51ec9">disconnect</a> ()=0</td></tr>
<tr class="separator:a7bb2c8cccf3f2931629ead9becc51ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a488e219cf0a90d39e643615b1f12e91f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a488e219cf0a90d39e643615b1f12e91f">attachOnInit</a> (void(*funcOnInit)(void))</td></tr>
<tr class="separator:a488e219cf0a90d39e643615b1f12e91f"><td class="memSeparator" colspan="2">&#160;</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:a34d08d56c560c892c9684133f69b971b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a34d08d56c560c892c9684133f69b971b">onInit</a> ()=0</td></tr>
<tr class="separator:a34d08d56c560c892c9684133f69b971b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a3674a4bb5d409840995eabe07049bd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a2a3674a4bb5d409840995eabe07049bd">checkHciHandle</a> (uint8_t *buf, uint16_t handle)</td></tr>
<tr class="separator:a2a3674a4bb5d409840995eabe07049bd"><td class="memSeparator" colspan="2">&#160;</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:a321393d44ce59213fa1c7498c247d5ff"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a321393d44ce59213fa1c7498c247d5ff">pFuncOnInit</a> )(void)</td></tr>
<tr class="separator:a321393d44ce59213fa1c7498c247d5ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa67faf901f78a55a202945a20f6d778a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_b_t_d.html">BTD</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#aa67faf901f78a55a202945a20f6d778a">pBtd</a></td></tr>
<tr class="separator:aa67faf901f78a55a202945a20f6d778a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67b1db67c05d0bbdcd9c992135455437"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a67b1db67c05d0bbdcd9c992135455437">hci_handle</a></td></tr>
<tr class="separator:a67b1db67c05d0bbdcd9c992135455437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78a1a893ec9c2db32e42bc2271c4a4f2"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#a78a1a893ec9c2db32e42bc2271c4a4f2">l2cap_event_flag</a></td></tr>
<tr class="separator:a78a1a893ec9c2db32e42bc2271c4a4f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad643db609c7e2e3fae8904dbc7991262"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bluetooth_service.html#ad643db609c7e2e3fae8904dbc7991262">identifier</a></td></tr>
<tr class="separator:ad643db609c7e2e3fae8904dbc7991262"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>All Bluetooth services should inherit this class. </p>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00604">604</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a410c7df1e49328de23a89921c89f9573"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a410c7df1e49328de23a89921c89f9573">&#9670;&nbsp;</a></span>BluetoothService()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BluetoothService::BluetoothService </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_b_t_d.html">BTD</a> *&#160;</td>
<td class="paramname"><em>p</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 class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00606">606</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9740e997198485c9629a146a9c981043"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9740e997198485c9629a146a9c981043">&#9670;&nbsp;</a></span>ACLData()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void BluetoothService::ACLData </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>ACLData</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to pass acldata to the Bluetooth service. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ACLData</td><td>Pointer to the incoming acldata. </td></tr>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="class_w_i_i.html#a81e1eb4d9ef9999a84e71d764d54dff7">WII</a>, <a class="el" href="class_p_s3_b_t.html#aa310ede24b68b1b03cfc49c4308c66b7">PS3BT</a>, <a class="el" href="class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d">SPP</a>, and <a class="el" href="class_b_t_h_i_d.html#a84eb1b910027f2d78741f65225c14e54">BTHID</a>.</p>
</div>
</div>
<a id="a16df27af39d09963cf0d43910d92ff4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16df27af39d09963cf0d43910d92ff4c">&#9670;&nbsp;</a></span>Run()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void BluetoothService::Run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to run the different state machines in the Bluetooth service. </p>
<p>Implemented in <a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII</a>, <a class="el" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT</a>, <a class="el" href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">SPP</a>, and <a class="el" href="class_b_t_h_i_d.html#a938eab04e406a29cc9324dad3ccb52cc">BTHID</a>.</p>
</div>
</div>
<a id="aa7c81841d4e898e9dc91533da6d7ab64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7c81841d4e898e9dc91533da6d7ab64">&#9670;&nbsp;</a></span>Reset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void BluetoothService::Reset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to reset the Bluetooth service. </p>
<p>Implemented in <a class="el" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">WII</a>, <a class="el" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">PS3BT</a>, <a class="el" href="class_s_p_p.html#ae2c661bd46cd2d74bd29c4c771cd2ef0">SPP</a>, and <a class="el" href="class_b_t_h_i_d.html#af4c58b81414a037910dd6fb78f97b96e">BTHID</a>.</p>
</div>
</div>
<a id="a7bb2c8cccf3f2931629ead9becc51ec9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bb2c8cccf3f2931629ead9becc51ec9">&#9670;&nbsp;</a></span>disconnect()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void BluetoothService::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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to disconnect both the L2CAP Channel and the HCI Connection for the Bluetooth service. </p>
<p>Implemented in <a class="el" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII</a>, <a class="el" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP</a>, <a class="el" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT</a>, and <a class="el" href="class_b_t_h_i_d.html#ae1ee62d7b9951ec7960f122c9fc2d2d0">BTHID</a>.</p>
</div>
</div>
<a id="a488e219cf0a90d39e643615b1f12e91f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a488e219cf0a90d39e643615b1f12e91f">&#9670;&nbsp;</a></span>attachOnInit()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BluetoothService::attachOnInit </td>
<td>(</td>
<td class="paramtype">void(*)(void)&#160;</td>
<td class="paramname"><em>funcOnInit</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>Used to call your own function when the device is successfully initialized. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">funcOnInit</td><td>Function to call. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00626">626</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a id="a34d08d56c560c892c9684133f69b971b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34d08d56c560c892c9684133f69b971b">&#9670;&nbsp;</a></span>onInit()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void BluetoothService::onInit </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a device is successfully initialized. Use attachOnInit(void (*funcOnInit)(void)) to call your own function. This is useful for instance if you want to set the LEDs in a specific way. </p>
<p>Implemented in <a class="el" href="class_w_i_i.html#ab9449f87825417defb9b985d7181bbd6">WII</a>, <a class="el" href="class_p_s3_b_t.html#a4ed5311e2ba8b2700ab003e37e0f9172">PS3BT</a>, <a class="el" href="class_s_p_p.html#af8355e2e1423e4986536e65c375bcb1e">SPP</a>, and <a class="el" href="class_b_t_h_i_d.html#a9c3d1a1c2420a7f7d6d9f8a75a4a5a88">BTHID</a>.</p>
</div>
</div>
<a id="a2a3674a4bb5d409840995eabe07049bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a3674a4bb5d409840995eabe07049bd">&#9670;&nbsp;</a></span>checkHciHandle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool BluetoothService::checkHciHandle </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>handle</em>&#160;</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">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Used to check if the incoming L2CAP data matches the HCI Handle </p>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00639">639</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a321393d44ce59213fa1c7498c247d5ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a321393d44ce59213fa1c7498c247d5ff">&#9670;&nbsp;</a></span>pFuncOnInit</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void(* BluetoothService::pFuncOnInit) (void)</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 function called in <a class="el" href="class_bluetooth_service.html#a34d08d56c560c892c9684133f69b971b">onInit()</a>. </p>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00644">644</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a id="aa67faf901f78a55a202945a20f6d778a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa67faf901f78a55a202945a20f6d778a">&#9670;&nbsp;</a></span>pBtd</h2>
<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_b_t_d.html">BTD</a>* BluetoothService::pBtd</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_b_t_d.html">BTD</a> instance. </p>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00647">647</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a id="a67b1db67c05d0bbdcd9c992135455437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67b1db67c05d0bbdcd9c992135455437">&#9670;&nbsp;</a></span>hci_handle</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint16_t BluetoothService::hci_handle</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>The HCI Handle for the connection. </p>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00650">650</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a id="a78a1a893ec9c2db32e42bc2271c4a4f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78a1a893ec9c2db32e42bc2271c4a4f2">&#9670;&nbsp;</a></span>l2cap_event_flag</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint32_t BluetoothService::l2cap_event_flag</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>L2CAP flags of received Bluetooth events. </p>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00653">653</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
</div>
</div>
<a id="ad643db609c7e2e3fae8904dbc7991262"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad643db609c7e2e3fae8904dbc7991262">&#9670;&nbsp;</a></span>identifier</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t BluetoothService::identifier</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>Identifier for L2CAP commands. </p>
<p class="definition">Definition at line <a class="el" href="_b_t_d_8h_source.html#l00656">656</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 file:<ul>
<li><a class="el" href="_b_t_d_8h_source.html">BTD.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>