SNIC UART Interface library for Murata Type-YD module

Dependents:   WebSocketServerTest

Fork of SNICInterface_mod by Toyomasa Watarai

Revision:
15:5eb637414df2
Parent:
14:54378c96d285
Child:
16:6100acfeb1f1
--- a/Socket/TCPSocketConnection.cpp	Wed Mar 26 04:38:12 2014 +0000
+++ b/Socket/TCPSocketConnection.cpp	Thu Mar 27 05:12:22 2014 +0000
@@ -49,7 +49,7 @@
     }
 
     // Get buffer for response payload from MemoryPool
-    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->getAlocCmdBuf();
+    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->allocCmdBuf();
     if( payload_buf == NULL )
     {
         printf("connect payload_buf NULL\r\n");
@@ -124,7 +124,7 @@
 int TCPSocketConnection::send(unsigned char* data_p, int length)
 {
     // Get buffer for response payload from MemoryPool
-    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->getAlocCmdBuf();
+    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->allocCmdBuf();
     if( payload_buf == NULL )
     {
         printf("connect payload_buf NULL\r\n");