Example program for the SeeedStudio WiFi Shield V2.0, based on UART serial port connectivity (D0/D1 pins). This program connects to WiFi hotspot, obtains an IP using DHCP and downloads http://mbed.org/media/uploads/mbed_official/hello.txt

Dependencies:   WiflyInterface mbed

Files at this revision

API Documentation at this revision

Comitter:
screamer
Date:
Wed Mar 18 15:11:40 2015 +0000
Parent:
10:72484b5b7114
Commit message:
Update the host url to developer.mbed.org and update the mbed lib

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 72484b5b7114 -r e26d01206ed4 main.cpp
--- a/main.cpp	Fri Feb 13 09:39:18 2015 +0000
+++ b/main.cpp	Wed Mar 18 15:11:40 2015 +0000
@@ -63,7 +63,7 @@
     // Prepare the http request to mbed.org
     char http_cmd[] = "GET /media/uploads/mbed_official/hello.txt HTTP/1.0\n\n";
     TCPSocketConnection sock;
-    sock.connect("mbed.org", 80);    
+    sock.connect("developer.mbed.org", 80);    
     sock.send_all(http_cmd, sizeof(http_cmd)-1);
     //printf(">>> Sent request to mbed.org\n");
 
diff -r 72484b5b7114 -r e26d01206ed4 mbed.bld
--- a/mbed.bld	Fri Feb 13 09:39:18 2015 +0000
+++ b/mbed.bld	Wed Mar 18 15:11:40 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/e188a91d3eaa
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0
\ No newline at end of file