RS485 transport layer

Note this is still untested as I haven't got any RS485 modules.
This commit is contained in:
Henrik Ekblad
2015-10-12 18:48:28 +02:00
parent 79d837825f
commit cf232b1baa
16 changed files with 1499 additions and 9 deletions
+14 -2
View File
@@ -53,11 +53,11 @@
* Radio selection and node config
***********************************/
// Selecting radio transport is optional (for a gateway node).
// Selecting uplink transport layer is optional (for a gateway node).
//#define MY_RADIO_NRF24
//#define MY_RADIO_RFM69
//#define MY_RS485
// Node id defaults to AUTO (tries to fetch id from controller)
#ifndef MY_NODE_ID
@@ -233,6 +233,18 @@
#define MY_SIGNING_SOFT_HMAC_KEY 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
#endif
/**********************************
* RS485 Driver Defaults
***********************************/
#ifndef MY_RS485_BAUD_RATE
#define MY_RS485_BAUD_RATE 9600
#endif
#ifndef MY_RS485_MAX_MESSAGE_LENGTH
#define MY_RS485_MAX_MESSAGE_LENGTH 40
#endif
/**********************************
* NRF24L01 Driver Defaults
***********************************/