MACRAW IP stack with ARP/ICMP, stable device ordering, LED blink on test
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <span>
|
||||
#include <vector>
|
||||
#include "wire.h"
|
||||
#include "w6300.h"
|
||||
|
||||
using handler_fn = std::vector<std::vector<uint8_t>> (*)(uint32_t message_id, std::span<const uint8_t> payload);
|
||||
|
||||
@@ -26,5 +26,5 @@ std::vector<std::vector<uint8_t>> typed_handler(uint32_t message_id, std::span<c
|
||||
}
|
||||
|
||||
void dispatch_init();
|
||||
[[noreturn]] void dispatch_run(std::span<const handler_entry> handlers,
|
||||
std::span<const w6300::socket_id> sockets = {});
|
||||
void dispatch_schedule_ms(uint32_t ms, std::function<void()> fn);
|
||||
[[noreturn]] void dispatch_run(std::span<const handler_entry> handlers);
|
||||
|
||||
Reference in New Issue
Block a user