USB_Host_Shield_2.0/_s_p_p_8h.html
2014-06-09 17:02:31 +02:00

370 lines
19 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.7"/>
<title>USB Host Shield 2.0: SPP.h File 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.7 -->
<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><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><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="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> </div>
<div class="headertitle">
<div class="title">SPP.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_b_t_d_8h_source.html">BTD.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for SPP.h:</div>
<div class="dyncontent">
<div class="center"><img src="_s_p_p_8h__incl.png" border="0" usemap="#_s_p_p_8h" alt=""/></div>
<map name="_s_p_p_8h" id="_s_p_p_8h">
<area shape="rect" id="node2" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="5,79,64,104"/><area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="7,152,63,177"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="_s_p_p_8h__dep__incl.png" border="0" usemap="#_s_p_p_8hdep" alt=""/></div>
<map name="_s_p_p_8hdep" id="_s_p_p_8hdep">
<area shape="rect" id="node2" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="5,79,77,104"/></map>
</div>
</div>
<p><a href="_s_p_p_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_p.html">SPP</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:af98e9758e7c66f921d980b280a3f5b4b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#af98e9758e7c66f921d980b280a3f5b4b">SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST_PDU</a>&#160;&#160;&#160;0x06</td></tr>
<tr class="separator:af98e9758e7c66f921d980b280a3f5b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42a6f00a3828a932bae1509c813b5c98"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a42a6f00a3828a932bae1509c813b5c98">SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE_PDU</a>&#160;&#160;&#160;0x07</td></tr>
<tr class="separator:a42a6f00a3828a932bae1509c813b5c98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a677a1fc4883355f7fad87551cc003c1b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a677a1fc4883355f7fad87551cc003c1b">SERIALPORT_UUID</a>&#160;&#160;&#160;0x1101</td></tr>
<tr class="separator:a677a1fc4883355f7fad87551cc003c1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac202a65fc9bc1a5d837e5d095b1bb9f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ac202a65fc9bc1a5d837e5d095b1bb9f2">L2CAP_UUID</a>&#160;&#160;&#160;0x0100</td></tr>
<tr class="separator:ac202a65fc9bc1a5d837e5d095b1bb9f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5747e4c0826eb3341fe2476b5229e0d0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a5747e4c0826eb3341fe2476b5229e0d0">RFCOMM_SABM</a>&#160;&#160;&#160;0x2F</td></tr>
<tr class="separator:a5747e4c0826eb3341fe2476b5229e0d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f534220af893b5ae8c8927564db77c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a9f534220af893b5ae8c8927564db77c3">RFCOMM_UA</a>&#160;&#160;&#160;0x63</td></tr>
<tr class="separator:a9f534220af893b5ae8c8927564db77c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9ffac80725386a879ba956251f64373"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ae9ffac80725386a879ba956251f64373">RFCOMM_UIH</a>&#160;&#160;&#160;0xEF</td></tr>
<tr class="separator:ae9ffac80725386a879ba956251f64373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c8ebc5e78dc22e7ae4e79370fada66f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a2c8ebc5e78dc22e7ae4e79370fada66f">RFCOMM_DISC</a>&#160;&#160;&#160;0x43</td></tr>
<tr class="separator:a2c8ebc5e78dc22e7ae4e79370fada66f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af31032289d962bc2408debecc2823b8c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#af31032289d962bc2408debecc2823b8c">extendAddress</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="separator:af31032289d962bc2408debecc2823b8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11185ec5287f08bf49c2c68d8cd52a16"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a11185ec5287f08bf49c2c68d8cd52a16">BT_RFCOMM_PN_CMD</a>&#160;&#160;&#160;0x83</td></tr>
<tr class="separator:a11185ec5287f08bf49c2c68d8cd52a16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17b4a98661e30b6989cbe35ba5da4822"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a17b4a98661e30b6989cbe35ba5da4822">BT_RFCOMM_PN_RSP</a>&#160;&#160;&#160;0x81</td></tr>
<tr class="separator:a17b4a98661e30b6989cbe35ba5da4822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad14b1def5eec64e94cc64a2dcba354ea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ad14b1def5eec64e94cc64a2dcba354ea">BT_RFCOMM_MSC_CMD</a>&#160;&#160;&#160;0xE3</td></tr>
<tr class="separator:ad14b1def5eec64e94cc64a2dcba354ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab68e7621ab822c3bfb9507c78d0d0550"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ab68e7621ab822c3bfb9507c78d0d0550">BT_RFCOMM_MSC_RSP</a>&#160;&#160;&#160;0xE1</td></tr>
<tr class="separator:ab68e7621ab822c3bfb9507c78d0d0550"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9b8c11f7f4f8e8d59ac77999b2ec4a3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#ad9b8c11f7f4f8e8d59ac77999b2ec4a3">BT_RFCOMM_RPN_CMD</a>&#160;&#160;&#160;0x93</td></tr>
<tr class="separator:ad9b8c11f7f4f8e8d59ac77999b2ec4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a336bf1805637fdd66033c9040e606a6b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_p_p_8h.html#a336bf1805637fdd66033c9040e606a6b">BT_RFCOMM_RPN_RSP</a>&#160;&#160;&#160;0x91</td></tr>
<tr class="separator:a336bf1805637fdd66033c9040e606a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="af98e9758e7c66f921d980b280a3f5b4b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST_PDU&#160;&#160;&#160;0x06</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00024">24</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a42a6f00a3828a932bae1509c813b5c98"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE_PDU&#160;&#160;&#160;0x07</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00025">25</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a677a1fc4883355f7fad87551cc003c1b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SERIALPORT_UUID&#160;&#160;&#160;0x1101</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00026">26</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac202a65fc9bc1a5d837e5d095b1bb9f2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define L2CAP_UUID&#160;&#160;&#160;0x0100</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00027">27</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5747e4c0826eb3341fe2476b5229e0d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define RFCOMM_SABM&#160;&#160;&#160;0x2F</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00030">30</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9f534220af893b5ae8c8927564db77c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define RFCOMM_UA&#160;&#160;&#160;0x63</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00031">31</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae9ffac80725386a879ba956251f64373"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define RFCOMM_UIH&#160;&#160;&#160;0xEF</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00032">32</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2c8ebc5e78dc22e7ae4e79370fada66f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define RFCOMM_DISC&#160;&#160;&#160;0x43</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00034">34</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="af31032289d962bc2408debecc2823b8c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define extendAddress&#160;&#160;&#160;0x01</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00036">36</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a11185ec5287f08bf49c2c68d8cd52a16"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define BT_RFCOMM_PN_CMD&#160;&#160;&#160;0x83</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00039">39</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a17b4a98661e30b6989cbe35ba5da4822"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define BT_RFCOMM_PN_RSP&#160;&#160;&#160;0x81</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00040">40</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad14b1def5eec64e94cc64a2dcba354ea"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define BT_RFCOMM_MSC_CMD&#160;&#160;&#160;0xE3</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00041">41</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab68e7621ab822c3bfb9507c78d0d0550"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define BT_RFCOMM_MSC_RSP&#160;&#160;&#160;0xE1</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00042">42</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad9b8c11f7f4f8e8d59ac77999b2ec4a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define BT_RFCOMM_RPN_CMD&#160;&#160;&#160;0x93</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00043">43</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
<a class="anchor" id="a336bf1805637fdd66033c9040e606a6b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define BT_RFCOMM_RPN_RSP&#160;&#160;&#160;0x91</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00044">44</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
</div>
</div>
</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.7
</small></address>
</body>
</html>