How aackk/uartbinlib works
uartbinlib is a platform-independent C library for framed binary messages over byte streams such as UART. An application selects either the core API or the confirmed-message API, supplies transport hooks and buffers, feeds received bytes, and polls when timeout/retry handling is enabled. The confirmed layer wraps the core parser and sender to automate ACKs, sequence matching, retries, and duplicate filtering. Source excerpts show these runtime relationships; transport wiring and broader core behavior are also documented in the README.
Main entry points: uartbin.c Core API · uartbin_app.c Confirmed API
Components 4
Core framing
- Core API
src/uartbin.c
Confirmed messaging
- Confirmed API
src/uartbin_app.c
Other components
- Host application
- UART byte stream
Connections 7
- Host application → Core API: calls core API
README.md - Host application → Confirmed API: calls app API
README.md - Confirmed API → Core API: wraps core
src/uartbin_app.c - Core API → Confirmed API: dispatches packets
src/uartbin_app.c - Core API → UART byte stream: writes frames
README.md - UART byte stream → Core API: provides bytes
README.md - Confirmed API → Host application: delivers messages
src/uartbin_app.c