mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-02 01:51:42 +00:00
11477efe02
- add shared LXMF wire codecs for app-data payloads, link requests/responses, resource advertisements, and propagation batches - implement ESP LXMF app-data send/receive, active link sessions, resource chunking, propagation announces, and verified envelope delivery - propagate want_response through team and hostlink flows, track team members for unicast fan-out when broadcast app-data is unavailable, and publish node position updates from team position events - advertise broadcast app-data support on MeshCore/Meshtastic adapters and replace fixed-size Reticulum token buffers with dynamic storage
modules/core_hostlink
Home for shared hostlink protocol logic and state handling.
Migrated now
hostlink_protocol.mdinclude/hostlink/hostlink_types.hinclude/hostlink/hostlink_codec.hsrc/hostlink_codec.cppinclude/hostlink/hostlink_config_codec.hsrc/hostlink_config_codec.cppinclude/hostlink/hostlink_service_codec.hsrc/hostlink_service_codec.cppinclude/hostlink/hostlink_session.hsrc/hostlink_session.cppinclude/hostlink/hostlink_frame_router.hsrc/hostlink_frame_router.cppinclude/hostlink/hostlink_app_data_codec.hsrc/hostlink_app_data_codec.cppinclude/hostlink/hostlink_event_codec.hsrc/hostlink_event_codec.cpp
These pieces are pure protocol/codec logic and do not depend on Arduino, FreeRTOS, USB, board support, or application composition.
Deferred for later
- hostlink runtime ownership has moved out of
src/hostlink, but it still remains in the ESP/Arduino platform layer because it owns USB transport, FreeRTOS tasks/queues, and current runtime scheduling policy