orgua / OneWireHub

OneWire slave device emulator
GNU General Public License v3.0
343 stars 86 forks source link

Added non-multidrop support for slaves. #113

Closed hrushka closed 1 year ago

hrushka commented 1 year ago

Some slaves are required to be the only ones on the bus, such as the DS2434. This change allows a device to specify if it is multidrop compatible. If it is not, all commands are forwarded to the salve as the master will not perform any search or selection functions.

I added a property in the OneWireItem header with a default value, so there shouldn't be any code changes needed for the devices already implemented.

orgua commented 1 year ago

nice work! Dallas / Maxim must be proud to create a standard and then perforate it with a ton of loopholes :)