[][src]Crate zg_co2

A no_std crate implementing the ZyAura ZG CO₂ sensor protocol.

The implementation was tested using a TFA-Dostmann AIRCO2TROL MINI sensor.

To read data from one of the compatible commercially-available USB sensors, use the co2mon crate.

References

See this link for more information about the protocol.

Enums

Error

An error that occurred during decoding the message.

Measurement

A sensor measurement.

Functions

decode

Decodes a message from the sensor.

Type Definitions

Result

Result type for the decode function.