2021-03-23 12:43:48 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2013-01-30 22:00:18 +01:00
< 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" / >
2021-03-23 12:43:48 +01:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
2020-11-18 20:17:17 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: SPP 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" / >
2019-08-31 18:18:58 +02:00
< 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 >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2013-02-05 22:39:56 +01:00
< 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;" >
2019-08-31 18:18:58 +02:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2013-02-17 01:37:13 +01:00
< 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 -->
2021-03-23 12:43:48 +01:00
<!-- Generated by Doxygen 1.8.17 -->
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" >
2021-03-23 12:43:48 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2013-01-30 22:00:18 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2021-03-23 12:43:48 +01:00
/* @license-end */
2013-01-30 22:00:18 +01:00
< / script >
2020-11-18 20:17:17 +01:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
2021-03-23 12:43:48 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2020-11-18 20:17:17 +01:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-03-23 12:43:48 +01:00
/* @license-end */< / script >
2020-11-18 20:17:17 +01:00
< div id = "main-nav" > < / 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)">
2019-08-31 18:18:58 +02:00
< / 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 > |
< 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" >
2021-03-23 12:43:48 +01:00
< area shape = "rect" title = " " alt = "" coords = "111,80,158,107" / >
< area shape = "rect" href = "class_bluetooth_service.html" title = " " alt = "" coords = "5,5,139,32" / >
< area shape = "rect" title = " " alt = "" coords = "163,5,232,32" / >
2019-08-31 18:18:58 +02:00
< / map >
2013-01-30 22:00:18 +01:00
< 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" >
2021-03-23 12:43:48 +01:00
< area shape = "rect" title = " " alt = "" coords = "344,336,391,363" / >
< area shape = "rect" href = "class_bluetooth_service.html" title = " " alt = "" coords = "207,260,341,287" / >
< area shape = "rect" href = "class_b_t_d.html" title = " " alt = "" coords = "249,171,299,197" / >
< area shape = "rect" href = "class_u_s_b_device_config.html" title = " " alt = "" coords = "5,81,140,108" / >
< area shape = "rect" href = "class_usb_config_xtracter.html" title = " " alt = "" coords = "164,81,304,108" / >
< area shape = "rect" href = "class_u_s_b.html" title = " " alt = "" coords = "328,81,377,108" / >
< area shape = "rect" href = "class_m_a_x3421e.html" title = " " alt = "" coords = "307,5,399,32" / >
< area shape = "rect" href = "struct_ep_info.html" title = " " alt = "" coords = "401,81,464,108" / >
< area shape = "rect" title = " " alt = "" coords = "365,260,434,287" / >
2019-08-31 18:18:58 +02:00
< / map >
2013-01-30 22:00:18 +01:00
< 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 >
2014-01-10 18:20:37 +01:00
< tr class = "memitem:a6842e2b7f66024eecc151e3bdbfc7e94" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a6842e2b7f66024eecc151e3bdbfc7e94" > SPP< / a > (< a class = "el" href = "class_b_t_d.html" > BTD< / a > *p, const char *name=" Arduino" , const char *pin=" 0000" )< / td > < / tr >
< tr class = "separator:a6842e2b7f66024eecc151e3bdbfc7e94" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-05-07 01:05:31 +02:00
< tr class = "memitem:ac90f0765c478bd624cee3b8d493d8432" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#ac90f0765c478bd624cee3b8d493d8432" > operator bool< / a > ()< / td > < / tr >
< tr class = "separator:ac90f0765c478bd624cee3b8d493d8432" > < 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 >
2015-04-07 16:07:33 +02:00
< tr class = "memitem:a731eb43856854b6a406e9cfa3f9e57a4" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a731eb43856854b6a406e9cfa3f9e57a4" > available< / a > (void)< / td > < / tr >
2013-05-07 01:05:31 +02:00
< tr class = "separator:a731eb43856854b6a406e9cfa3f9e57a4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-04-07 16:07:33 +02:00
< tr class = "memitem:a235d75f40a32a5905fd8fedcc37aa350" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a235d75f40a32a5905fd8fedcc37aa350" > flush< / a > (void)< / td > < / tr >
< tr class = "separator:a235d75f40a32a5905fd8fedcc37aa350" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3149d75ba4646ba5b5428c465e983144" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a3149d75ba4646ba5b5428c465e983144" > peek< / a > (void)< / td > < / tr >
2013-05-07 01:05:31 +02:00
< tr class = "separator:a3149d75ba4646ba5b5428c465e983144" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-04-07 16:07:33 +02:00
< tr class = "memitem:aae8dc037e845480f582afea57b858b95" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#aae8dc037e845480f582afea57b858b95" > read< / a > (void)< / td > < / tr >
2013-05-07 01:05:31 +02:00
< tr class = "separator:aae8dc037e845480f582afea57b858b95" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-04-07 16:07:33 +02:00
< tr class = "memitem:a6fb231316ca9b1028322d2d2188b27b0" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a6fb231316ca9b1028322d2d2188b27b0" > write< / a > (uint8_t data)< / td > < / tr >
2013-05-07 01:05:31 +02:00
< tr class = "separator:a6fb231316ca9b1028322d2d2188b27b0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-04-07 16:07:33 +02:00
< tr class = "memitem:a8bb421b7d948c3ffefc23aef95813192" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a8bb421b7d948c3ffefc23aef95813192" > write< / a > (const uint8_t *data, size_t size)< / td > < / tr >
2013-05-07 01:05:31 +02:00
< tr class = "separator:a8bb421b7d948c3ffefc23aef95813192" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2014-01-10 18:20:37 +01:00
< tr class = "memitem:a4ca8c34757efb43a449cf8b3c7672e23" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#a4ca8c34757efb43a449cf8b3c7672e23" > discard< / a > (void)< / td > < / tr >
< tr class = "separator:a4ca8c34757efb43a449cf8b3c7672e23" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-05-07 01:05:31 +02:00
< tr class = "memitem:ab6c20e303965056403ae5aef1d228858" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#ab6c20e303965056403ae5aef1d228858" > send< / a > (void)< / td > < / tr >
< tr class = "separator:ab6c20e303965056403ae5aef1d228858" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-04-07 16:07:33 +02:00
< tr class = "inherit_header pub_methods_class_bluetooth_service" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_class_bluetooth_service')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "class_bluetooth_service.html" > BluetoothService< / a > < / td > < / tr >
< tr class = "memitem:a410c7df1e49328de23a89921c89f9573 inherit pub_methods_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" >   < / 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 inherit pub_methods_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a488e219cf0a90d39e643615b1f12e91f inherit pub_methods_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / 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 inherit pub_methods_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< / 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 >
2015-04-07 16:07:33 +02:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
BluetoothService implementation< / h2 > < / td > < / tr >
< tr class = "memitem:a2b4b1f85f553c6a2fdd523e50c75c7b0" > < td class = "memItemLeft" align = "right" valign = "top" > 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 >
< tr class = "memitem:abdfe9453fb82781bec53a191c2e9fb1d" > < td class = "memItemLeft" align = "right" valign = "top" > 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" > 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" > 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:af8355e2e1423e4986536e65c375bcb1e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_s_p_p.html#af8355e2e1423e4986536e65c375bcb1e" > onInit< / a > ()< / td > < / tr >
< tr class = "separator:af8355e2e1423e4986536e65c375bcb1e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "inherited" > < / a >
Additional Inherited Members< / h2 > < / td > < / tr >
< tr class = "inherit_header pro_methods_class_bluetooth_service" > < td colspan = "2" onclick = "javascript:toggleInherit('pro_methods_class_bluetooth_service')" > < img src = "closed.png" alt = "-" / >   Protected Member Functions inherited from < a class = "el" href = "class_bluetooth_service.html" > BluetoothService< / a > < / td > < / tr >
< tr class = "memitem:a2a3674a4bb5d409840995eabe07049bd inherit pro_methods_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / 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 inherit pro_methods_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pro_attribs_class_bluetooth_service" > < td colspan = "2" onclick = "javascript:toggleInherit('pro_attribs_class_bluetooth_service')" > < img src = "closed.png" alt = "-" / >   Protected Attributes inherited from < a class = "el" href = "class_bluetooth_service.html" > BluetoothService< / a > < / td > < / tr >
2019-08-31 18:18:58 +02:00
< tr class = "memitem:a321393d44ce59213fa1c7498c247d5ff inherit pro_attribs_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" > void(*  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_bluetooth_service.html#a321393d44ce59213fa1c7498c247d5ff" > pFuncOnInit< / a > )(void)< / td > < / tr >
< tr class = "separator:a321393d44ce59213fa1c7498c247d5ff inherit pro_attribs_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-04-07 16:07:33 +02:00
< tr class = "memitem:aa67faf901f78a55a202945a20f6d778a inherit pro_attribs_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "class_b_t_d.html" > BTD< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_bluetooth_service.html#aa67faf901f78a55a202945a20f6d778a" > pBtd< / a > < / td > < / tr >
< tr class = "separator:aa67faf901f78a55a202945a20f6d778a inherit pro_attribs_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" > uint16_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_bluetooth_service.html#a67b1db67c05d0bbdcd9c992135455437" > hci_handle< / a > < / td > < / tr >
< tr class = "separator:a67b1db67c05d0bbdcd9c992135455437 inherit pro_attribs_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a78a1a893ec9c2db32e42bc2271c4a4f2 inherit pro_attribs_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / 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 inherit pro_attribs_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_bluetooth_service.html#ad643db609c7e2e3fae8904dbc7991262" > identifier< / a > < / td > < / tr >
< tr class = "separator:ad643db609c7e2e3fae8904dbc7991262 inherit pro_attribs_class_bluetooth_service" > < td class = "memSeparator" colspan = "2" >   < / 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 > 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 > ). It inherits the Arduino Stream class. This allows it to use all the standard Arduino print and stream functions. < / p >
2013-02-05 20:02:12 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00055" > 55< / a > of file < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2020-11-18 20:17:17 +01:00
< a id = "a6842e2b7f66024eecc151e3bdbfc7e94" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6842e2b7f66024eecc151e3bdbfc7e94" > ◆ < / a > < / span > SPP()< / h2 >
2013-01-30 22:00:18 +01:00
< 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 >
2014-01-10 18:20:37 +01:00
< td class = "paramname" > < em > pin< / em > = < code > " 0000" < / 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" >
2019-08-31 18:18:58 +02: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 >
2013-02-05 20:02:12 +01:00
< 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 >
2014-01-10 18:20:37 +01:00
< 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 "0000" will be used. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2020-11-18 20:17:17 +01:00
< p class = "definition" > 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 >
2020-11-18 20:17:17 +01:00
< a id = "a2b4b1f85f553c6a2fdd523e50c75c7b0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2b4b1f85f553c6a2fdd523e50c75c7b0" > ◆ < / a > < / span > disconnect()< / h2 >
2013-05-07 01:05:31 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void SPP::disconnect < / td >
2013-05-07 01:05:31 +02:00
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-05-07 01:05:31 +02:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-04-07 16:07:33 +02:00
< span class = "mlabels" > < span class = "mlabel" > virtual< / span > < / span > < / td >
2013-05-07 01:05:31 +02:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2015-04-07 16:07:33 +02:00
< p > Used this to disconnect the virtual serial port. < / p >
2013-05-07 01:05:31 +02:00
2015-04-07 16:07:33 +02:00
< p > Implements < a class = "el" href = "class_bluetooth_service.html#a7bb2c8cccf3f2931629ead9becc51ec9" > BluetoothService< / a > .< / p >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00072" > 72< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-05-07 01:05:31 +02:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "ac90f0765c478bd624cee3b8d493d8432" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac90f0765c478bd624cee3b8d493d8432" > ◆ < / a > < / span > operator bool()< / h2 >
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 >
2015-04-07 16:07:33 +02:00
< td class = "memname" > SPP::operator bool < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2015-04-07 16:07:33 +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" > inline< / span > < / span > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< p > Used to provide Boolean tests for the class. < / p > < dl class = "section return" > < dt > Returns< / dt > < dd > Return true if < a class = "el" href = "class_s_p_p.html" > SPP< / a > communication is connected. < / dd > < / dl >
2013-01-30 22:00:18 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00074" > 74< / a > of file < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a731eb43856854b6a406e9cfa3f9e57a4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a731eb43856854b6a406e9cfa3f9e57a4" > ◆ < / a > < / span > available()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > int SPP::available < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2015-04-07 16:07:33 +02:00
< td class = "paramtype" > void  < / 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 >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02: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 >
2013-02-17 01:37:13 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00797" > 797< / 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 >
2020-11-18 20:17:17 +01:00
< a id = "a235d75f40a32a5905fd8fedcc37aa350" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a235d75f40a32a5905fd8fedcc37aa350" > ◆ < / a > < / span > flush()< / h2 >
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 >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void SPP::flush < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2015-04-07 16:07:33 +02:00
< td class = "paramtype" > void  < / 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" > inline< / span > < / span > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2015-04-07 16:07:33 +02:00
< p > Send out all bytes in the buffer. < / p >
2013-02-05 20:02:12 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00088" > 88< / 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 >
2020-11-18 20:17:17 +01:00
< a id = "a3149d75ba4646ba5b5428c465e983144" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3149d75ba4646ba5b5428c465e983144" > ◆ < / a > < / span > peek()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > int SPP::peek < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2015-04-07 16:07:33 +02:00
< td class = "paramtype" > void  < / 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 >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< p > Used to read the next value in the buffer without advancing to the next one. < / p > < dl class = "section return" > < dt > Returns< / dt > < dd > Return the byte. Will return -1 if no bytes are available. < / dd > < / dl >
2013-02-17 01:37:13 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00805" > 805< / 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 >
2020-11-18 20:17:17 +01:00
< a id = "aae8dc037e845480f582afea57b858b95" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aae8dc037e845480f582afea57b858b95" > ◆ < / a > < / span > read()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > int SPP::read < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2013-05-07 01:05:31 +02:00
< td class = "paramtype" > void  < / 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 >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< p > Used to read the buffer. < / p > < dl class = "section return" > < dt > Returns< / dt > < dd > Return the byte. Will return -1 if no bytes are available. < / dd > < / dl >
2013-02-05 20:02:12 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00811" > 811< / 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 >
2020-11-18 20:17:17 +01:00
< a id = "a6fb231316ca9b1028322d2d2188b27b0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6fb231316ca9b1028322d2d2188b27b0" > ◆ < / a > < / span > write() < span class = "overload" > [1/2]< / span > < / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > size_t SPP::write < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2015-04-07 16:07:33 +02:00
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > data< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< p > Writes the byte to send to a buffer. The message is send when either < a class = "el" href = "class_s_p_p.html#ab6c20e303965056403ae5aef1d228858" > send()< / a > or after Usb.Task() is called. < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
2015-04-07 16:07:33 +02:00
< table class = "params" >
< tr > < td class = "paramname" > data< / td > < td > The byte to write. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Return the number of bytes written. < / dd > < / dl >
2013-02-05 20:02:12 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00742" > 742< / 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 >
2020-11-18 20:17:17 +01:00
< a id = "a8bb421b7d948c3ffefc23aef95813192" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8bb421b7d948c3ffefc23aef95813192" > ◆ < / a > < / span > write() < span class = "overload" > [2/2]< / span > < / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > size_t SPP::write < / td >
< td > (< / td >
< td class = "paramtype" > const uint8_t *  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > size< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< p > Writes the bytes to send to a buffer. The message is send when either < a class = "el" href = "class_s_p_p.html#ab6c20e303965056403ae5aef1d228858" > send()< / a > or after Usb.Task() is called. < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
2015-04-07 16:07:33 +02:00
< table class = "params" >
< tr > < td class = "paramname" > data< / td > < td > The data array to send. < / td > < / tr >
< tr > < td class = "paramname" > size< / td > < td > Size of the data. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Return the number of bytes written. < / dd > < / dl >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00754" > 754< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2015-04-07 16:07:33 +02:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a4ca8c34757efb43a449cf8b3c7672e23" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4ca8c34757efb43a449cf8b3c7672e23" > ◆ < / a > < / span > discard()< / h2 >
2015-04-07 16:07:33 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SPP::discard < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2013-05-07 01:05:31 +02:00
< td class = "paramtype" > void  < / 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 >
< / div > < div class = "memdoc" >
2015-04-07 16:07:33 +02:00
< p > Discard all the bytes in the buffer. < / p >
2013-02-05 20:02:12 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00801" > 801< / 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
2013-02-17 01:37:13 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "ab6c20e303965056403ae5aef1d228858" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ab6c20e303965056403ae5aef1d228858" > ◆ < / a > < / span > send()< / h2 >
2013-02-17 01:37:13 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void SPP::send < / td >
2013-02-17 01:37:13 +01:00
< td > (< / td >
2013-05-07 01:05:31 +02:00
< td class = "paramtype" > void  < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-02-17 01:37:13 +01:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2015-04-07 16:07:33 +02:00
< p > This will send all the bytes in the buffer. This is called whenever Usb.Task() is called, but can also be called via this function. < / p >
2013-02-17 01:37:13 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00769" > 769< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-02-17 01:37:13 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "abdfe9453fb82781bec53a191c2e9fb1d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#abdfe9453fb82781bec53a191c2e9fb1d" > ◆ < / a > < / span > ACLData()< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
2013-04-01 22:52:24 +02:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2013-01-30 22:00:18 +01:00
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void SPP::ACLData < / td >
2013-01-30 22:00:18 +01:00
< td > (< / td >
2015-04-07 16:07:33 +02:00
< td class = "paramtype" > uint8_t *  < / td >
< td class = "paramname" > < em > ACLData< / em > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td > < / td >
< / tr >
< / table >
2013-04-01 22:52:24 +02:00
< / td >
< td class = "mlabels-right" >
2015-04-07 16:07:33 +02:00
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2013-04-01 22:52:24 +02:00
< / tr >
< / table >
2013-01-30 22:00:18 +01:00
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< p > Used to pass acldata to the services. < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
2013-02-05 20:02:12 +01:00
< table class = "params" >
2015-04-07 16:07:33 +02:00
< tr > < td class = "paramname" > ACLData< / td > < td > Incoming acldata. < / td > < / tr >
2013-02-05 20:02:12 +01:00
< / table >
< / dd >
< / dl >
2015-04-07 16:07:33 +02:00
< p > Implements < a class = "el" href = "class_bluetooth_service.html#a9740e997198485c9629a146a9c981043" > BluetoothService< / a > .< / p >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00084" > 84< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-04-01 22:52:24 +02:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a2de67ee7ad1be9d2f3daf7dc08dc5f90" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2de67ee7ad1be9d2f3daf7dc08dc5f90" > ◆ < / a > < / span > Run()< / h2 >
2013-04-01 22:52:24 +02:00
< div class = "memitem" >
< div class = "memproto" >
2013-05-07 01:05:31 +02:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2013-04-01 22:52:24 +02:00
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void SPP::Run < / td >
2013-04-01 22:52:24 +02:00
< td > (< / td >
2015-04-07 16:07:33 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-04-01 22:52:24 +02:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
2015-04-07 16:07:33 +02:00
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
2013-04-01 22:52:24 +02:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2015-04-07 16:07:33 +02:00
< p > Used to establish the connection automatically. < / p >
< p > Implements < a class = "el" href = "class_bluetooth_service.html#a16df27af39d09963cf0d43910d92ff4c" > BluetoothService< / a > .< / p >
2013-04-01 22:52:24 +02:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00423" > 423< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2014-01-10 18:20:37 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "ae2c661bd46cd2d74bd29c4c771cd2ef0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ae2c661bd46cd2d74bd29c4c771cd2ef0" > ◆ < / a > < / span > Reset()< / h2 >
2014-01-10 18:20:37 +01:00
< div class = "memitem" >
< div class = "memproto" >
2015-04-07 16:07:33 +02:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2014-01-10 18:20:37 +01:00
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void SPP::Reset < / td >
2014-01-10 18:20:37 +01:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-04-07 16:07:33 +02:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
2014-01-10 18:20:37 +01:00
< / div > < div class = "memdoc" >
2015-04-07 16:07:33 +02:00
< p > Use this to reset the service. < / p >
2014-01-10 18:20:37 +01:00
2015-04-07 16:07:33 +02:00
< p > Implements < a class = "el" href = "class_bluetooth_service.html#aa7c81841d4e898e9dc91533da6d7ab64" > BluetoothService< / a > .< / p >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00060" > 60< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-04-01 22:52:24 +02:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "af8355e2e1423e4986536e65c375bcb1e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af8355e2e1423e4986536e65c375bcb1e" > ◆ < / a > < / span > onInit()< / h2 >
2013-04-01 22:52:24 +02:00
< div class = "memitem" >
< div class = "memproto" >
2015-04-07 16:07:33 +02:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2013-04-01 22:52:24 +02:00
< table class = "memname" >
< tr >
2015-04-07 16:07:33 +02:00
< td class = "memname" > void SPP::onInit < / td >
2013-04-01 22:52:24 +02:00
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-04-01 22:52:24 +02:00
< td > < / td >
< / tr >
< / table >
2015-04-07 16:07:33 +02:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
2013-04-01 22:52:24 +02:00
< / div > < div class = "memdoc" >
2015-04-07 16:07:33 +02:00
< 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 > Implements < a class = "el" href = "class_bluetooth_service.html#a34d08d56c560c892c9684133f69b971b" > BluetoothService< / a > .< / p >
2013-01-30 22:00:18 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8cpp_source.html#l00433" > 433< / a > of file < a class = "el" href = "_s_p_p_8cpp_source.html" > SPP.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Member Data Documentation< / h2 >
2020-11-18 20:17:17 +01:00
< a id = "ade5d4f0ab50ddcad14f75fce4450a028" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ade5d4f0ab50ddcad14f75fce4450a028" > ◆ < / a > < / span > connected< / h2 >
2013-01-30 22:00:18 +01:00
< 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 >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "_s_p_p_8h_source.html#l00078" > 78< / 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 >
2013-02-05 22:39:56 +01:00
< li > < a class = "el" href = "_s_p_p_8h_source.html" > SPP.h< / a > < / li >
< li > < 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-17 01:37:13 +01:00
Generated 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" / >
2021-03-23 12:43:48 +01:00
< / a > 1.8.17
2013-01-30 22:00:18 +01:00
< / small > < / address >
< / body >
< / html >