2019-07-14 22:39:37 +00:00
|
|
|
#ifndef EMGAUWA_CORE_CONFIG_H
|
|
|
|
#define EMGAUWA_CORE_CONFIG_H
|
|
|
|
|
2019-07-20 12:51:45 +00:00
|
|
|
#include <stdint-gcc.h>
|
|
|
|
|
2019-07-14 22:39:37 +00:00
|
|
|
namespace config
|
|
|
|
{
|
2019-08-22 19:38:23 +00:00
|
|
|
extern char version[];
|
|
|
|
|
|
|
|
extern uint16_t discover_max_client_backlog;
|
2019-07-20 12:51:45 +00:00
|
|
|
extern uint16_t discover_port_dev;
|
|
|
|
extern uint16_t discover_port;
|
2019-08-22 19:38:23 +00:00
|
|
|
extern uint16_t discover_timeout_ms;
|
2019-07-20 12:51:45 +00:00
|
|
|
extern uint8_t discover_code_accept;
|
2019-07-29 20:02:38 +00:00
|
|
|
extern uint8_t discover_code_reject;
|
|
|
|
|
|
|
|
extern uint8_t command_code_get_time;
|
|
|
|
extern uint8_t command_code_get_id;
|
|
|
|
extern uint8_t command_code_set_name;
|
|
|
|
extern uint8_t command_code_get_name;
|
|
|
|
extern uint8_t command_code_set_schedule;
|
|
|
|
extern uint8_t command_code_get_schedule;
|
|
|
|
extern uint8_t command_code_set_relay_name;
|
|
|
|
extern uint8_t command_code_get_relay_name;
|
2019-07-14 22:39:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif //EMGAUWA_CORE_CONFIG_H
|