Skip to content

Releases: muki01/OBD2_KLine_Library

v1.1.0

Choose a tag to compare

@muki01 muki01 released this 28 Jan 02:25
88e6967

🚀 Key Improvements

  • writeData Overhaul: The writeData function has been fully refactored. It now accepts a dataBytes array and automatically handles header generation and checksum calculation.
  • Simplified Arguments: Both writeData and writeRawData no longer require the array length as a parameter; the library now handles this internally.
  • clearEcho Reliability: 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 checksumType parameter to writeRawData selection.
  • 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 setISO14230Header and setISO9141Header.
  • Init Address: Added setInitAddress.
  • Connection Status: Added setConnectionStatus.
  • Data Length Formatting: Added setLengthMode to 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

Choose a tag to compare

@muki01 muki01 released this 16 Sep 11:40
95e8d27

🚀 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 printHex have been fixed.

Full Changelog: v1.0.4...v1.0.5

v1.0.4

Choose a tag to compare

@muki01 muki01 released this 07 Sep 20:09
32b5660

🚀 Release Notes

✨Changes

  • More PIDs added to getPID.
  • New function to change _readTimeout.
  • Improved logic in readSupportedData reading function.
  • Extended readSupportedData to handle more modes.
  • Increased readSupportedData reading range.
  • writeData made more reliable.
  • Functions reorganized for better readability.
  • Additional debug commands.

🐛 Fixed

  • getPID now 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

Choose a tag to compare

@muki01 muki01 released this 18 Aug 13:46
38c6849

🚀 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

Choose a tag to compare

@muki01 muki01 released this 31 Jul 21:13

📦 Release Notes

✨ Changes

  • Replaced byte and int types with uint*_t for 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

v1.0.1

Choose a tag to compare

@muki01 muki01 released this 21 Jul 19:09
54b8d66

Update library.properties file

v1.0.0

Choose a tag to compare

@muki01 muki01 released this 19 Jul 13:31
87b2a16

This is the first stable release of the library for OBD2 K-Line communication.
It includes basic functionality for initial usage.

📄Please refer to the README for installation instructions and usage examples.