Need to increase the Cooja serial buffer size to accomodate the traffic
This commit is contained in:
parent
2b549f3789
commit
e859ad8e05
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
const struct simInterface rs232_interface;
|
const struct simInterface rs232_interface;
|
||||||
|
|
||||||
#define SERIAL_BUF_SIZE 1024
|
#define SERIAL_BUF_SIZE 2048
|
||||||
|
|
||||||
// COOJA variables
|
// COOJA variables
|
||||||
char simSerialReceivingData[SERIAL_BUF_SIZE];
|
char simSerialReceivingData[SERIAL_BUF_SIZE];
|
||||||
|
|
|
@ -71,7 +71,7 @@ public class ContikiRS232 extends SerialUI implements ContikiMoteInterface, Poll
|
||||||
private ContikiMote mote = null;
|
private ContikiMote mote = null;
|
||||||
private VarMemory moteMem = 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.
|
* Creates an interface to the RS232 at mote.
|
||||||
|
|
Loading…
Add table
Reference in a new issue