Check max length of Databytes (Master/Slave) added.

This commit is contained in:
Roland Jax
2014-02-06 23:36:58 +01:00
parent 36758f5f0e
commit 0bba5aa74d
2 changed files with 15 additions and 2 deletions
+3
View File
@@ -55,6 +55,9 @@
#define EBUS_MSG_MASTER_SLAVE_TXT "MS"
#define EBUS_MSG_MASTER_SLAVE 3
#define EBUS_MSG_MASTER_MAX_DB_LEN 12
#define EBUS_MSG_SLAVE_MAX_DB_LEN 12
#define SERIAL_DEVICE "/dev/ttyUSB0"
#define SERIAL_BAUDRATE B2400
#define SERIAL_BUFSIZE 100