Skip to content
Commit b5d3dea8 authored by Thomas Stranger's avatar Thomas Stranger Committed by Anas Nashif
Browse files

drivers: sensor: ds18b20: indicate error for missing response



When multiple devices are on the bus, and no slave matches
the sent rom, the master receives only ones.
This should be handled explicitly and the error reporting
should not rely on the crc mismatch of the scratchpad.

Note: Make sure that the sensor configuration is loaded to the
eeprom (copy scratchpad), otherwise the resolution will not match
the expectations in case a node looses power and recovers.
As in that case the configuration will not be applied again.
Also the sensor may still report the power on reset value
of +85°C just after the sensor powered up.

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent 6fd767d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment