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: NVIC_set_all_priorities
Dependents: CC3000_Simple_Socket Wi-Go_IOT_Demo
Diff: socket.cpp
- Revision:
- 10:5afa438c12fd
- Parent:
- 8:b48bb4df9319
diff -r 8db50def96e5 -r 5afa438c12fd socket.cpp
--- a/socket.cpp Thu Aug 15 10:09:57 2013 +0000
+++ b/socket.cpp Mon Sep 16 12:36:14 2013 +0000
@@ -120,6 +120,9 @@
long ret;
unsigned char *ptr, *args;
+ //Wait until all buffers are released
+ while(tSLInformation.usNumberOfFreeBuffers != SOCKET_MAX_FREE_BUFFERS);
+
ret = EFAIL;
ptr = tSLInformation.pucTxCommandBuffer;
args = (ptr + HEADERS_SIZE_CMD);
SimpleLink Wi-Fi CC3000