Simple example demonstrating WiConnect host library web setup feature.

Dependencies:   WiConnect mbed

Files at this revision

API Documentation at this revision

Comitter:
dan_ackme
Date:
Tue Aug 26 16:35:16 2014 -0700
Parent:
1:44eae7ea80c7
Child:
7:723f12b7b0de
Commit message:
fixed warning

Changed in this revision

example.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/example.cpp	Wed Aug 13 04:42:25 2014 -0700
+++ b/example.cpp	Tue Aug 26 16:35:16 2014 -0700
@@ -138,11 +138,10 @@
     // STEP 5: Done!
     //-------------------------------------------------------------------------
 
+    printf("IP Address: %s\r\n", wiconnect.getIpAddress());
     printf("Web setup example has completed!\r\n");
 
-    for(;;); // infinite loop
-
-    return 0;
+    while(true){} // infinite loop
 }