22 lines
523 B
C++
22 lines
523 B
C++
#pragma once
|
|
|
|
#include <vamp_protocol/page_control.hpp>
|
|
#include <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 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;
|
|
|
|
}
|