Expand description
Shared building blocks for dive computer protocols.
This crate holds everything that more than one protocol family needs, so that it
exists exactly once: checksums, framing codecs, the error type, the transport traits
protocols are written against, and the dive data model. It is no_std and has no
platform or runtime dependencies, so it runs natively, on embedded targets and in
WebAssembly.
The behaviour implemented here is specified in the Dive Computer Protocols documentation.
Modules§
- checksum
- Checksums and CRCs used by dive computer protocols.
- dive
- The dive data model (spec).
- slip
- SLIP framing (RFC 1055).
- transport
- Transport traits that protocols are written against.
- units
- Units of measurement used by the dive model (spec).
Enums§
- Error
- A failure while talking to a dive computer or decoding what it sent.