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-httpclient-example SNIC-ntpclient-example
Fork of SNICInterface by
Diff: SNICwifi/SNICwifi.cpp
- Revision:
- 9:a98b45e766c8
- Parent:
- 8:50d2509479cd
- Child:
- 10:49ffd373066b
--- a/SNICwifi/SNICwifi.cpp Mon Mar 17 11:40:56 2014 +0000
+++ b/SNICwifi/SNICwifi.cpp Tue Mar 18 01:13:52 2014 +0000
@@ -64,6 +64,17 @@
return ret;
}
+tagMEMPOOL_BLOCK_T *C_SNICwifi::getAlocCmdBuf()
+{
+ // Get buffer from MemoryPool
+ return mMemPoolPayload.alloc();
+}
+
+void C_SNICwifi::freeCmdBuf( tagMEMPOOL_BLOCK_T *buf_p )
+{
+ mMemPoolPayload.free( buf_p );
+}
+
void C_SNICwifi::uartRecvThread (void const *args_p) {
C_SNICwifi *instance_p = C_SNICwifi::getInstance();
