Crate minidsp_protocol

Source
Expand description

Main protocol implementation.

This crate provides the basic components in order to be able to send and receive commands and events from a device.

It is meant to be as lean as possible in order to run in restricted environments. For this reason, it doesn’t include any transport implementations.

Re-exports§

pub use commands::Commands;
pub use commands::FromMemory;
pub use packet::ParseError;
pub use source::Source;
pub use fixed_point::FixedPoint;
pub use dialect::AddrEncoding;
pub use dialect::Dialect;
pub use dialect::FloatEncoding;

Modules§

commands
Commands sent to the device and their responses
device
Static device definitions
dialect
eeprom
EEPROM Addresses
fixed_point
packet
Functions for framing and unframing packets, and computing their checksums
source
Utilities to get a mapping from the source name to the source id Most of this logic was translated from the cordova app

Structs§

DeviceInfo
Hardware id and dsp version
MasterStatus
Settings applying to all outputs