core-legacy/config.cc

21 lines
615 B
C++
Raw Normal View History

2019-07-14 22:39:37 +00:00
#include "config.h"
namespace config
{
int discover_max_client_backlog = 20;
2019-07-20 12:51:45 +00:00
uint16_t discover_port_dev = 4420;
uint16_t discover_port = 4419;
2019-07-19 09:41:39 +00:00
int 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
}