Expand description
Read live measurements from Fluke Connect Bluetooth Low Energy devices.
Fluke Connect meters and adapters (the ir3000 FC infrared adapter, the
3000 FC multimeter, the 376 FC and 902 FC clamps, and the t3000 / v3000 /
a3000 FC modules) share one vendor GATT profile. This crate decodes that
profile and, with the default ble feature, connects to devices and
streams their readings.
§Layers
protocol: pure, I/O-free parsing of the binary reading record and the ASCII display string, the source-agnosticMeasurementview over both, and the UUID table. Usable withdefault-features = false.transport(featurestd): a small async trait over a connected GATT peripheral so the client can be driven by any Bluetooth stack or by a test double.client(featurestd): theFlukeDevicetype that subscribes to readings and exposes the housekeeping characteristics.backend(featureble): the built-in btleplug transport.reconnect(featureble): a supervised stream over any device subscription (measurements, readings, battery) that re-scans and reconnects with backoff when the connection drops.
§Hardware note
The protocol was verified against an ir3000 FC attached to a Fluke 289. Other family members are expected to work but have not been tested by the authors.
Re-exports§
pub use client::DeviceInfo;stdpub use client::FlukeDevice;stdpub use error::Error;stdpub use error::Result;stdpub use protocol::AsciiReading;pub use protocol::AsciiState;pub use protocol::Attribute;pub use protocol::Decade;pub use protocol::Function;pub use protocol::Magnitude;pub use protocol::Measurement;pub use protocol::MeasurementNotification;pub use protocol::ProtocolError;pub use protocol::Reading;pub use protocol::ReadingNotification;pub use protocol::ReadingState;pub use protocol::Unit;pub use btleplug;ble
Modules§
- backend
ble - Built-in Bluetooth transport backed by btleplug.
- client
std - High-level client for a connected Fluke Connect device.
- error
std - The crate-wide error type.
- protocol
- Wire-format parsing for the Fluke Connect Bluetooth Low Energy protocol:
the binary reading record, the ASCII display string, the source-agnostic
Measurementview over both, and the UUID table. - reconnect
ble - A device stream that survives disconnects.
- transport
std - Abstraction over a connected GATT peripheral.