Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DnsQuery ESP8266Interface NetworkSocketAPI mbed
Fork of HelloESP8266Interface by
Revision 19:03f1da306347, committed 2015-07-22
- Comitter:
- sarahmarshy
- Date:
- Wed Jul 22 20:55:47 2015 +0000
- Parent:
- 18:a5830a6d3e11
- Child:
- 20:4cb9ef3b0cc9
- Child:
- 21:979b1db5d7da
- Commit message:
- Updating libraries
Changed in this revision
--- a/ESP8266Interface.lib Tue Jul 21 20:20:45 2015 +0000 +++ b/ESP8266Interface.lib Wed Jul 22 20:55:47 2015 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/NetworkSocketAPI/code/ESP8266Interface/#2400f429ec6b +https://developer.mbed.org/teams/NetworkSocketAPI/code/ESP8266Interface/#312453862371
--- a/NetworkSocketAPI.lib Tue Jul 21 20:20:45 2015 +0000 +++ b/NetworkSocketAPI.lib Wed Jul 22 20:55:47 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/#f84e69b3fdd3 +http://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/#e657a90d9511
--- a/main.cpp Tue Jul 21 20:20:45 2015 +0000
+++ b/main.cpp Wed Jul 22 20:55:47 2015 +0000
@@ -35,9 +35,10 @@
else
printf("No IP");
- SocketInterface* mySocket = wifi.allocateSocket(SOCK_TCP);
+ SocketInterface* mySocket = wifi.allocateSocket(SOCK_UDP);
+
- mySocket->setAddressPort("192.168.13.3", 7);
+ mySocket->setAddressPort("192.168.13.6", 7);
mySocket->open();
mySocket->send("Hello",5, 10000);
