feat: add COBS framing module

Imports CobsDecoder and cobs_encode_response from firmware's
src/host/framing.rs, adjusted so the defmt::warn on encode overflow is
gated on the crate's defmt feature rather than an unconditional import.

The route_command helper stays in firmware — it depends on embassy
channels, which have no business in a transport-agnostic crate.
This commit is contained in:
swaits committed 2026-04-13 09:01:11 -06:00
1 parent a9ab81a27f
commit 548cf722c2
2 files changed
+95

No files matched your search

+2
View File
@@ -5,6 +5,8 @@
#![no_std]
pub mod framing;
use heapless::Vec;
/// Maximum LoRa payload size in bytes.