ex_co2_mini v0.1.2 ExCO2Mini.Decoder

Decodes packets from the CO₂Mini device.

Link to this section Summary

Functions

Decodes (and checksums) an eight-byte data packet received from the device

Returns a list of eight integers, representing the eight-byte key used to communicate with the device

Link to this section Functions

Decodes (and checksums) an eight-byte data packet received from the device.

Returns {key, value}, where key is an 8-bit integer and value is a 16-bit integer.

Raises an error if the data packet does not pass the checksum routine.

Returns a list of eight integers, representing the eight-byte key used to communicate with the device.