...
This commit is contained in:
parent
309fc7f56c
commit
e6fed727d2
@ -42,8 +42,13 @@ static constexpr size_t FNV1aHash(const std::string_view& r)
|
||||
|
||||
} // namespace details
|
||||
|
||||
// to match 10Micron extended LX200 command format
|
||||
static constexpr char PROTO_COMMAND_START_SEQ[] = ":";
|
||||
static constexpr char PROTO_COMMAND_STOP_SEQ[] = "#";
|
||||
|
||||
static constexpr std::string_view PROTO_COMMAND_STR_ACK = "\x06";
|
||||
|
||||
// to match 10Micron extended LX200 command mnemonic definitions
|
||||
static constexpr std::string_view PROTO_COMMAND_STR_ACK = "\x06"; // special command (without start and stop symbols)
|
||||
static constexpr std::string_view PROTO_COMMAND_STR_TRACK_STOP = "AL";
|
||||
static constexpr std::string_view PROTO_COMMAND_STR_TRACK_START = "AP";
|
||||
static constexpr std::string_view PROTO_COMMAND_STR_TEL_ALT = "GA";
|
||||
@ -738,6 +743,8 @@ static_assert(checkCollision(), "There are collisions in the hash computation of
|
||||
|
||||
} // namespace details
|
||||
|
||||
|
||||
|
||||
class ControlCommandParser
|
||||
{
|
||||
public:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user