Files
picomap/firmware/include/handlers.h

12 lines
398 B
C++

#pragma once
#include <optional>
#include <string_view>
#include "dispatch.h"
#include "wire.h"
extern std::string_view firmware_name;
std::optional<ResponsePICOBOOT> handle_picoboot(const responder& resp, const RequestPICOBOOT&);
std::optional<ResponseInfo> handle_info(const responder& resp, const RequestInfo&);
std::optional<ResponseLog> handle_log(const responder& resp, const RequestLog&);