19static constexpr uint8_t MAX_TAG_SIZE = 8;
20static constexpr uint8_t MAX_VAL_SIZE = 8;
21static constexpr uint16_t MAX_BUF_SIZE = 256;
26#ifdef USE_MK2PVROUTER_VALUE_PUBLISHER
46 uint8_t
buf_[MAX_BUF_SIZE];
50 bool check_crc_(
const uint8_t *grp,
const uint8_t *grp_end);
bool check_crc_(const uint8_t *grp, const uint8_t *grp_end)
static constexpr size_t CRC_SUFFIX_LEN
HUB_PUBLISHER(value, const char *, const char *) HUB_PUBLISHER(dump
void process_group_(const uint8_t *grp, const uint8_t *grp_end)
void publish_value_(const char *tag, const char *val)
bool read_chars_until_(bool drop, uint8_t c)
const char *void loop() override
void dump_config() override
uint8_t calculate_crc_(const uint8_t *grp, size_t grp_len)
uint8_t buf_[MAX_BUF_SIZE]