2019-07-14 22:39:37 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
namespace config
|
|
|
|
{
|
2019-08-22 19:38:23 +00:00
|
|
|
char version[] = "0.0.1";
|
|
|
|
|
|
|
|
uint16_t discover_max_client_backlog = 20;
|
2020-02-22 01:27:50 +00:00
|
|
|
uint16_t discover_port_dev = 4421;
|
|
|
|
uint16_t discover_port_test = 4420;
|
2019-07-20 12:51:45 +00:00
|
|
|
uint16_t discover_port = 4419;
|
2019-08-22 19:38:23 +00:00
|
|
|
uint16_t discover_timeout_ms = 2000;
|
2019-07-20 12:51:45 +00:00
|
|
|
uint8_t discover_code_accept = 0;
|
2019-07-29 20:02:38 +00:00
|
|
|
uint8_t discover_code_reject = 100;
|
|
|
|
|
|
|
|
uint8_t command_code_get_time = 1;
|
|
|
|
uint8_t command_code_get_id = 2;
|
|
|
|
uint8_t command_code_set_name = 100;
|
|
|
|
uint8_t command_code_get_name = 101;
|
|
|
|
uint8_t command_code_set_schedule = 102;
|
|
|
|
uint8_t command_code_get_schedule = 103;
|
|
|
|
uint8_t command_code_set_relay_name = 104;
|
|
|
|
uint8_t command_code_get_relay_name = 105;
|
2019-07-14 22:39:37 +00:00
|
|
|
}
|