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/web__setup_2example_8cpp_source.html
- Revision:
- 21:17bb3eddcbae
- Parent:
- 17:7268f365676b
- Child:
- 26:8067e3d463d3
--- a/doc/html/web__setup_2example_8cpp_source.html Sat Aug 23 05:57:52 2014 -0700 +++ b/doc/html/web__setup_2example_8cpp_source.html Tue Aug 26 16:38:19 2014 -0700 @@ -225,24 +225,23 @@ <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="comment">// STEP 5: Done!</span></div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">//-------------------------------------------------------------------------</span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div> -<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  printf(<span class="stringliteral">"Web setup example has completed!\r\n"</span>);</div> -<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> -<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">for</span>(;;); <span class="comment">// infinite loop</span></div> -<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div> -<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> 0;</div> -<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  printf(<span class="stringliteral">"IP Address: %s\r\n"</span>, wiconnect.getIpAddress());</div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  printf(<span class="stringliteral">"Web setup example has completed!\r\n"</span>);</div> +<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div> +<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">while</span>(<span class="keyword">true</span>){} <span class="comment">// infinite loop</span></div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> }</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div> -<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div> -<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment">// this function is called when web setup completes</span></div> -<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment">// it is called in the background</span></div> -<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="keyword">static</span> <span class="keywordtype">void</span> webSetupCompleteCallback(<a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> result, <span class="keywordtype">void</span> *arg1, <span class="keywordtype">void</span> *arg2)</div> -<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> {</div> -<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  webSetupCompleteFlag = <span class="keyword">true</span>;</div> -<div class="line"><a name="l00154"></a><span class="lineno"> 154</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#l00146">WiconnectTypes.h:146</a></div></div> +<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment">// this function is called when web setup completes</span></div> +<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment">// it is called in the background</span></div> +<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="keyword">static</span> <span class="keywordtype">void</span> webSetupCompleteCallback(<a class="code" href="group__api__core__types.html#ga325637ed501728bd6c8c7a7982b9ce05">WiconnectResult</a> result, <span class="keywordtype">void</span> *arg1, <span class="keywordtype">void</span> *arg2)</div> +<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> {</div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  webSetupCompleteFlag = <span class="keyword">true</span>;</div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</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="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> <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__types_html_gga325637ed501728bd6c8c7a7982b9ce05af0a2ad8af174aee6b52813d8528328e7"><div class="ttname"><a href="group__api__core__types.html#gga325637ed501728bd6c8c7a7982b9ce05af0a2ad8af174aee6b52813d8528328e7">wiconnect::WICONNECT_SUCCESS</a></div><div class="ttdoc">Command successfully completed. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_types_8h_source.html#l00152">WiconnectTypes.h:152</a></div></div> +<div class="ttc" id="group__api__core__types_html_gga325637ed501728bd6c8c7a7982b9ce05af0a2ad8af174aee6b52813d8528328e7"><div class="ttname"><a href="group__api__core__types.html#gga325637ed501728bd6c8c7a7982b9ce05af0a2ad8af174aee6b52813d8528328e7">wiconnect::WICONNECT_SUCCESS</a></div><div class="ttdoc">Command successfully completed. </div><div class="ttdef"><b>Definition:</b> <a href="_wiconnect_types_8h_source.html#l00161">WiconnectTypes.h:161</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> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content -->