A quick example of a simple WiFi application using the WiFi and network-socket APIs that is provided as a part of mbed-os.

Dependencies:   C12832

Fork of mbed-os-example-mbed5-wifi by mbed-os-examples

Revision:
36:aa0b6789bbd2
Parent:
33:12f0df4d51d7
Child:
44:63be19b7a3db
--- a/README.md	Tue Sep 26 11:45:04 2017 +0100
+++ b/README.md	Wed Sep 27 11:15:04 2017 +0100
@@ -71,6 +71,38 @@
    ```
    mbed compile -t GCC_ARM -m UBLOX_EVK_ODIN_W2
    ```
+   
+ 5. Open a serial console session with the target platform using the following parameters:
+    * **Baud rate:** 9600
+    * **Data bits:** 8
+    * **Stop bits:** 1
+    * **Parity:** None
+ 
+ 6. Copy or drag the application `mbed-os-example-wifi.bin` in the folder `mbed-os-example-wifi/BUILD/<TARGET NAME>/<PLATFORM NAME>` onto the target board.
+ 
+ 7. The serial console should display a similar output to below, indicating a successful WiFi connection:
+ ```
+ WiFi example
+
+Scan:
+Network: Dave Hot Spot secured: Unknown BSSID: 00:01:02:03:04:05 RSSI: -58 Ch: 1
+1 network available.
+
+Connecting...
+Success
+
+MAC: 00:01:02:03:04:05
+IP: 192.168.0.5
+Netmask: 255.255.255.0
+Gateway: 192.168.0.1
+RSSI: -27
+
+Sending HTTP request to www.arm.com...
+sent 38 [GET / HTTP/1.1]
+recv 64 [HTTP/1.1 301 Moved Permanently]
+
+Done
+```
 
 ## Documentation ##