|
| template<typename T , size_t N> |
| optional< size_t > | find_index (const T(&arr)[N], T value) |
| |
| const char * | format_mac_str (const uint8_t *mac_address, std::span< char, MAC_ADDRESS_PRETTY_BUFFER_SIZE > buffer) |
| |
| bool | store_mac (const uint8_t *reported, uint8_t *mac_address) |
| |
| void | format_version_str (const uint8_t *version, std::span< char, 20 > buffer) |
| |
| bool | validate_header_footer (const uint8_t *header_footer, const uint8_t *buffer) |
| |
| uint32_t | cmd_frame_length (const uint8_t *buffer, uint8_t count) |
| |
| uint8_t | drop_to_next_header (uint8_t *buffer, uint8_t count, uint8_t from, const uint8_t *data_header) |
| |
| template<size_t N, typename LengthFn , typename HandleFn , typename DropFn > |
| void | feed_frame_byte (uint8_t(&buffer)[N], uint8_t &pos, uint8_t byte, const uint8_t *data_header, LengthFn frame_length, HandleFn handle_frame, DropFn on_drop) |
| |