|
@ -16,6 +16,8 @@ namespace transmit_disfection_protocol { |
|
|
* |
|
|
* |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#define MAX_PACKET_LEN 120
|
|
|
|
|
|
|
|
|
#define PROTOCOL_VERSION 7
|
|
|
#define PROTOCOL_VERSION 7
|
|
|
#define HEART_OVERTIME (30 * 1000)
|
|
|
#define HEART_OVERTIME (30 * 1000)
|
|
|
#define SWITCH_CASE_STR(key) \
|
|
|
#define SWITCH_CASE_STR(key) \
|
|
|