Advanced Search
Search Results
188 total results found
css/ — Style
proto/ — Protobufers Interface
map.svelte + navigation_plan.svelte + interest_locations.svelte — Map & Navigation Components
map.svelte The core map display component. Loads a map file from <appDataDir>/maps/, renders it in a letterboxed <img> element, and overlays interactive pins on top. Accepts a mode prop that controls what happens when the operator clicks the map. ModeClick beh...
Packet Dispatcher
High Level Overview
This Page PurposeHigh-level designExternal dependencies Purpose The packet dispatcher is used to decode protobuf frames. Application code usually wants: strongly typed decoded payloadsone handler per packet typedecoupling between input reception and packet ...
Functions of the Packet Dispatcher
Public API The following functions are available for the boards to use outside of the library. The public API consists of: packet_handler_t, packet_handler_config_t, PacketDispatcherInit(...), DispatchPacket()There are also stack depth macros: PACKET_HANDLE...
Helper Macros for Handler Config
Purpose To reduce repetitive boilerplate when defining packet handlers, the module also provides a set of helper macros in packet_dispatcher_macros.h. These macros generate: a statically allocated queue buffera fully initialized packet_handler_config_t They ar...
Recommended Usage Pattern
More information on the mentioned steps can be found in Functions of the Packet Dispatcher Typical Usage Model Intended setup Define one handler function per packet typedefine one packet_handler_config_t entry per packet type (using the macros)provide queue ...