
Simple app demonstrating network join feature of WiConnect Host Library.
Revision 8:504313ccb679, committed 2014-08-26
- Comitter:
- dan_ackme
- Date:
- Tue Aug 26 16:34:15 2014 -0700
- Parent:
- 4:8d41c9a45374
- Child:
- 9:ba592b3a5c64
- 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 Sat Aug 23 05:43:55 2014 -0700 +++ b/example.cpp Tue Aug 26 16:34:15 2014 -0700 @@ -61,9 +61,6 @@ */ int main(int argc, char **argv) { - NetworkStatus networkStatus; - - consoleSerial.baud(115200); // console terminal to 115200 baud //------------------------------------------------------------------------- @@ -112,10 +109,9 @@ // STEP 4: Done! //------------------------------------------------------------------------- + printf("IP Address: %s\r\n", wiconnect.getIpAddress()); printf("Network join example has completed!\r\n"); - for(;;); // infinite loop - - return 0; + while(true){} // infinite loop }