Shared SP1 wire protocol crate for firmware and desktop.
- Defines SP1 domain types (commands, frames, error codes).
- Encodes and decodes framed binary messages.
- Validates CRC-16 checksums.
- Provides streaming codec behavior used by adapters.
src/: protocol types and codec concerns, split by filesrc/*.rs: command, frame, error, gain, rate, status, and CRC definitionssrc/codec.rs: encoder/decoder implementationtests: integration and property tests
This crate is no_std friendly and intended to be shared across targets.
cargo check
cargo test