SNIC UART Interface library: Serial to Wi-Fi library for Murata TypeYD Wi-Fi module. For more information about TypeYD: http://www.murata.co.jp/products/microwave/module/lbwb1zzydz/index.html
Dependents: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface by
Diff: Socket/Socket.cpp
- Revision:
- 15:5eb637414df2
- Parent:
- 14:54378c96d285
- Child:
- 16:6100acfeb1f1
--- a/Socket/Socket.cpp Wed Mar 26 04:38:12 2014 +0000 +++ b/Socket/Socket.cpp Thu Mar 27 05:12:22 2014 +0000 @@ -66,7 +66,7 @@ int Socket::createSocket( unsigned char bind, unsigned int local_addr, unsigned short port ) { // 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("createSocket payload_buf NULL\r\n");