#pragma once #include #include #include #include namespace vamp_pico { struct remote_display_state { std::bool_t active{}; std::char_t title[96]{}; std::char_t part[48]{}; std::char_t mode[24]{}; std::uint32_t page{}; std::uint32_t pages{}; }; auto parse_remote_display_body(std::string_view body, vamp_pico::remote_display_state &state) -> std::bool_t; auto post_remote_command(vamp_protocol::page_command command, vamp_pico::remote_display_state &state) -> std::bool_t; auto heartbeat() -> std::bool_t; auto fetch_remote_display(vamp_pico::remote_display_state &state) -> std::bool_t; }