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.3.1" / >
< title > USB_Host_Shield_2.0: SPP 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" / >
< / 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.3.1 -->
< 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 = "class_s_p_p-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > SPP Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < code > #include < < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > > < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for SPP:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_s_p_p__inherit__graph.png" border = "0" usemap = "#_s_p_p_inherit__map" alt = "Inheritance graph" / > < / div >
< map name = "_s_p_p_inherit__map" id = "_s_p_p_inherit__map" >
< area shape = "rect" id = "node2" href = "class_bluetooth_service.html" title = "BluetoothService" alt = "" coords = "5,5,88,27" / > < / map >
< center > < span class = "legend" > [< a href = "graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< div class = "dynheader" >
Collaboration diagram for SPP:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_s_p_p__coll__graph.png" border = "0" usemap = "#_s_p_p_coll__map" alt = "Collaboration graph" / > < / div >
< map name = "_s_p_p_coll__map" id = "_s_p_p_coll__map" >
< area shape = "rect" id = "node2" href = "class_bluetooth_service.html" title = "BluetoothService" alt = "" coords = "5,5,88,27" / > < / 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:ae5cb4167b3ab9c891398f54729c6da81" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#ae5cb4167b3ab9c891398f54729c6da81" > SPP< / a > (< a class = "el" href = "class_b_t_d.html" > BTD< / a > *p, const char *name=" Arduino" , const char *pin=" 1234" )< / td > < / tr >
< tr class = "separator:ae5cb4167b3ab9c891398f54729c6da81" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-02-05 20:02:12 +01:00
< tr > < td colspan = "2" > < div class = "groupHeader" > BluetoothService implementation< / div > < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:abdfe9453fb82781bec53a191c2e9fb1d" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#abdfe9453fb82781bec53a191c2e9fb1d" > ACLData< / a > (uint8_t *ACLData)< / td > < / tr >
< tr class = "separator:abdfe9453fb82781bec53a191c2e9fb1d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2de67ee7ad1be9d2f3daf7dc08dc5f90" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90" > Run< / a > ()< / td > < / tr >
< tr class = "separator:a2de67ee7ad1be9d2f3daf7dc08dc5f90" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae2c661bd46cd2d74bd29c4c771cd2ef0" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#ae2c661bd46cd2d74bd29c4c771cd2ef0" > Reset< / a > ()< / td > < / tr >
< tr class = "separator:ae2c661bd46cd2d74bd29c4c771cd2ef0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2b4b1f85f553c6a2fdd523e50c75c7b0" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0" > disconnect< / a > ()< / td > < / tr >
< tr class = "separator:a2b4b1f85f553c6a2fdd523e50c75c7b0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-02-05 20:02:12 +01:00
< tr > < td colspan = "2" > < div class = "groupHeader" > Serial port profile (SPP) Print functions< / div > < / td > < / tr >
< tr class = "memitem:acbea2d8894757fad6f9b903cad942b36" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36" > print< / a > (const String & str)< / td > < / tr >
< tr class = "separator:acbea2d8894757fad6f9b903cad942b36" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8b2ce856e7431905451c3f45526e1b28" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a8b2ce856e7431905451c3f45526e1b28" > println< / a > (const String & str)< / td > < / tr >
< tr class = "separator:a8b2ce856e7431905451c3f45526e1b28" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2632bccbdd58b98c483a85e5474fd053" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a2632bccbdd58b98c483a85e5474fd053" > print< / a > (const char *str)< / td > < / tr >
< tr class = "separator:a2632bccbdd58b98c483a85e5474fd053" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8f39d99ed5299a38f86b2c2376ddfdc4" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a8f39d99ed5299a38f86b2c2376ddfdc4" > println< / a > (const char *str)< / td > < / tr >
< tr class = "separator:a8f39d99ed5299a38f86b2c2376ddfdc4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:a6bf2176a1fd3772e2c903eee680307b4" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a6bf2176a1fd3772e2c903eee680307b4" > print< / a > (uint8_t data)< / td > < / tr >
< tr class = "separator:a6bf2176a1fd3772e2c903eee680307b4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a627a6371ed4f9c251fe0dd4e1b867a2f" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a627a6371ed4f9c251fe0dd4e1b867a2f" > println< / a > (uint8_t data)< / td > < / tr >
< tr class = "separator:a627a6371ed4f9c251fe0dd4e1b867a2f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-02-05 20:02:12 +01:00
< tr class = "memitem:a29784e177ce4ea9ee3e155d1a39cf3fa" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a29784e177ce4ea9ee3e155d1a39cf3fa" > print< / a > (uint8_t *array, uint8_t length)< / td > < / tr >
< tr class = "separator:a29784e177ce4ea9ee3e155d1a39cf3fa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:aec05fbfff82d2a386a7064254833ce64" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#aec05fbfff82d2a386a7064254833ce64" > println< / a > (uint8_t *array, uint8_t length)< / td > < / tr >
< tr class = "separator:aec05fbfff82d2a386a7064254833ce64" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-02-05 20:02:12 +01:00
< tr class = "memitem:aa534ca2960b81635c9ef00baaa04b37c" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#aa534ca2960b81635c9ef00baaa04b37c" > print< / a > (const __FlashStringHelper *ifsh)< / td > < / tr >
< tr class = "separator:aa534ca2960b81635c9ef00baaa04b37c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a53cae4e7a1a6208f348b9509dbe94d24" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a53cae4e7a1a6208f348b9509dbe94d24" > println< / a > (const __FlashStringHelper *ifsh)< / td > < / tr >
< tr class = "separator:a53cae4e7a1a6208f348b9509dbe94d24" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:a4afe343fc15bba50507ab9205165b8dd" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd" > println< / a > (void)< / td > < / tr >
< tr class = "separator:a4afe343fc15bba50507ab9205165b8dd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-02-05 20:02:12 +01:00
< tr class = "memitem:af31f14d7249f8a5b6eb2230a42a9d5ae" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#af31f14d7249f8a5b6eb2230a42a9d5ae" > printNumber< / a > (int32_t n)< / td > < / tr >
< tr class = "separator:af31f14d7249f8a5b6eb2230a42a9d5ae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac3a2e5fa45ba0fe17d3341998a6c4640" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#ac3a2e5fa45ba0fe17d3341998a6c4640" > printNumberln< / a > (int32_t n)< / td > < / tr >
< tr class = "separator:ac3a2e5fa45ba0fe17d3341998a6c4640" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:ae7938394e271e0cec64aae6f534eae69" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#ae7938394e271e0cec64aae6f534eae69" > printNumber< / a > (double n, uint8_t digits=2)< / td > < / tr >
< tr class = "separator:ae7938394e271e0cec64aae6f534eae69" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2cdc30f2314dbd572b8432972469bb25" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a2cdc30f2314dbd572b8432972469bb25" > printNumberln< / a > (double n, uint8_t digits=2)< / td > < / tr >
< tr class = "separator:a2cdc30f2314dbd572b8432972469bb25" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-02-05 20:02:12 +01:00
< tr class = "memitem:a3117df8f320d9d010b57c30255db054b" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a3117df8f320d9d010b57c30255db054b" > doubleToString< / a > (double input, char *output, uint8_t digits=2)< / td > < / tr >
< tr class = "separator:a3117df8f320d9d010b57c30255db054b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:a7de4c895e4056ac2964ce5d020611deb" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a7de4c895e4056ac2964ce5d020611deb" > available< / a > ()< / td > < / tr >
< tr class = "separator:a7de4c895e4056ac2964ce5d020611deb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a53980e0d20944454790febe5c9be66af" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a53980e0d20944454790febe5c9be66af" > read< / a > ()< / td > < / tr >
< tr class = "separator:a53980e0d20944454790febe5c9be66af" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af354c72d54243f891faf4cc60a7b94aa" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#af354c72d54243f891faf4cc60a7b94aa" > flush< / a > ()< / td > < / tr >
< tr class = "separator:af354c72d54243f891faf4cc60a7b94aa" > < 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:ade5d4f0ab50ddcad14f75fce4450a028" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028" > connected< / a > < / td > < / tr >
< tr class = "separator:ade5d4f0ab50ddcad14f75fce4450a028" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
2013-02-05 20:02:12 +01:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > This < a class = "el" href = "class_bluetooth_service.html" > BluetoothService< / a > class implements the Serial Port Protocol (< a class = "el" href = "class_s_p_p.html" > SPP< / a > ). < / p >
< p > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00093" > 93< / a > of file < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > .< / p >
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2013-01-30 22:00:18 +01:00
< a class = "anchor" id = "ae5cb4167b3ab9c891398f54729c6da81" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > SPP::SPP < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "class_b_t_d.html" > BTD< / a > *  < / td >
< td class = "paramname" > < em > p< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const char *  < / td >
< td class = "paramname" > < em > name< / em > = < code > " Arduino" < / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const char *  < / td >
< td class = "paramname" > < em > pin< / em > = < code > " 1234" < / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Constructor for the < a class = "el" href = "class_s_p_p.html" > SPP< / 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_b_t_d.html" > BTD< / a > class instance. < / td > < / tr >
< tr > < td class = "paramname" > name< / td > < td > Set the name to < a class = "el" href = "class_b_t_d.html#a0359c0c158c864c27319810cbd1534f9" > BTD::btdName< / a > . If argument is omitted, then "Arduino" will be used. < / td > < / tr >
< tr > < td class = "paramname" > pin< / td > < td > Write the pin to < a class = "el" href = "class_b_t_d.html#a215cb939c01ed3ff56db37841224546c" > BTD::btdPin< / a > . If argument is omitted, then "1234" will be used. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00045" > 45< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
< a class = "anchor" id = "abdfe9453fb82781bec53a191c2e9fb1d" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::ACLData < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t *  < / 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" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to pass acldata to the services. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > ACLData< / td > < td > Incoming acldata. < / td > < / tr >
< / table >
< / dd >
< / dl >
2013-01-30 22:00:18 +01:00
< p > Reimplemented from < a class = "el" href = "class_bluetooth_service.html#a8dc98310fe481357eaa86c53e49af113" > BluetoothService< / a > .< / p >
2013-02-05 20:02:12 +01:00
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00081" > 81< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a7de4c895e4056ac2964ce5d020611deb" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t SPP::available < / 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" >
2013-02-05 20:02:12 +01:00
< p > Get number of bytes waiting to be read. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > Return the number of bytes ready to be read. < / dd > < / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00212" > 212< / a > of file < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a2b4b1f85f553c6a2fdd523e50c75c7b0" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::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" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used this to disconnect the virtual serial port. < / p >
2013-01-30 22:00:18 +01:00
< p > Reimplemented from < a class = "el" href = "class_bluetooth_service.html#a66ee2f09c6087b82e3920c3d652a99b2" > BluetoothService< / a > .< / p >
2013-02-05 20:02:12 +01:00
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00070" > 70< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "a3117df8f320d9d010b57c30255db054b" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-05 20:02:12 +01:00
< td class = "memname" > void SPP::doubleToString < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
< td class = "paramtype" > double  < / td >
< td class = "paramname" > < em > input< / em > , < / td >
< / tr >
2013-02-05 20:02:12 +01:00
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > output< / em > , < / td >
< / tr >
2013-01-30 22:00:18 +01:00
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
2013-02-05 20:02:12 +01:00
< td class = "paramname" > < em > digits< / em > = < code > 2< / code >   < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Helper function to convert from double to string. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > input< / td > < td > Floating-point number to convert. < / td > < / tr >
< tr > < td class = "paramname" > output< / td > < td > Output buffer. < / td > < / tr >
< tr > < td class = "paramname" > digits< / td > < td > Number of digits to convert. If argument is omitted, then 2 digits will be used. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00876" > 876< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "af354c72d54243f891faf4cc60a7b94aa" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::flush < / 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" >
2013-02-05 20:02:12 +01:00
< p > Discard all the bytes in the buffer. < / p >
< p > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00219" > 219< / a > of file < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "acbea2d8894757fad6f9b903cad942b36" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::print < / td >
< td > (< / td >
< td class = "paramtype" > const String &   < / td >
< td class = "paramname" > < em > str< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to send Strings. Used to send Arduino String data type. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > str< / td > < td > String to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00687" > 687< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "a2632bccbdd58b98c483a85e5474fd053" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::print < / td >
< td > (< / td >
< td class = "paramtype" > const char *  < / td >
2013-02-05 20:02:12 +01:00
< td class = "paramname" > < em > str< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to send standard strings. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > str< / td > < td > String to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00703" > 703< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a6bf2176a1fd3772e2c903eee680307b4" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::print < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > data< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to send single bytes. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > data< / td > < td > Data to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00719" > 719< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a29784e177ce4ea9ee3e155d1a39cf3fa" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::print < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t *  < / td >
< td class = "paramname" > < em > array< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > length< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to send arrays. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > array< / td > < td > Array to send. < / td > < / tr >
< tr > < td class = "paramname" > length< / td > < td > Number of bytes to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00722" > 722< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "aa534ca2960b81635c9ef00baaa04b37c" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::print < / td >
< td > (< / td >
< td class = "paramtype" > const __FlashStringHelper *  < / td >
< td class = "paramname" > < em > ifsh< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to print strings stored in flash. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > ifsh< / td > < td > String to send - see: < a href = "http://playground.arduino.cc/Learning/Memory" > http://playground.arduino.cc/Learning/Memory< / a > . < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00737" > 737< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "a8b2ce856e7431905451c3f45526e1b28" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::println < / td >
< td > (< / td >
< td class = "paramtype" > const String &   < / td >
< td class = "paramname" > < em > str< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Same as < a class = "el" href = "class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36" > print(const String & str)< / a > , but will include newline and carriage return. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > str< / td > < td > String to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00753" > 753< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "a8f39d99ed5299a38f86b2c2376ddfdc4" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::println < / td >
< td > (< / td >
< td class = "paramtype" > const char *  < / td >
2013-02-05 20:02:12 +01:00
< td class = "paramname" > < em > str< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Same as < a class = "el" href = "class_s_p_p.html#a2632bccbdd58b98c483a85e5474fd053" > print(const char* data)< / a > , but will include newline and carriage return. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > str< / td > < td > String to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00757" > 757< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a627a6371ed4f9c251fe0dd4e1b867a2f" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::println < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > data< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Same as < a class = "el" href = "class_s_p_p.html#a6bf2176a1fd3772e2c903eee680307b4" > print(uint8_t data)< / a > , but will include newline and carriage return. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > data< / td > < td > Data to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00763" > 763< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "aec05fbfff82d2a386a7064254833ce64" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::println < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t *  < / td >
< td class = "paramname" > < em > array< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > length< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Same as < a class = "el" href = "class_s_p_p.html#a29784e177ce4ea9ee3e155d1a39cf3fa" > print(uint8_t* array, uint8_t length)< / a > , but will include newline and carriage return. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > array< / td > < td > Array to send. < / td > < / tr >
< tr > < td class = "paramname" > length< / td > < td > Number of bytes to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00767" > 767< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "a53cae4e7a1a6208f348b9509dbe94d24" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::println < / td >
< td > (< / td >
< td class = "paramtype" > const __FlashStringHelper *  < / td >
< td class = "paramname" > < em > ifsh< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Same as < a class = "el" href = "class_s_p_p.html#aa534ca2960b81635c9ef00baaa04b37c" > print(const __FlashStringHelper *ifsh)< / a > , but will include newline and carriage return. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > ifsh< / td > < td > String to send - see: < a href = "http://playground.arduino.cc/Learning/Memory" > http://playground.arduino.cc/Learning/Memory< / a > . < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00774" > 774< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a4afe343fc15bba50507ab9205165b8dd" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::println < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Use this to print newline and carriage return. < / p >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00792" > 792< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "af31f14d7249f8a5b6eb2230a42a9d5ae" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::printNumber < / td >
< td > (< / td >
2013-02-05 20:02:12 +01:00
< td class = "paramtype" > int32_t  < / td >
2013-01-30 22:00:18 +01:00
< td class = "paramname" > < em > n< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to print integers. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > n< / td > < td > Integers to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00798" > 798< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "ae7938394e271e0cec64aae6f534eae69" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::printNumber < / td >
< td > (< / td >
< td class = "paramtype" > double  < / td >
< td class = "paramname" > < em > n< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > digits< / em > = < code > 2< / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to print floating-point numbers. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > n< / td > < td > Floating-point number to print. < / td > < / tr >
< tr > < td class = "paramname" > digits< / td > < td > Number of digits to send. If argument is omitted, then 2 digits will be used. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00863" > 863< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2013-02-05 20:02:12 +01:00
< a class = "anchor" id = "ac3a2e5fa45ba0fe17d3341998a6c4640" > < / a >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::printNumberln < / td >
< td > (< / td >
2013-02-05 20:02:12 +01:00
< td class = "paramtype" > int32_t  < / td >
2013-01-30 22:00:18 +01:00
< td class = "paramname" > < em > n< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Same as < a class = "el" href = "class_s_p_p.html#af31f14d7249f8a5b6eb2230a42a9d5ae" > printNumber(int32_t n)< / a > , but will include newline and carriage return. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > n< / td > < td > Integers to send. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00828" > 828< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a2cdc30f2314dbd572b8432972469bb25" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::printNumberln < / td >
< td > (< / td >
< td class = "paramtype" > double  < / td >
< td class = "paramname" > < em > n< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > digits< / em > = < code > 2< / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Same as < a class = "el" href = "class_s_p_p.html#ae7938394e271e0cec64aae6f534eae69" > printNumber(double n, uint8_t digits)< / a > , but will include newline and carriage return. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > n< / td > < td > Floating-point number to print. < / td > < / tr >
< tr > < td class = "paramname" > digits< / td > < td > Number of digits to send. If argument is omitted, then 2 digits will be used. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00868" > 868< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a53980e0d20944454790febe5c9be66af" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t SPP::read < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to read the buffer. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > Return the byte. Will return 0 if no byte is available. < / dd > < / dl >
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00906" > 906< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "ae2c661bd46cd2d74bd29c4c771cd2ef0" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::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" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Use this to reset the service. < / p >
2013-01-30 22:00:18 +01:00
< p > Reimplemented from < a class = "el" href = "class_bluetooth_service.html#a1dff7caf251f1d8a5f358b368445cb48" > BluetoothService< / a > .< / p >
2013-02-05 20:02:12 +01:00
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00062" > 62< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "a2de67ee7ad1be9d2f3daf7dc08dc5f90" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::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" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Used to establish the connection automatically. < / p >
2013-01-30 22:00:18 +01:00
< p > Reimplemented from < a class = "el" href = "class_bluetooth_service.html#a680692ff13cb37eb81ddbb74bc9e0383" > BluetoothService< / a > .< / p >
2013-02-05 20:02:12 +01:00
< p > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00370" > 370< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Member Data Documentation< / h2 >
< a class = "anchor" id = "ade5d4f0ab50ddcad14f75fce4450a028" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool SPP::connected< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-05 20:02:12 +01:00
< p > Variable used to indicate if the connection is established. < / p >
< p > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00118" > 118< / a > of file < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > /Users/Lauszus/GitHub/USB_Host_Shield_2.0/< a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > < / li >
2013-02-05 20:02:12 +01:00
< li > /Users/Lauszus/GitHub/USB_Host_Shield_2.0/< a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > < / li >
2013-01-30 22:00:18 +01:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2013-02-05 21:05:03 +01:00
Generated on Tue Feb 5 2013 20:57:23 for USB_Host_Shield_2.0 by   < 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.3.1
< / small > < / address >
< / body >
< / html >