SBNetwork/src/SBNetwork_config.h

25 lines
539 B
C
Raw Normal View History

#ifndef _SB_NETWORK_CONFIG_
#define _SB_NETWORK_CONFIG_
// Generates details debug messages about sending and receiving data packages
2019-04-17 21:41:37 +02:00
#define _DEBUG
// All slaves will ping the master every xxx milliseconds. if set to 0, they will not ping the master
#define MASTER_CHECK_INTERVAL 0
#define MAX_CLIENTS 10
#define CLIENT_TIMEOUT 60000
2019-04-17 21:41:37 +02:00
#define CONNECT_TIMEOUT 10000
// Milliseconds to wait for fragmented packages
2019-04-17 21:41:37 +02:00
#define FRAGMENT_TIMEOUT 150
// Milliseconds to wait between two fragment sendings
2019-04-17 21:41:37 +02:00
#define FRAGMENT_DELAY 20
#endif