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
Diff: doc/html/tcp__server_2example_8cpp_source.html
- Revision:
- 26:8067e3d463d3
- Parent:
- 21:17bb3eddcbae
- Child:
- 29:b6af04b77a56
--- a/doc/html/tcp__server_2example_8cpp_source.html Tue Aug 26 16:53:06 2014 -0700 +++ b/doc/html/tcp__server_2example_8cpp_source.html Thu Oct 23 15:16:06 2014 -0700 @@ -47,7 +47,7 @@ <li><a href="modules.html"><span>Library API</span></a></li> <li><a href="examples.html"><span>API Examples</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> - <li><a href="http://wiconnect.ack.me/1.2/general_overview"><span>WiConnect Reference Manual</span></a></li> + <li><a href="http://wiconnect.ack.me/2.0/general_overview"><span>WiConnect Reference Manual</span></a></li> <li><a href="http://www.ack.me/WiConnect"><span>ACKme Website</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> @@ -193,7 +193,7 @@ <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  printf(<span class="stringliteral">"Initializing WiConnect Library...\r\n"</span>);</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// Initialize communication with WiFi module</span></div> -<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">if</span>(<a class="code" href="group__api__core__macro.html#gab27aa3ef76302b5221766abfd4f47e64">WICONNECT_FAILED</a>(result, wiconnectIfc.<a class="code" href="group__api__core__misc.html#ga2c12dea5cb989353f39b3bee7e538c86">init</a>(<span class="keyword">true</span>)))</div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">if</span>(<a class="code" href="group__api__core__macro.html#gab27aa3ef76302b5221766abfd4f47e64">WICONNECT_FAILED</a>(result, wiconnectIfc.<a class="code" href="group__api__core__misc.html#gae2e3add2e60543d0e3340ed7a9e034ad">init</a>(<span class="keyword">true</span>)))</div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  printf(<span class="stringliteral">"Failed to initialize communication with WiFi module: %s\r\n"</span></div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="stringliteral">"Make sure the wires are connected correctly\r\n"</span>, Wiconnect::getWiconnectResultStr(result));</div> @@ -278,10 +278,10 @@ <div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span> }</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div> -<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#l00155">WiconnectTypes.h:155</a></div></div> +<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#l00159">WiconnectTypes.h:159</a></div></div> <div class="ttc" id="classwiconnect_1_1_serial_config_html"><div class="ttname"><a href="classwiconnect_1_1_serial_config.html">wiconnect::SerialConfig</a></div><div class="ttdoc">Host<->Wiconnect Module serial configuration. </div><div class="ttdef"><b>Definition:</b> <a href="sdk_8h_source.html#l00129">sdk.h:129</a></div></div> -<div class="ttc" id="group__api__core__misc_html_ga2c12dea5cb989353f39b3bee7e538c86"><div class="ttname"><a href="group__api__core__misc.html#ga2c12dea5cb989353f39b3bee7e538c86">wiconnect::Wiconnect::init</a></div><div class="ttdeci">WiconnectResult init(bool bringNetworkUp=true)</div><div class="ttdoc">Initialize library and communication link with WiConnect WiFi module. </div></div> <div class="ttc" id="group__api__network__settings_html_ga0b8fc3d5be0bae9ffcdc1b4b9aee6290"><div class="ttname"><a href="group__api__network__settings.html#ga0b8fc3d5be0bae9ffcdc1b4b9aee6290">wiconnect::NetworkInterface::getIpAddress</a></div><div class="ttdeci">const char * getIpAddress(char *buffer=NULL)</div><div class="ttdoc">Return the current IP address of the module if possible, else return 0.0.0.0. </div></div> +<div class="ttc" id="group__api__core__misc_html_gae2e3add2e60543d0e3340ed7a9e034ad"><div class="ttname"><a href="group__api__core__misc.html#gae2e3add2e60543d0e3340ed7a9e034ad">wiconnect::Wiconnect::init</a></div><div class="ttdeci">WiconnectResult init(bool bringNetworkUp=false)</div><div class="ttdoc">Initialize library and communication link with WiConnect WiFi module. </div></div> <div class="ttc" id="group__api__socket__tcp_html_ga0ea4efc810c7c5a9fbd96fcc627633b3"><div class="ttname"><a href="group__api__socket__tcp.html#ga0ea4efc810c7c5a9fbd96fcc627633b3">wiconnect::SocketInterface::tcpAccept</a></div><div class="ttdeci">WiconnectResult tcpAccept(WiconnectSocket &socket, int timeoutMs=WICONNECT_WAIT_FOREVER)</div><div class="ttdoc">Wait for next client to connect to TCP server. </div></div> <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> <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#l00074">WiconnectInterface.h:74</a></div></div>