e2e-protection
End-to-End protection library focused on E2E usage (not a CRC toolkit).
- Profiles:
- P11 (CAN):
payload | data_id(2) | counter(1) | crc8(1)– 8-byte frames - P22 (CAN FD):
payload | length(2) | data_id(2) | counter(1) | crc(N)– up to 64B
- P11 (CAN):
- Session API: enforces counter policy (monotonic + rollover).
Quick start
use ;
use Profile11;
let mut tx = new;
let frame = tx.wrap?;
let mut rx = new;
let payload = rx.unwrap?;
assert_eq!;