USB_Host_Shield_2.0/class_bluetooth_service.html

524 lines
24 KiB
HTML
Raw Normal View History

2013-01-30 22:00:18 +01:00
<!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.11"/>
<title>USB Host Shield 2.0: BluetoothService Class Reference</title>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
2013-01-30 22:00:18 +01:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
2013-01-30 22:00:18 +01:00
</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
2013-01-30 22:00:18 +01:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
2013-01-30 22:00:18 +01:00
<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
2013-01-30 22:00:18 +01:00
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
2013-01-30 22:00:18 +01:00
<!-- 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;
2015-04-07 16:07:33 +02:00
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
2013-01-30 22:00:18 +01:00
<a href="class_bluetooth_service-members.html">List of all members</a> </div>
<div class="headertitle">
2015-04-07 16:07:33 +02:00
<div class="title">BluetoothService Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
2013-01-30 22:00:18 +01:00
</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" id="node2" href="class_b_t_h_i_d.html" title="BTHID" alt="" coords="6,80,67,107"/>
<area shape="rect" id="node4" href="class_p_s3_b_t.html" title="PS3BT" alt="" coords="92,80,155,107"/>
<area shape="rect" id="node5" href="class_s_p_p.html" title="SPP" alt="" coords="179,80,225,107"/>
<area shape="rect" id="node6" href="class_w_i_i.html" title="WII" alt="" coords="249,80,288,107"/>
<area shape="rect" id="node3" href="class_p_s4_b_t.html" title="PS4BT" alt="" coords="5,155,68,181"/>
</map>
2013-01-30 22:00:18 +01:00
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
2015-04-07 16:07:33 +02:00
<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" id="node2" href="class_b_t_d.html" title="BTD" alt="" coords="248,171,296,197"/>
<area shape="rect" id="node3" href="class_u_s_b_device_config.html" title="USBDeviceConfig" alt="" coords="5,81,139,108"/>
<area shape="rect" id="node4" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="163,81,301,108"/>
<area shape="rect" id="node5" href="class_u_s_b.html" title="USB" alt="" coords="325,81,376,108"/>
<area shape="rect" id="node6" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="305,5,396,32"/>
<area shape="rect" id="node7" href="struct_ep_info.html" title="EpInfo" alt="" coords="400,81,461,108"/>
</map>
2015-04-07 16:07:33 +02:00
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
2013-01-30 22:00:18 +01:00
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
2015-04-07 16:07:33 +02:00
<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>
2015-04-07 16:07:33 +02:00
<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>
2013-01-30 22:00:18 +01:00
</table>
2013-02-05 20:02:12 +01:00
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2014-01-10 18:20:37 +01:00
<div class="textblock"><p>All Bluetooth services should inherit this class. </p>
2013-02-05 20:02:12 +01:00
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00569">569</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2015-04-07 16:07:33 +02:00
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a410c7df1e49328de23a89921c89f9573"></a>
2015-04-07 16:07:33 +02:00
<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>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00571">571</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2015-04-07 16:07:33 +02:00
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9740e997198485c9629a146a9c981043"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>ACLData</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2015-04-07 16:07:33 +02:00
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Used to pass acldata to the Bluetooth service. </p><dl class="params"><dt>Parameters</dt><dd>
2013-02-05 20:02:12 +01:00
<table class="params">
<tr><td class="paramname">ACLData</td><td>Pointer to the incoming acldata. </td></tr>
</table>
</dd>
</dl>
2013-01-30 22:00:18 +01:00
2015-04-07 16:07:33 +02:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a16df27af39d09963cf0d43910d92ff4c"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2015-04-07 16:07:33 +02:00
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Used to run the different state machines in the Bluetooth service. </p>
2013-01-30 22:00:18 +01:00
2015-04-07 16:07:33 +02:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="aa7c81841d4e898e9dc91533da6d7ab64"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2015-04-07 16:07:33 +02:00
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
2013-02-05 20:02:12 +01:00
<p>Used to reset the Bluetooth service. </p>
2013-01-30 22:00:18 +01:00
2015-04-07 16:07:33 +02:00
<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>
2013-01-30 22:00:18 +01:00
</div>
</div>
<a class="anchor" id="a7bb2c8cccf3f2931629ead9becc51ec9"></a>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2015-04-07 16:07:33 +02:00
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p>Used to disconnect both the L2CAP Channel and the HCI Connection for the Bluetooth service. </p>
2013-01-30 22:00:18 +01:00
2015-04-07 16:07:33 +02:00
<p>Implemented in <a class="el" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP</a>, <a class="el" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII</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 class="anchor" id="a488e219cf0a90d39e643615b1f12e91f"></a>
2015-04-07 16:07:33 +02:00
<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>
2015-04-07 16:07:33 +02:00
<table class="params">
<tr><td class="paramname">funcOnInit</td><td>Function to call. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00591">591</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2015-04-07 16:07:33 +02:00
</div>
</div>
<a class="anchor" id="a34d08d56c560c892c9684133f69b971b"></a>
2015-04-07 16:07:33 +02:00
<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 class="anchor" id="a2a3674a4bb5d409840995eabe07049bd"></a>
2015-04-07 16:07:33 +02:00
<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>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>
2015-04-07 16:07:33 +02:00
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a321393d44ce59213fa1c7498c247d5ff"></a>
2015-04-07 16:07:33 +02:00
<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>
2015-04-07 16:07:33 +02:00
</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>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00609">609</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2015-04-07 16:07:33 +02:00
</div>
</div>
<a class="anchor" id="aa67faf901f78a55a202945a20f6d778a"></a>
2015-04-07 16:07:33 +02:00
<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>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00612">612</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2015-04-07 16:07:33 +02:00
</div>
</div>
<a class="anchor" id="a67b1db67c05d0bbdcd9c992135455437"></a>
2015-04-07 16:07:33 +02:00
<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>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00615">615</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2015-04-07 16:07:33 +02:00
</div>
</div>
<a class="anchor" id="a78a1a893ec9c2db32e42bc2271c4a4f2"></a>
2015-04-07 16:07:33 +02:00
<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>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00618">618</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2015-04-07 16:07:33 +02:00
</div>
</div>
<a class="anchor" id="ad643db609c7e2e3fae8904dbc7991262"></a>
2015-04-07 16:07:33 +02:00
<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>Definition at line <a class="el" href="_b_t_d_8h_source.html#l00621">621</a> of file <a class="el" href="_b_t_d_8h_source.html">BTD.h</a>.</p>
2013-01-30 22:00:18 +01:00
</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>
2013-01-30 22:00:18 +01:00
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
2013-01-30 22:00:18 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
2013-01-30 22:00:18 +01:00
</small></address>
</body>
</html>