Files
product-vamp/include/vamp_pico/http_client.hpp
T
khodowany d7919f148d
ci / checks (push) Successful in 38m56s
Cleanup
2026-09-08 08:53:41 -05:00

26 lines
684 B
C++

#pragma once
#include <cstdint>
#include <string_view>
#include <vamp_protocol/page_control.hpp>
#include <modulus/types.hpp>
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;
}