Files
trail-mate/modules/core_hostlink
liu weikai f7d6599310 feat(reticulum): complete messaging, calls, and P4 support
Add official Sideband/LXST messaging and telephony flows, realtime resource ownership, call and ping UI, durable unread state, and bounded Nomad/Micron browsing.

Integrate ESP32-P4/C6 gateway transport, TinyUSB CDC, ES8311 audio, shared Codec2 call media, Reticulum defaults, compatibility settings, and conformance coverage.
2026-07-14 22:36:07 +08:00
..
2026-06-11 10:00:29 +08:00
2026-06-11 10:00:29 +08:00
2026-06-11 10:00:29 +08:00

modules/core_hostlink

Home for shared hostlink protocol logic and state handling.

Migrated now

  • hostlink_protocol.md
  • include/hostlink/hostlink_types.h
  • include/hostlink/hostlink_codec.h
  • src/hostlink_codec.cpp
  • include/hostlink/hostlink_config_codec.h
  • src/hostlink_config_codec.cpp
  • include/hostlink/hostlink_service_codec.h
  • src/hostlink_service_codec.cpp
  • include/hostlink/hostlink_session.h
  • src/hostlink_session.cpp
  • include/hostlink/hostlink_frame_router.h
  • src/hostlink_frame_router.cpp
  • include/hostlink/hostlink_app_data_codec.h
  • src/hostlink_app_data_codec.cpp
  • include/hostlink/hostlink_event_codec.h
  • src/hostlink_event_codec.cpp
  • include/hostlink/c6/c6_protocol.h
  • include/hostlink/c6/c6_frame_codec.h
  • include/hostlink/c6/c6_frame_codec_c.h
  • src/c6_frame_codec.cpp
  • src/c6_frame_codec_c.c

These pieces are pure protocol/codec logic and do not depend on Arduino, FreeRTOS, USB, board support, or application composition.

The hostlink/c6/* path is intentionally distinct from the Data Exchange HostLink frame format. C6 HostLink is the P4-to-ESP32-C6 wireless companion protocol defined by the companion architecture; it shares the module because it is portable wire protocol code, not because the two transports are interchangeable.

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