23 lines
509 B
C
23 lines
509 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
|
|
|
|
// Milliseconds to wait for fragmented packages
|
|
#define FRAGMENT_TIMEOUT 80
|
|
|
|
// Milliseconds to wait between two fragment sendings
|
|
#define FRAGMENT_DELAY 10
|
|
|
|
#endif
|