SBNetwork/src/SBNetwork_config.h

25 lines
539 B
C

#ifndef _SB_NETWORK_CONFIG_
#define _SB_NETWORK_CONFIG_
// Generates details debug messages about sending and receiving data packages
#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
#define CONNECT_TIMEOUT 10000
// Milliseconds to wait for fragmented packages
#define FRAGMENT_TIMEOUT 150
// Milliseconds to wait between two fragment sendings
#define FRAGMENT_DELAY 20
#endif