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 20:22:40 +09:00
|
|
|
#include <vector>
|
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-07 06:58:39 +09:00
|
|
|
std::vector<std::vector<uint8_t>> handle_picoboot(uint32_t message_id, std::span<const uint8_t> payload);
|
|
|
|
|
std::vector<std::vector<uint8_t>> handle_info(uint32_t message_id, std::span<const uint8_t> payload);
|
2026-04-07 09:18:43 +09:00
|
|
|
std::vector<std::vector<uint8_t>> handle_log(uint32_t message_id, std::span<const uint8_t> payload);
|