core-legacy/config.cc
2019-07-29 22:02:38 +02:00

20 lines
615 B
C++

#include "config.h"
namespace config
{
int discover_max_client_backlog = 20;
uint16_t discover_port_dev = 4420;
uint16_t discover_port = 4419;
int discover_timeout_ms = 2000;
uint8_t discover_code_accept = 0;
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;
}