This commit is contained in:
2025-02-20 12:21:18 +03:00
parent 357a0d7e19
commit 53a16d7571
2 changed files with 120 additions and 5 deletions

View File

@@ -14,6 +14,13 @@ static constexpr std::string_view CONTROL_PROTO_STOP_SEQ = "\n";
static constexpr std::string_view CONTROL_PROTO_COMM_ARG_DELIM_SEQ = "=";
static constexpr std::string_view CONTROL_PROTO_ARG_DELIM_SEQ = ",";
/* CONTROL PROTOCOL SERVER RESPONDS */
static constexpr std::string_view CONTROL_PROTO_STR_RESP_ACK = "ACK";
static constexpr std::string_view CONTROL_PROTO_STR_RESP_INVALID_COMM = "INVDCOMM"; // invalid command
static constexpr std::string_view CONTROL_PROTO_STR_RESP_INVALID_PARS = "INVDPARS"; // invalid command parameters
/* CONTROL PROTOCOL COMMANDS */
// coordinates getter/setter
@@ -26,6 +33,8 @@ static constexpr std::string_view CONTROL_PROTO_STR_TAG_RADEC = "tagRADEC";
static constexpr std::string_view CONTROL_PROTO_STR_TEL_RA = "telRA";
static constexpr std::string_view CONTROL_PROTO_STR_TEL_DEC = "telDEC";
static constexpr std::string_view CONTROL_PROTO_STR_TEL_RADEC = "telRADEC";
static constexpr std::string_view CONTROL_PROTO_STR_TEL_HA = "telHA";
static constexpr std::string_view CONTROL_PROTO_STR_TEL_HADEC = "telHADEC";
// time/date
static constexpr std::string_view CONTROL_PROTO_STR_UTC_DATE = "utcDate";