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.
Dependents: ESP8266_W7500_Example DualNetworkInterface-Basic
Fork of ESP8266Interface by
Diff: Socket/UDPSocket.cpp
- Revision:
- 44:3a7b6083210b
- Parent:
- 35:22d30e936e4c
- Child:
- 45:c180905b5b79
--- a/Socket/UDPSocket.cpp Fri May 01 18:29:38 2015 +0000
+++ b/Socket/UDPSocket.cpp Wed Jun 03 18:21:19 2015 +0000
@@ -53,7 +53,8 @@
// initialize transparent mode if not already done
if(!endpoint_configured) {
// initialize UDP (default id of -1 means transparent mode)
- if(!wifi->start(ESP_UDP_TYPE, remote._ipAddress, remote._port, remote._id)) {
+ //!wifi->start(ESP_UDP_TYPE, remote._ipAddress, remote._port, remote._id
+ if(!wifi->startUDP(remote._ipAddress, remote._port, 0,length)) {
return(-1);
}
endpoint_configured = true;
