...
This commit is contained in:
@@ -91,13 +91,19 @@ static constexpr auto merge_arrays(const std::array<VT, N1>& arr1, const std::ar
|
||||
|
||||
// meteo parameters (ambient air temperature, humidity and atmosperic pressure)
|
||||
constexpr static std::string_view ASIBFM700_COMMPROTO_KEYWORD_METEO_STR{"METEO"};
|
||||
|
||||
// current site geodetic longtude and latitude
|
||||
constexpr static std::string_view ASIBFM700_COMMPROTO_KEYWORD_SITEGEO_STR{"SITEGEO"};
|
||||
|
||||
// reload mount configuration file
|
||||
constexpr static std::string_view ASIBFM700_COMMPROTO_KEYWORD_RELOADCFG_STR{"RELOADCFG"};
|
||||
|
||||
|
||||
struct Asibfm700NetMessageValidKeywords {
|
||||
static constexpr std::array NETMSG_VALID_KEYWORDS = details::merge_arrays(
|
||||
mcc::network::MccNetMessageValidKeywords::NETMSG_VALID_KEYWORDS,
|
||||
std::array{ASIBFM700_COMMPROTO_KEYWORD_METEO_STR, ASIBFM700_COMMPROTO_KEYWORD_SITEGEO_STR});
|
||||
static constexpr std::array NETMSG_VALID_KEYWORDS =
|
||||
details::merge_arrays(mcc::network::MccNetMessageValidKeywords::NETMSG_VALID_KEYWORDS,
|
||||
std::array{ASIBFM700_COMMPROTO_KEYWORD_METEO_STR, ASIBFM700_COMMPROTO_KEYWORD_SITEGEO_STR,
|
||||
ASIBFM700_COMMPROTO_KEYWORD_RELOADCFG_STR});
|
||||
|
||||
// hashes of valid keywords
|
||||
static constexpr std::array NETMSG_VALID_KEYWORD_HASHES = []<size_t... Is>(std::index_sequence<Is...>) {
|
||||
|
||||
Reference in New Issue
Block a user