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: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface by
Diff: Socket/Socket.cpp
- Revision:
- 33:33f1bc919486
- Parent:
- 32:ae95309643aa
- Child:
- 34:8c3527b8f44e
--- a/Socket/Socket.cpp Fri May 30 08:30:40 2014 +0000
+++ b/Socket/Socket.cpp Tue Jun 03 08:53:07 2014 +0000
@@ -30,6 +30,7 @@
#include "Socket.h"
#include <cstring>
+char gSOCKET_SEND_BUF[2048] __attribute__((section("AHBSRAM1")));
Socket::Socket()
{
mSocketID = -1;
@@ -244,3 +245,8 @@
return ip_addr;
}
+
+char *Socket::getSocketSendBuf()
+{
+ return gSOCKET_SEND_BUF;
+}

Murata TypeYD