2017-11-20 16:54:06 +01:00
|
|
|
|
|
|
|
#ifndef _SB_NETWORK_CONFIG_
|
|
|
|
#define _SB_NETWORK_CONFIG_
|
|
|
|
|
|
|
|
// Uncomment the following line, to compile the library for a master device.
|
2017-11-21 23:50:29 +01:00
|
|
|
//#define RUN_AS_MASTER
|
2017-11-20 16:54:06 +01:00
|
|
|
|
2017-12-11 01:02:26 +01:00
|
|
|
//#define _DEBUG
|
2017-11-20 16:54:06 +01:00
|
|
|
|
|
|
|
#define MASTER_CHECK_INTERVAL 0 // All sensors will ping the master every xxx milliseconds. if set to 0, they will not ping the master
|
|
|
|
|
|
|
|
#define MAX_CLIENTS 10
|
|
|
|
|
|
|
|
#define CLIENT_TIMEOUT 20000
|
|
|
|
|
|
|
|
#define FLASH_SIZE 512
|
|
|
|
|
2017-12-14 23:38:46 +01:00
|
|
|
#define ACK_WAIT 100
|
|
|
|
|
2017-11-20 16:54:06 +01:00
|
|
|
#endif
|