[][src]Function mh_z19::parse_gas_concentration_ppm

pub fn parse_gas_concentration_ppm(packet: &[u8]) -> Result<u32, MHZ19Error>

Get the CO2 gas concentration in ppm from a response packet.

Will return an error if the packet is not a "read gas concentration packet"