Need to increase the Cooja serial buffer size to accomodate the traffic
This commit is contained in:
parent
2b549f3789
commit
e859ad8e05
|
@ -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];
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue