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