SNICInterface for ThingPlug Example
Dependents: ThingPlug_WiFi_Example ThingPlug_WiFi_Example_2
Fork of SNICInterface by
Diff: Socket/TCPSocketConnection.cpp
- 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");