#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_ds18b20_thermometer_serial(
thermometer: *const PamojaDs18b20Thermometer,
) -> *mut PamojaStringExpand description
Returns the serial the kernel named a thermometer’s directory after.
§Arguments
thermometer- the thermometer.
§Returns
The twelve hex digits after 28-, which the caller releases with
crate::pamoja_string_free, or null when the file does not sit in a DS18B20’s
directory or the thermometer is null.
§Safety
thermometer must be a live handle or null.