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 11:b7e531a4d661, committed 2015-06-18
- Comitter:
- sam_grove
- Date:
- Thu Jun 18 15:25:36 2015 +0000
- Parent:
- 10:ca389819e01e
- Child:
- 12:31aad4e3317e
- Commit message:
- change wifi->connect to wifi->open for sockets
Changed in this revision
--- a/NetworkSocketAPI.lib Wed Jun 17 23:40:46 2015 +0000 +++ b/NetworkSocketAPI.lib Thu Jun 18 15:25:36 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/#4b7f97a5597b +http://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/#26b257519de9
--- a/WiFiRadioInterface.lib Wed Jun 17 23:40:46 2015 +0000 +++ b/WiFiRadioInterface.lib Thu Jun 18 15:25:36 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/NetworkSocketAPI/code/wifi_interface/#55e8928e5788 +http://developer.mbed.org/teams/NetworkSocketAPI/code/wifi_interface/#d29439d50306
--- a/main.cpp Wed Jun 17 23:40:46 2015 +0000
+++ b/main.cpp Thu Jun 18 15:25:36 2015 +0000
@@ -52,7 +52,7 @@
//Socket socket;
char buf[1024];
- wifi.connect(*wifi.endpoint);
+ wifi.open(*wifi.endpoint);
wifi.recv(buf, 1024);
wifi.send(buf, sizeof(buf));
wifi.close(*wifi.endpoint);
