Need to increase the Cooja serial buffer size to accomodate the traffic

This commit is contained in:
Adam Dunkels 2015-08-26 22:10:53 +02:00
parent 2b549f3789
commit e859ad8e05
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
const struct simInterface rs232_interface;
#define SERIAL_BUF_SIZE 1024
#define SERIAL_BUF_SIZE 2048
// COOJA variables
char simSerialReceivingData[SERIAL_BUF_SIZE];

View File

@ -71,7 +71,7 @@ public class ContikiRS232 extends SerialUI implements ContikiMoteInterface, Poll
private ContikiMote mote = null;
private VarMemory moteMem = null;
static final int SERIAL_BUF_SIZE = 1024; /* rs232.c:40 */
static final int SERIAL_BUF_SIZE = 2048; /* rs232.c:40 */
/**
* Creates an interface to the RS232 at mote.