#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_bme280_sim_calibration(
out_temp_press: *mut u8,
out_humidity: *mut u8,
) -> PamojaStatusExpand description
Copies the calibration a simulated BME280 holds: the two blocks a driver reads at start-up.
§Arguments
out_temp_press- receives the 26-byte temperature and pressure block.out_humidity- receives the 7-byte humidity block.
§Returns
PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null pointer.
§Safety
out_temp_press must point to 26 writable bytes and out_humidity to 7.