Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u16 = 1;
Expand description

Wire-protocol version this API was built against.

Bumped only on incompatible packet-format changes. Packets carrying a different version are still surfaced by crate::DeviceDiscovery (with compatible = false) so the caller can present a helpful “upgrade your firmware / client” entry instead of silently dropping the device.