2026-04-06 17:24:34 +09:00
|
|
|
#pragma once
|
2026-04-06 20:22:40 +09:00
|
|
|
#include <cstdint>
|
2026-04-07 06:58:39 +09:00
|
|
|
#include <span>
|
2026-04-06 20:09:30 +09:00
|
|
|
#include <string_view>
|
2026-04-06 17:24:34 +09:00
|
|
|
#include "wire.h"
|
|
|
|
|
|
2026-04-06 20:09:30 +09:00
|
|
|
extern std::string_view firmware_name;
|
|
|
|
|
|
2026-04-10 22:18:44 +09:00
|
|
|
size_t handle_picoboot(uint32_t message_id, std::span<const uint8_t> payload, span_writer &out);
|
|
|
|
|
size_t handle_info(uint32_t message_id, std::span<const uint8_t> payload, span_writer &out);
|
|
|
|
|
size_t handle_log(uint32_t message_id, std::span<const uint8_t> payload, span_writer &out);
|