Releases: orgua/OneWireHub
Releases · orgua/OneWireHub
increase compatibility to onewire
Changes:
- allow to disable multidrop (thanks to @hrushka) needed for ds2434
- update 701c battery example with working memory-dump (also thanks to @hrushka)
- use github actions to test-compile
- all examples
- several Microcontrollers
- 52 Tests in total to check regressions for pull requests
- allow to skip reboot after search-rom and read-rom -> default OW-feature that was not implemented before
- fast search rom not supported by: ds2401, ds18b20
- fast read rom not supported by: ds2401
long overdue maintenance
contributions:
- improve general onewire-behavior and also ds2438 (#97, thanks to @raintonr)
- improve DELL-Charging-Example of ds2502 (#105, thanks to @rikka0w0)
- add ds2430 (#55, thanks to @Siarhei-Hanchuk)
- uncover onewire-flaw in search-rom (thanks to @Siarhei-Hanchuk)
- improve compatibility with SAMD21 (thanks to @sabas1080)
other changes:
- add ds2434 and probably 90% of ds2436
- remove datasheets (now in datasheet-branch) for quicker lib-updates
- add clang-format file
- spell-checking and file-formatting automated with pre-commit
- small bug-fix in ds2408
- fully implement DS2430
v2.2.1
v2.1.2
this is mostly bugfix-release with the following changes:
- more explicit coding
- a lot less compiler warnings on PC, esp, atiny and teensy
- code compiles on PC and should be easily ported to raspberry or other linux-boards
- unittests on PC!
- therefore a lot of bugfixes -> hub.attach, esp8266, bea910, ds18b20
- even more bugfixes for ds18b20-family (degC<=0)
- a little bit simplified interrupt-handling
version 2.0.0
big pile of changes:
- overdrive for onewire, even for atmega328 @ 16 Mhz (arduino uno)
- rework / clean handling of timing-constants with user defined literals.
- extend const-correctness to all onewire-slaves and unify naming of functions across similar devices
- include tests into each device-example and add a lot of get()/set() for internal device-states
- full support for ds2423, ds2450 and ds2503/5/6
- fix and enhance ds2431, ds2433, ds2502, ds2890, probably every slave got a rework
- new timing-method with nanosecond-resolution and without guessing, micros(), delay() or similar arduino-fn
- rework send() and recv(), much more efficient -> less time without interrupts (no missing time with millis())! AND code is more compact (ds2433.cpp shrinks from 176 to 90 LOC)
- offline calibration by watching the bus (examples/debug/calibrate_by_bus_timing)
- you need to calibrate your architecture if not already done
- it helps if you have a logic analyzer
- branch for online calibration was abandoned because it took to much resources (DS18B20-Sketch compiled to 8434 & 482 bytes instead of 7026 & 426 bytes now)
- debug-pin shows state by issuing high-states - see explanation in "features"
- teensy3.2 tested: cleaned warnings, fixed port access, cleaned examples
- sensors with emulated memory use memset and static_asserts to secure implementation
- a lot of cleanup
- no return value for hub.search() or item.duty() needed anymore
- returns 1 if error occured in the following functions: recv(buf[]), send(), awaitTimeslot(), sendBit(), checkReset(), showPrescence(), recvAndProzessCmd()
V1.2.0
- optimize OW-Timing
- add and extend ds2408 (thanks to @vytautassurvila), tested with 3 masters
- add resume_cmd 0xA5
- fix/update printError()
bug fix release
- teensy3.2 tested
- cleaned warnings
- fixed port access
- cleaned examples
- sensors with emulated memory use memset and static_asserts to secure implementation
version 1.0.0
first stable release. look at readme.md for documentation