Host library for controlling a WiConnect enabled Wi-Fi module.
Dependents: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
doc/html/_socket_interface_8h_source.html@42:8ffb253b09e7, 2015-09-28 (annotated)
- Committer:
- aymangrais
- Date:
- Mon Sep 28 03:38:43 2015 +0000
- Revision:
- 42:8ffb253b09e7
- Parent:
- 29:b6af04b77a56
increase ota timeout to be 5 seconds (instead of 1.5 sec)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dan_ackme | 14:85a2ed029f37 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
dan_ackme | 14:85a2ed029f37 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
dan_ackme | 14:85a2ed029f37 | 3 | <head> |
dan_ackme | 14:85a2ed029f37 | 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
dan_ackme | 14:85a2ed029f37 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
dan_ackme | 14:85a2ed029f37 | 6 | <title>ACKme WiConnect Host Library</title> |
dan_ackme | 14:85a2ed029f37 | 7 | <link rel="icon" href="favicon.ico" type="image/x-icon"> |
dan_ackme | 14:85a2ed029f37 | 8 | <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> |
dan_ackme | 14:85a2ed029f37 | 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
dan_ackme | 14:85a2ed029f37 | 10 | <script type="text/javascript" src="jquery.js"></script> |
dan_ackme | 14:85a2ed029f37 | 11 | <script type="text/javascript" src="dynsections.js"></script> |
dan_ackme | 14:85a2ed029f37 | 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
dan_ackme | 14:85a2ed029f37 | 13 | <script type="text/javascript" src="resize.js"></script> |
dan_ackme | 14:85a2ed029f37 | 14 | <script type="text/javascript" src="navtree.js"></script> |
dan_ackme | 14:85a2ed029f37 | 15 | <script type="text/javascript"> |
dan_ackme | 14:85a2ed029f37 | 16 | $(document).ready(initResizable); |
dan_ackme | 14:85a2ed029f37 | 17 | $(window).load(resizeHeight); |
dan_ackme | 14:85a2ed029f37 | 18 | </script> |
dan_ackme | 14:85a2ed029f37 | 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
dan_ackme | 14:85a2ed029f37 | 20 | <script type="text/javascript" src="search/search.js"></script> |
dan_ackme | 14:85a2ed029f37 | 21 | <script type="text/javascript"> |
dan_ackme | 14:85a2ed029f37 | 22 | $(document).ready(function() { searchBox.OnSelectItem(0); }); |
dan_ackme | 14:85a2ed029f37 | 23 | </script> |
dan_ackme | 14:85a2ed029f37 | 24 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
dan_ackme | 14:85a2ed029f37 | 25 | </head> |
dan_ackme | 14:85a2ed029f37 | 26 | <body> |
dan_ackme | 14:85a2ed029f37 | 27 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
dan_ackme | 14:85a2ed029f37 | 28 | <div id="titlearea" style="font-family:verdana;"> |
dan_ackme | 14:85a2ed029f37 | 29 | <table border='0' cellpadding='0' cellspacing='0' width="98%"> |
dan_ackme | 14:85a2ed029f37 | 30 | <tr style="height:20px"><td> </td></tr> |
dan_ackme | 14:85a2ed029f37 | 31 | <tr style="border-collapse: collapse; padding: 0;"> |
dan_ackme | 14:85a2ed029f37 | 32 | <td style="width:20px"></td> |
dan_ackme | 14:85a2ed029f37 | 33 | <td style="padding-right:40px"><img src="ackmelogo.png" alt="ACKme Logo" /></td> |
dan_ackme | 14:85a2ed029f37 | 34 | <td style="vertical-align:middle; text-align:left; font: bold 25px/100% Verdana, Arial, Helvetica, sans-serif;"> |
dan_ackme | 14:85a2ed029f37 | 35 | WiConnect Host Library- API Reference Guide</td> |
dan_ackme | 14:85a2ed029f37 | 36 | <td style="width:20px"></td> |
dan_ackme | 14:85a2ed029f37 | 37 | </tr> |
dan_ackme | 14:85a2ed029f37 | 38 | <tr><td> </td></tr> |
dan_ackme | 14:85a2ed029f37 | 39 | </table> |
dan_ackme | 14:85a2ed029f37 | 40 | </div><!-- Generated by Doxygen 1.8.7 --> |
dan_ackme | 14:85a2ed029f37 | 41 | <script type="text/javascript"> |
dan_ackme | 14:85a2ed029f37 | 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
dan_ackme | 14:85a2ed029f37 | 43 | </script> |
dan_ackme | 14:85a2ed029f37 | 44 | <div id="navrow1" class="tabs"> |
dan_ackme | 14:85a2ed029f37 | 45 | <ul class="tablist"> |
dan_ackme | 14:85a2ed029f37 | 46 | <li><a href="index.html"><span>Library Overview</span></a></li> |
dan_ackme | 14:85a2ed029f37 | 47 | <li><a href="modules.html"><span>Library API</span></a></li> |
dan_ackme | 14:85a2ed029f37 | 48 | <li><a href="examples.html"><span>API Examples</span></a></li> |
dan_ackme | 14:85a2ed029f37 | 49 | <li><a href="annotated.html"><span>Classes</span></a></li> |
dan_ackme | 26:8067e3d463d3 | 50 | <li><a href="http://wiconnect.ack.me/2.0/general_overview"><span>WiConnect Reference Manual</span></a></li> |
dan_ackme | 14:85a2ed029f37 | 51 | <li><a href="http://www.ack.me/WiConnect"><span>ACKme Website</span></a></li> |
dan_ackme | 14:85a2ed029f37 | 52 | <li> |
dan_ackme | 14:85a2ed029f37 | 53 | <div id="MSearchBox" class="MSearchBoxInactive"> |
dan_ackme | 14:85a2ed029f37 | 54 | <span class="left"> |
dan_ackme | 14:85a2ed029f37 | 55 | <img id="MSearchSelect" src="search/mag_sel.png" |
dan_ackme | 14:85a2ed029f37 | 56 | onmouseover="return searchBox.OnSearchSelectShow()" |
dan_ackme | 14:85a2ed029f37 | 57 | onmouseout="return searchBox.OnSearchSelectHide()" |
dan_ackme | 14:85a2ed029f37 | 58 | alt=""/> |
dan_ackme | 14:85a2ed029f37 | 59 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
dan_ackme | 14:85a2ed029f37 | 60 | onfocus="searchBox.OnSearchFieldFocus(true)" |
dan_ackme | 14:85a2ed029f37 | 61 | onblur="searchBox.OnSearchFieldFocus(false)" |
dan_ackme | 14:85a2ed029f37 | 62 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
dan_ackme | 14:85a2ed029f37 | 63 | </span><span class="right"> |
dan_ackme | 14:85a2ed029f37 | 64 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
dan_ackme | 14:85a2ed029f37 | 65 | </span> |
dan_ackme | 14:85a2ed029f37 | 66 | </div> |
dan_ackme | 14:85a2ed029f37 | 67 | </li> |
dan_ackme | 14:85a2ed029f37 | 68 | </ul> |
dan_ackme | 14:85a2ed029f37 | 69 | </div> |
dan_ackme | 14:85a2ed029f37 | 70 | </div><!-- top --> |
dan_ackme | 14:85a2ed029f37 | 71 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
dan_ackme | 14:85a2ed029f37 | 72 | <div id="nav-tree"> |
dan_ackme | 14:85a2ed029f37 | 73 | <div id="nav-tree-contents"> |
dan_ackme | 14:85a2ed029f37 | 74 | <div id="nav-sync" class="sync"></div> |
dan_ackme | 14:85a2ed029f37 | 75 | </div> |
dan_ackme | 14:85a2ed029f37 | 76 | </div> |
dan_ackme | 14:85a2ed029f37 | 77 | <div id="splitbar" style="-moz-user-select:none;" |
dan_ackme | 14:85a2ed029f37 | 78 | class="ui-resizable-handle"> |
dan_ackme | 14:85a2ed029f37 | 79 | </div> |
dan_ackme | 14:85a2ed029f37 | 80 | </div> |
dan_ackme | 14:85a2ed029f37 | 81 | <script type="text/javascript"> |
dan_ackme | 14:85a2ed029f37 | 82 | $(document).ready(function(){initNavTree('_socket_interface_8h_source.html','');}); |
dan_ackme | 14:85a2ed029f37 | 83 | </script> |
dan_ackme | 14:85a2ed029f37 | 84 | <div id="doc-content"> |
dan_ackme | 14:85a2ed029f37 | 85 | <!-- window showing the filter options --> |
dan_ackme | 14:85a2ed029f37 | 86 | <div id="MSearchSelectWindow" |
dan_ackme | 14:85a2ed029f37 | 87 | onmouseover="return searchBox.OnSearchSelectShow()" |
dan_ackme | 14:85a2ed029f37 | 88 | onmouseout="return searchBox.OnSearchSelectHide()" |
dan_ackme | 14:85a2ed029f37 | 89 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
dan_ackme | 14:85a2ed029f37 | 90 | <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>Namespaces</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>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div> |
dan_ackme | 14:85a2ed029f37 | 91 | |
dan_ackme | 14:85a2ed029f37 | 92 | <!-- iframe showing the search results (closed by default) --> |
dan_ackme | 14:85a2ed029f37 | 93 | <div id="MSearchResultsWindow"> |
dan_ackme | 14:85a2ed029f37 | 94 | <iframe src="javascript:void(0)" frameborder="0" |
dan_ackme | 14:85a2ed029f37 | 95 | name="MSearchResults" id="MSearchResults"> |
dan_ackme | 14:85a2ed029f37 | 96 | </iframe> |
dan_ackme | 14:85a2ed029f37 | 97 | </div> |
dan_ackme | 14:85a2ed029f37 | 98 | |
dan_ackme | 14:85a2ed029f37 | 99 | <div class="header"> |
dan_ackme | 14:85a2ed029f37 | 100 | <div class="headertitle"> |
dan_ackme | 14:85a2ed029f37 | 101 | <div class="title">SocketInterface.h</div> </div> |
dan_ackme | 14:85a2ed029f37 | 102 | </div><!--header--> |
dan_ackme | 14:85a2ed029f37 | 103 | <div class="contents"> |
dan_ackme | 16:7f1d6d359787 | 104 | <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div> |
dan_ackme | 16:7f1d6d359787 | 105 | <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#pragma once</span></div> |
dan_ackme | 16:7f1d6d359787 | 106 | <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> |
dan_ackme | 16:7f1d6d359787 | 107 | <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "Wiconnect.h"</span></div> |
dan_ackme | 17:7268f365676b | 108 | <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "types/WiconnectSocket.h"</span></div> |
dan_ackme | 29:b6af04b77a56 | 109 | <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "types/WiconnectUdpServer.h"</span></div> |
dan_ackme | 16:7f1d6d359787 | 110 | <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> |
dan_ackme | 29:b6af04b77a56 | 111 | <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#ifdef WICONNECT_GPIO_IRQ_ENABLED</span></div> |
dan_ackme | 29:b6af04b77a56 | 112 | <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "types/SocketIrqHandlerMap.h"</span></div> |
dan_ackme | 29:b6af04b77a56 | 113 | <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#endif</span></div> |
dan_ackme | 29:b6af04b77a56 | 114 | <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div> |
dan_ackme | 29:b6af04b77a56 | 115 | <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">namespace </span>wiconnect {</div> |
dan_ackme | 29:b6af04b77a56 | 116 | <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div> |
dan_ackme | 29:b6af04b77a56 | 117 | <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#ifdef WICONNECT_GPIO_IRQ_ENABLED</span></div> |
dan_ackme | 29:b6af04b77a56 | 118 | <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#define GPIO_IRQ_ARG_NC ,Pin irqPin = PIN_NC</span></div> |
dan_ackme | 29:b6af04b77a56 | 119 | <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#define GPIO_IRQ_ARG ,Pin irqPin</span></div> |
dan_ackme | 29:b6af04b77a56 | 120 | <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#define GPIO_IRQ_PARAM ,irqPin</span></div> |
dan_ackme | 29:b6af04b77a56 | 121 | <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#else</span></div> |
dan_ackme | 29:b6af04b77a56 | 122 | <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#define GPIO_IRQ_ARG_NC</span></div> |
dan_ackme | 29:b6af04b77a56 | 123 | <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#define GPIO_IRQ_ARG</span></div> |
dan_ackme | 29:b6af04b77a56 | 124 | <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#define GPIO_IRQ_PARAM</span></div> |
dan_ackme | 29:b6af04b77a56 | 125 | <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#endif</span></div> |
dan_ackme | 29:b6af04b77a56 | 126 | <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> |
dan_ackme | 29:b6af04b77a56 | 127 | <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classwiconnect_1_1_socket_interface.html"> 63</a></span> <span class="keyword">class </span><a class="code" href="classwiconnect_1_1_socket_interface.html">SocketInterface</a></div> |
dan_ackme | 29:b6af04b77a56 | 128 | <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> {</div> |
dan_ackme | 29:b6af04b77a56 | 129 | <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">public</span>:</div> |
dan_ackme | 29:b6af04b77a56 | 130 | <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__misc.html#ga8a80d96efac7cc514fe7fc61d1878106">closeAllSockets</a>();</div> |
dan_ackme | 29:b6af04b77a56 | 131 | <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div> |
dan_ackme | 29:b6af04b77a56 | 132 | <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#ifdef WICONNECT_GPIO_IRQ_ENABLED</span></div> |
dan_ackme | 29:b6af04b77a56 | 133 | <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> |
dan_ackme | 29:b6af04b77a56 | 134 | <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> registerSocketIrqHandler(<a class="code" href="group__api__core__types.html#ga1cf4dfa71da0b0dc3dc707dacf56cc9c">Pin</a> irqPin, <span class="keyword">const</span> <a class="code" href="classwiconnect_1_1_callback.html">Callback</a> &handler);</div> |
dan_ackme | 29:b6af04b77a56 | 135 | <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> |
dan_ackme | 29:b6af04b77a56 | 136 | <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> unregisterSocketIrqHandler(<a class="code" href="group__api__core__types.html#ga1cf4dfa71da0b0dc3dc707dacf56cc9c">Pin</a> irqPin);</div> |
dan_ackme | 29:b6af04b77a56 | 137 | <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#endif</span></div> |
dan_ackme | 29:b6af04b77a56 | 138 | <div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div> |
dan_ackme | 29:b6af04b77a56 | 139 | <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__misc.html#gab24204ef309b6e7a52b03b35a7046b45">connect</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <a class="code" href="group__api__socket__types.html#ga69dc55558df4c81599c5fb3dff98756d">SocketType</a> type, <span class="keyword">const</span> <span class="keywordtype">char</span> *host, uint16_t remortPort, uint16_t localPort, <span class="keyword">const</span> <span class="keywordtype">void</span> *args GPIO_IRQ_ARG);</div> |
dan_ackme | 29:b6af04b77a56 | 140 | <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div> |
dan_ackme | 14:85a2ed029f37 | 141 | <div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> |
dan_ackme | 29:b6af04b77a56 | 142 | <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// ------------------------------------------------------------------------</span></div> |
dan_ackme | 29:b6af04b77a56 | 143 | <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div> |
dan_ackme | 29:b6af04b77a56 | 144 | <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__tcp.html#gad8e8632715a38222ce4fea5fe0aaf527">tcpConnect</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *host, uint16_t remortPort GPIO_IRQ_ARG_NC);</div> |
dan_ackme | 21:17bb3eddcbae | 145 | <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div> |
dan_ackme | 21:17bb3eddcbae | 146 | <div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div> |
dan_ackme | 21:17bb3eddcbae | 147 | <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="comment">// ------------------------------------------------------------------------</span></div> |
dan_ackme | 16:7f1d6d359787 | 148 | <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div> |
dan_ackme | 29:b6af04b77a56 | 149 | <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__tcp.html#ga9f4f3e53ea7f4e84d43529da8580aaaa">tcpListen</a>(uint16_t listeningPort, <span class="keywordtype">int</span> maxClients = 0 GPIO_IRQ_ARG_NC);</div> |
dan_ackme | 21:17bb3eddcbae | 150 | <div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div> |
dan_ackme | 29:b6af04b77a56 | 151 | <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div> |
dan_ackme | 29:b6af04b77a56 | 152 | <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="comment">// ------------------------------------------------------------------------</span></div> |
dan_ackme | 29:b6af04b77a56 | 153 | <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div> |
dan_ackme | 29:b6af04b77a56 | 154 | <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__tcp.html#ga9e12bc568b7e8d72152e53a90de13035">tcpAccept</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, uint32_t timeoutMs = <a class="code" href="group__api__core__macro.html#ga580e5f45fee866c845e0d3fd1eb1744a">WICONNECT_WAIT_FOREVER</a>);</div> |
dan_ackme | 21:17bb3eddcbae | 155 | <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div> |
dan_ackme | 29:b6af04b77a56 | 156 | <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div> |
dan_ackme | 29:b6af04b77a56 | 157 | <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="comment">// ------------------------------------------------------------------------</span></div> |
dan_ackme | 29:b6af04b77a56 | 158 | <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div> |
dan_ackme | 29:b6af04b77a56 | 159 | <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__tcp.html#ga3d0137ebe308674e75f81457c38679d0">tcpServerStop</a>(<span class="keywordtype">void</span>);</div> |
dan_ackme | 29:b6af04b77a56 | 160 | <div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div> |
dan_ackme | 29:b6af04b77a56 | 161 | <div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div> |
dan_ackme | 29:b6af04b77a56 | 162 | <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="comment">// ------------------------------------------------------------------------</span></div> |
dan_ackme | 21:17bb3eddcbae | 163 | <div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div> |
dan_ackme | 29:b6af04b77a56 | 164 | <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__tls.html#ga4e6e89eb9aedec1ff6d25645c33f51e4">tlsConnect</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *host, uint16_t remortPort, <span class="keyword">const</span> <span class="keywordtype">char</span> *certFilename = NULL GPIO_IRQ_ARG_NC);</div> |
dan_ackme | 29:b6af04b77a56 | 165 | <div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div> |
dan_ackme | 29:b6af04b77a56 | 166 | <div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div> |
dan_ackme | 29:b6af04b77a56 | 167 | <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="comment">// ------------------------------------------------------------------------</span></div> |
dan_ackme | 21:17bb3eddcbae | 168 | <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div> |
dan_ackme | 29:b6af04b77a56 | 169 | <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__udp.html#ga0ca5eabcd64ce45b574205447101f8aa">udpConnect</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *host, uint16_t remortPort, uint16_t localPort = <a class="code" href="group__api__socket__macro.html#gae54117ebe433295ef992b9ca83c46d98">SOCKET_ANY_PORT</a> GPIO_IRQ_ARG_NC);</div> |
dan_ackme | 29:b6af04b77a56 | 170 | <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div> |
dan_ackme | 29:b6af04b77a56 | 171 | <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__udp.html#ga067fb0d662d8e27e3f5b561ded29a51a">udpListen</a>(<a class="code" href="classwiconnect_1_1_wiconnect_udp_server.html">WiconnectUdpServer</a> &udpServer, uint16_t listeningPort);</div> |
dan_ackme | 29:b6af04b77a56 | 172 | <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div> |
dan_ackme | 21:17bb3eddcbae | 173 | <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> </div> |
dan_ackme | 29:b6af04b77a56 | 174 | <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="comment">// ------------------------------------------------------------------------</span></div> |
dan_ackme | 29:b6af04b77a56 | 175 | <div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div> |
dan_ackme | 29:b6af04b77a56 | 176 | <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__http.html#ga181a03d883f60dff0c03b65e066f0eed">httpConnect</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keyword">const</span> <a class="code" href="structwiconnect_1_1_http_socket_args.html">HttpSocketArgs</a> *args);</div> |
dan_ackme | 29:b6af04b77a56 | 177 | <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div> |
dan_ackme | 29:b6af04b77a56 | 178 | <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__http.html#gac9b6c6a348f790cc8d43889dd72029f6">httpGet</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keywordtype">bool</span> openOnly = <span class="keyword">false</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> *certFilename = NULL);</div> |
dan_ackme | 29:b6af04b77a56 | 179 | <div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div> |
dan_ackme | 29:b6af04b77a56 | 180 | <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__http.html#ga1b6a3ebdbd164f0eb683fc335ef4d365">httpPost</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keyword">const</span> <span class="keywordtype">char</span> *contextType, <span class="keywordtype">bool</span> openOnly = <span class="keyword">true</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> *certFilename = NULL);</div> |
dan_ackme | 29:b6af04b77a56 | 181 | <div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div> |
dan_ackme | 29:b6af04b77a56 | 182 | <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__http.html#gabcb3d69b2b1718e7ebe1ed171dec1f85">httpHead</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keyword">const</span> <span class="keywordtype">char</span> *certFilename = NULL);</div> |
dan_ackme | 29:b6af04b77a56 | 183 | <div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div> |
dan_ackme | 29:b6af04b77a56 | 184 | <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__http.html#gabed18edc44f464bac64ce8a6dc3617ec">httpAddHeader</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div> |
dan_ackme | 21:17bb3eddcbae | 185 | <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div> |
dan_ackme | 29:b6af04b77a56 | 186 | <div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> <a class="code" href="group__api__socket__http.html#gadf59ca0783b89ee32f205e33f1bd5517">httpGetStatus</a>(<a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> &socket, uint32_t *statusCodePtr);</div> |
dan_ackme | 29:b6af04b77a56 | 187 | <div class="line"><a name="l00354"></a><span class="lineno"> 354</span> </div> |
dan_ackme | 29:b6af04b77a56 | 188 | <div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="keyword">protected</span>:</div> |
dan_ackme | 29:b6af04b77a56 | 189 | <div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="classwiconnect_1_1_socket_interface.html">SocketInterface</a>(<a class="code" href="classwiconnect_1_1_wiconnect.html">Wiconnect</a> *wiconnect);</div> |
dan_ackme | 29:b6af04b77a56 | 190 | <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  ~<a class="code" href="classwiconnect_1_1_socket_interface.html">SocketInterface</a>();</div> |
dan_ackme | 29:b6af04b77a56 | 191 | <div class="line"><a name="l00358"></a><span class="lineno"> 358</span> </div> |
dan_ackme | 29:b6af04b77a56 | 192 | <div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <span class="preprocessor">#ifdef WICONNECT_GPIO_IRQ_ENABLED</span></div> |
dan_ackme | 29:b6af04b77a56 | 193 | <div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  SocketIrqHandlerMap irqHandlers;</div> |
dan_ackme | 29:b6af04b77a56 | 194 | <div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="preprocessor">#endif</span></div> |
dan_ackme | 29:b6af04b77a56 | 195 | <div class="line"><a name="l00362"></a><span class="lineno"> 362</span> </div> |
dan_ackme | 29:b6af04b77a56 | 196 | <div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  uint32_t serverConnectedClientList;</div> |
dan_ackme | 29:b6af04b77a56 | 197 | <div class="line"><a name="l00364"></a><span class="lineno"> 364</span> </div> |
dan_ackme | 29:b6af04b77a56 | 198 | <div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> pollForServerClient(uint8_t *handle = NULL, uint16_t *localPort = NULL, uint16_t *remotePort = NULL, uint32_t *ipAddress = NULL);</div> |
dan_ackme | 29:b6af04b77a56 | 199 | <div class="line"><a name="l00366"></a><span class="lineno"> 366</span> </div> |
dan_ackme | 29:b6af04b77a56 | 200 | <div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordtype">void</span> socketClosedCallback(<span class="keyword">const</span> <a class="code" href="classwiconnect_1_1_wiconnect_socket.html">WiconnectSocket</a> *socket);</div> |
dan_ackme | 29:b6af04b77a56 | 201 | <div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div> |
dan_ackme | 29:b6af04b77a56 | 202 | <div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classwiconnect_1_1_ghm_interface.html">GhmInterface</a>;</div> |
dan_ackme | 29:b6af04b77a56 | 203 | <div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div> |
dan_ackme | 29:b6af04b77a56 | 204 | <div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <span class="keyword">private</span>:</div> |
dan_ackme | 29:b6af04b77a56 | 205 | <div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <a class="code" href="classwiconnect_1_1_wiconnect.html">Wiconnect</a> *wiconnect;</div> |
dan_ackme | 29:b6af04b77a56 | 206 | <div class="line"><a name="l00373"></a><span class="lineno"> 373</span> };</div> |
dan_ackme | 29:b6af04b77a56 | 207 | <div class="line"><a name="l00374"></a><span class="lineno"> 374</span> </div> |
dan_ackme | 29:b6af04b77a56 | 208 | <div class="line"><a name="l00375"></a><span class="lineno"> 375</span> }</div> |
dan_ackme | 29:b6af04b77a56 | 209 | <div class="ttc" id="group__api__socket__udp_html_ga0ca5eabcd64ce45b574205447101f8aa"><div class="ttname"><a href="group__api__socket__udp.html#ga0ca5eabcd64ce45b574205447101f8aa">wiconnect::SocketInterface::udpConnect</a></div><div class="ttdeci">WiconnectResult udpConnect(WiconnectSocket &socket, const char *host, uint16_t remortPort, uint16_t localPort=SOCKET_ANY_PORT GPIO_IRQ_ARG_NC)</div><div class="ttdoc">Connect to remote UDP server. </div></div> |
dan_ackme | 29:b6af04b77a56 | 210 | <div class="ttc" id="group__api__socket__types_html_ga69dc55558df4c81599c5fb3dff98756d"><div class="ttname"><a href="group__api__socket__types.html#ga69dc55558df4c81599c5fb3dff98756d">wiconnect::SocketType</a></div><div class="ttdeci">SocketType</div><div class="ttdoc">Socket type. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_types_8h_source.html#l00338">WiconnectTypes.h:338</a></div></div> |
dan_ackme | 17:7268f365676b | 211 | <div class="ttc" id="group__api__socket__http_html_ga1b6a3ebdbd164f0eb683fc335ef4d365"><div class="ttname"><a href="group__api__socket__http.html#ga1b6a3ebdbd164f0eb683fc335ef4d365">wiconnect::SocketInterface::httpPost</a></div><div class="ttdeci">WiconnectResult httpPost(WiconnectSocket &socket, const char *url, const char *contextType, bool openOnly=true, const char *certFilename=NULL)</div><div class="ttdoc">Issue HTTP POST Request. </div></div> |
dan_ackme | 29:b6af04b77a56 | 212 | <div class="ttc" id="classwiconnect_1_1_wiconnect_udp_server_html"><div class="ttname"><a href="classwiconnect_1_1_wiconnect_udp_server.html">wiconnect::WiconnectUdpServer</a></div><div class="ttdoc">UDP Server Listening socket. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_udp_server_8h_source.html#l00044">WiconnectUdpServer.h:44</a></div></div> |
dan_ackme | 29:b6af04b77a56 | 213 | <div class="ttc" id="group__api__core__types_html_ga325637ed501728bd6c8c7a7982b9ce05"><div class="ttname"><a href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">wiconnect::WiconnectResult</a></div><div class="ttdeci">WiconnectResult</div><div class="ttdoc">API Result code. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_types_8h_source.html#l00166">WiconnectTypes.h:166</a></div></div> |
dan_ackme | 16:7f1d6d359787 | 214 | <div class="ttc" id="classwiconnect_1_1_callback_html"><div class="ttname"><a href="classwiconnect_1_1_callback.html">wiconnect::Callback</a></div><div class="ttdoc">Generic callback function. </div><div class="ttdef"><b>Definition:</b> <a href="_callback_8h_source.html#l00049">Callback.h:49</a></div></div> |
dan_ackme | 29:b6af04b77a56 | 215 | <div class="ttc" id="group__api__socket__tcp_html_ga9f4f3e53ea7f4e84d43529da8580aaaa"><div class="ttname"><a href="group__api__socket__tcp.html#ga9f4f3e53ea7f4e84d43529da8580aaaa">wiconnect::SocketInterface::tcpListen</a></div><div class="ttdeci">WiconnectResult tcpListen(uint16_t listeningPort, int maxClients=0 GPIO_IRQ_ARG_NC)</div><div class="ttdoc">Start internal TCP server and listen on specified port. </div></div> |
dan_ackme | 29:b6af04b77a56 | 216 | <div class="ttc" id="group__api__socket__tls_html_ga4e6e89eb9aedec1ff6d25645c33f51e4"><div class="ttname"><a href="group__api__socket__tls.html#ga4e6e89eb9aedec1ff6d25645c33f51e4">wiconnect::SocketInterface::tlsConnect</a></div><div class="ttdeci">WiconnectResult tlsConnect(WiconnectSocket &socket, const char *host, uint16_t remortPort, const char *certFilename=NULL GPIO_IRQ_ARG_NC)</div><div class="ttdoc">Connect to remote TLS server. </div></div> |
dan_ackme | 29:b6af04b77a56 | 217 | <div class="ttc" id="group__api__socket__tcp_html_gad8e8632715a38222ce4fea5fe0aaf527"><div class="ttname"><a href="group__api__socket__tcp.html#gad8e8632715a38222ce4fea5fe0aaf527">wiconnect::SocketInterface::tcpConnect</a></div><div class="ttdeci">WiconnectResult tcpConnect(WiconnectSocket &socket, const char *host, uint16_t remortPort GPIO_IRQ_ARG_NC)</div><div class="ttdoc">Connect to remote TCP server. </div></div> |
dan_ackme | 29:b6af04b77a56 | 218 | <div class="ttc" id="classwiconnect_1_1_ghm_interface_html"><div class="ttname"><a href="classwiconnect_1_1_ghm_interface.html">wiconnect::GhmInterface</a></div><div class="ttdoc">The provides an interface for http://goHACK.me. </div><div class="ttdef"><b>Definition:</b> <a href="_ghm_interface_8h_source.html#l00081">GhmInterface.h:81</a></div></div> |
dan_ackme | 29:b6af04b77a56 | 219 | <div class="ttc" id="group__api__socket__macro_html_gae54117ebe433295ef992b9ca83c46d98"><div class="ttname"><a href="group__api__socket__macro.html#gae54117ebe433295ef992b9ca83c46d98">SOCKET_ANY_PORT</a></div><div class="ttdeci">#define SOCKET_ANY_PORT</div><div class="ttdoc">Default which indicates to use the most optimal port. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_types_8h_source.html#l00154">WiconnectTypes.h:154</a></div></div> |
dan_ackme | 17:7268f365676b | 220 | <div class="ttc" id="group__api__socket__http_html_gabed18edc44f464bac64ce8a6dc3617ec"><div class="ttname"><a href="group__api__socket__http.html#gabed18edc44f464bac64ce8a6dc3617ec">wiconnect::SocketInterface::httpAddHeader</a></div><div class="ttdeci">WiconnectResult httpAddHeader(WiconnectSocket &socket, const char *key, const char *value)</div><div class="ttdoc">Add HTTP header key/value pair to opened HTTP request. </div></div> |
dan_ackme | 14:85a2ed029f37 | 221 | <div class="ttc" id="group__api__socket__misc_html_ga8a80d96efac7cc514fe7fc61d1878106"><div class="ttname"><a href="group__api__socket__misc.html#ga8a80d96efac7cc514fe7fc61d1878106">wiconnect::SocketInterface::closeAllSockets</a></div><div class="ttdeci">WiconnectResult closeAllSockets()</div><div class="ttdoc">Close all opened sockets. </div></div> |
dan_ackme | 17:7268f365676b | 222 | <div class="ttc" id="group__api__socket__http_html_ga181a03d883f60dff0c03b65e066f0eed"><div class="ttname"><a href="group__api__socket__http.html#ga181a03d883f60dff0c03b65e066f0eed">wiconnect::SocketInterface::httpConnect</a></div><div class="ttdeci">WiconnectResult httpConnect(WiconnectSocket &socket, const char *url, const HttpSocketArgs *args)</div><div class="ttdoc">Connect to remote HTTP server. </div></div> |
dan_ackme | 29:b6af04b77a56 | 223 | <div class="ttc" id="group__api__core__types_html_ga1cf4dfa71da0b0dc3dc707dacf56cc9c"><div class="ttname"><a href="group__api__core__types.html#ga1cf4dfa71da0b0dc3dc707dacf56cc9c">wiconnect::Pin</a></div><div class="ttdeci">PinName Pin</div><div class="ttdoc">Pin name on HOST. </div><div class="ttdef"><b>Definition:</b> <a href="sdk_8h_source.html#l00134">sdk.h:134</a></div></div> |
dan_ackme | 17:7268f365676b | 224 | <div class="ttc" id="group__api__socket__http_html_gac9b6c6a348f790cc8d43889dd72029f6"><div class="ttname"><a href="group__api__socket__http.html#gac9b6c6a348f790cc8d43889dd72029f6">wiconnect::SocketInterface::httpGet</a></div><div class="ttdeci">WiconnectResult httpGet(WiconnectSocket &socket, const char *url, bool openOnly=false, const char *certFilename=NULL)</div><div class="ttdoc">Issue HTTP GET Request. </div></div> |
dan_ackme | 29:b6af04b77a56 | 225 | <div class="ttc" id="group__api__socket__tcp_html_ga9e12bc568b7e8d72152e53a90de13035"><div class="ttname"><a href="group__api__socket__tcp.html#ga9e12bc568b7e8d72152e53a90de13035">wiconnect::SocketInterface::tcpAccept</a></div><div class="ttdeci">WiconnectResult tcpAccept(WiconnectSocket &socket, uint32_t timeoutMs=WICONNECT_WAIT_FOREVER)</div><div class="ttdoc">Wait for next client to connect to TCP server. </div></div> |
dan_ackme | 17:7268f365676b | 226 | <div class="ttc" id="group__api__socket__http_html_gabcb3d69b2b1718e7ebe1ed171dec1f85"><div class="ttname"><a href="group__api__socket__http.html#gabcb3d69b2b1718e7ebe1ed171dec1f85">wiconnect::SocketInterface::httpHead</a></div><div class="ttdeci">WiconnectResult httpHead(WiconnectSocket &socket, const char *url, const char *certFilename=NULL)</div><div class="ttdoc">Issue HTTP HEAD Request. </div></div> |
dan_ackme | 29:b6af04b77a56 | 227 | <div class="ttc" id="group__api__socket__misc_html_gab24204ef309b6e7a52b03b35a7046b45"><div class="ttname"><a href="group__api__socket__misc.html#gab24204ef309b6e7a52b03b35a7046b45">wiconnect::SocketInterface::connect</a></div><div class="ttdeci">WiconnectResult connect(WiconnectSocket &socket, SocketType type, const char *host, uint16_t remortPort, uint16_t localPort, const void *args GPIO_IRQ_ARG)</div><div class="ttdoc">Connect to remote server. </div></div> |
dan_ackme | 17:7268f365676b | 228 | <div class="ttc" id="classwiconnect_1_1_wiconnect_socket_html"><div class="ttname"><a href="classwiconnect_1_1_wiconnect_socket.html">wiconnect::WiconnectSocket</a></div><div class="ttdoc">Connection object to remote server. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_socket_8h_source.html#l00043">WiconnectSocket.h:43</a></div></div> |
dan_ackme | 29:b6af04b77a56 | 229 | <div class="ttc" id="group__api__core__macro_html_ga580e5f45fee866c845e0d3fd1eb1744a"><div class="ttname"><a href="group__api__core__macro.html#ga580e5f45fee866c845e0d3fd1eb1744a">WICONNECT_WAIT_FOREVER</a></div><div class="ttdeci">#define WICONNECT_WAIT_FOREVER</div><div class="ttdoc">Never timeout. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_types_8h_source.html#l00138">WiconnectTypes.h:138</a></div></div> |
dan_ackme | 29:b6af04b77a56 | 230 | <div class="ttc" id="classwiconnect_1_1_socket_interface_html"><div class="ttname"><a href="classwiconnect_1_1_socket_interface.html">wiconnect::SocketInterface</a></div><div class="ttdoc">The provides an interface for creating TCP/UDP/TLS/HTTP client sockets. A client socket connects to a...</div><div class="ttdef"><b>Definition:</b> <a href="_socket_interface_8h_source.html#l00063">SocketInterface.h:63</a></div></div> |
dan_ackme | 21:17bb3eddcbae | 231 | <div class="ttc" id="group__api__socket__tcp_html_ga3d0137ebe308674e75f81457c38679d0"><div class="ttname"><a href="group__api__socket__tcp.html#ga3d0137ebe308674e75f81457c38679d0">wiconnect::SocketInterface::tcpServerStop</a></div><div class="ttdeci">WiconnectResult tcpServerStop(void)</div><div class="ttdoc">Stop TCP server from listening on port. Close all connected clients. </div></div> |
dan_ackme | 29:b6af04b77a56 | 232 | <div class="ttc" id="classwiconnect_1_1_wiconnect_html"><div class="ttname"><a href="classwiconnect_1_1_wiconnect.html">wiconnect::Wiconnect</a></div><div class="ttdoc">The root WiConnect library class. This class inheriets all WiConnect functionality. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_interface_8h_source.html#l00078">WiconnectInterface.h:78</a></div></div> |
dan_ackme | 29:b6af04b77a56 | 233 | <div class="ttc" id="group__api__socket__udp_html_ga067fb0d662d8e27e3f5b561ded29a51a"><div class="ttname"><a href="group__api__socket__udp.html#ga067fb0d662d8e27e3f5b561ded29a51a">wiconnect::SocketInterface::udpListen</a></div><div class="ttdeci">WiconnectResult udpListen(WiconnectUdpServer &udpServer, uint16_t listeningPort)</div><div class="ttdoc">Start a UDP server listening on the given port. </div></div> |
dan_ackme | 29:b6af04b77a56 | 234 | <div class="ttc" id="structwiconnect_1_1_http_socket_args_html"><div class="ttname"><a href="structwiconnect_1_1_http_socket_args.html">wiconnect::HttpSocketArgs</a></div><div class="ttdoc">Struct for hold HTTP socket configuration. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_types_8h_source.html#l00364">WiconnectTypes.h:364</a></div></div> |
dan_ackme | 17:7268f365676b | 235 | <div class="ttc" id="group__api__socket__http_html_gadf59ca0783b89ee32f205e33f1bd5517"><div class="ttname"><a href="group__api__socket__http.html#gadf59ca0783b89ee32f205e33f1bd5517">wiconnect::SocketInterface::httpGetStatus</a></div><div class="ttdeci">WiconnectResult httpGetStatus(WiconnectSocket &socket, uint32_t *statusCodePtr)</div><div class="ttdoc">Get the HTTP status code from HTTP request. </div></div> |
dan_ackme | 14:85a2ed029f37 | 236 | </div><!-- fragment --></div><!-- contents --> |
dan_ackme | 14:85a2ed029f37 | 237 | </div><!-- doc-content --> |
dan_ackme | 14:85a2ed029f37 | 238 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
dan_ackme | 14:85a2ed029f37 | 239 | <ul> |
dan_ackme | 14:85a2ed029f37 | 240 | <li class="footer">© ACKme Networks 2014</li> |
dan_ackme | 14:85a2ed029f37 | 241 | </ul> |
dan_ackme | 14:85a2ed029f37 | 242 | </div> |
dan_ackme | 14:85a2ed029f37 | 243 | </body> |
dan_ackme | 14:85a2ed029f37 | 244 | </html> |