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 Takao Kishino

Revision:
36:f33fcf5975ab
Parent:
33:33f1bc919486
Child:
38:f13e4e563d65
--- a/Socket/UDPSocket.cpp	Tue Jun 10 10:19:48 2014 +0000
+++ b/Socket/UDPSocket.cpp	Thu Jun 19 10:15:47 2014 +0000
@@ -65,7 +65,7 @@
     req.seq          = mUartRequestSeq++;
     req.interface    = 0;
     
-    unsigned char command_array[UART_REQUEST_PAYLOAD_MAX];
+    unsigned char *command_array = snic_core_p->getCommandBuf();
     unsigned int  command_len;
     // Preparation of command
     command_len = snic_core_p->preparationSendCommand( UART_CMD_ID_SNIC, req.cmd_sid, (unsigned char *)&req