Releases: muki01/OBD2_KLine_Library
Releases · muki01/OBD2_KLine_Library
Release list
v1.1.0
🚀 Key Improvements
writeDataOverhaul: ThewriteDatafunction has been fully refactored. It now accepts adataBytesarray and automatically handles header generation and checksum calculation.- Simplified Arguments: Both
writeDataandwriteRawDatano longer require the array length as a parameter; the library now handles this internally. clearEchoReliability: Completely refactored to use timing-based waiting. It now accept a length parameter and clears a specific data length, significantly increasing communication reliability.
✨ New Features
Protocol & Communication
- 5 Baud Read: Added support for the 5 Baud 7O1 Read function .
- Checksum Flexibility:
- Added 2 new checksum calculation methods.
- Added a
checksumTypeparameter towriteRawDataselection.
- Data Verification: Added a new method to compare received data against expected values.
Configuration Setters
New setter functions allow for more granular control over the protocol parameters:
- Checksum: Added
setChecksumType. - Custom Header: Added
setISO14230HeaderandsetISO9141Header. - Init Address: Added
setInitAddress. - Connection Status: Added
setConnectionStatus. - Data Length Formatting: Added
setLengthModeto configure whether the data length is included in the header or sent as an extra byte following the header.
📚 Documentation & Examples
- Schematics: Added more schematic diagrams for K-Line circuits.
- New Examples:
- Sniffer: Added a K-Line sniffer code example for traffic analysis.
- Car Specific: Added example codes containing specific manufacturer commands.
- Board Checks: Added compatibility checks for different board architectures in examples.
🛠 Internal Improvements & CI
- Debug Messages: Refined and cleaned up debug outputs for better clarity.
- CI/CD: Added a GitHub Actions workflow (
.yml) to automate compilation checks and ensure build stability.
Full Changelog: v1.0.5...v1.1.0
v1.0.5
🚀 Release Notes
✨Changes
- Some function names have been updated.
🐛 Fixed
- Connection issues with ISO9141 protocol on certain vehicles have been resolved.
- Compilation errors on Arduino caused by
printHexhave been fixed.
Full Changelog: v1.0.4...v1.0.5
v1.0.4
🚀 Release Notes
✨Changes
- More PIDs added to
getPID. - New function to change
_readTimeout. - Improved logic in
readSupportedDatareading function. - Extended
readSupportedDatato handle more modes. - Increased
readSupportedDatareading range. writeDatamade more reliable.- Functions reorganized for better readability.
- Additional debug commands.
🐛 Fixed
getPIDnow returns correct float values.- Debug output formatting in HEX.
- Errors in example code.
- Bug in Automatic protocol detection and connection.
Full Changelog: v1.0.3...v1.0.4
v1.0.3
🚀 Release Notes
✨Changes
- Protocol switching: Fixed the issue occurring during protocol changes.
Now, when the protocol is switched, the connection is closed and reconnected using the newly selected protocol. - Fixed an issue where cleared errors remained in the buffer → now, when an error is cleared, the buffers are also reset.
- Added FreezeFrame example code.
- Improved and corrected some comments.
Full Changelog: v1.0.2...v1.0.3
v1.0.2
📦 Release Notes
✨ Changes
- Replaced
byteandinttypes withuint*_tfor improved type safety and portability. - ✅ Fixed a protocol-related issue that was preventing the code from compiling.
- 🔄 Refactored connection status handling for better readability and maintainability.
- 🛠️ Improved debug output messages for clearer diagnostics and easier troubleshooting.
Full Changelog: v1.0.1...v1.0.2