SNIC UART Interface library for Murata Type-YD module

Dependents:   WebSocketServerTest

Fork of SNICInterface_mod by Toyomasa Watarai

Revision:
36:f33fcf5975ab
Parent:
33:33f1bc919486
Child:
38:f13e4e563d65
diff -r e4e7f86fd975 -r f33fcf5975ab Socket/UDPSocket.cpp
--- 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