#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_scd4x_measurement_bytes(
co2_ppm: u16,
temperature_raw: u16,
humidity_raw: u16,
out_bytes: *mut u8,
) -> PamojaStatusExpand description
Builds the nine bytes an SCD4x sends for a set of raw words, each CRC included.
§Returns
PamojaStatus::Ok on success, with the nine bytes written to out_bytes,
or PamojaStatus::InvalidArgument if out_bytes is null.
§Safety
out_bytes must point to at least nine writable bytes.