Skip to content

v0.6.0

Compare
Choose a tag to compare
@brendan-w brendan-w released this 27 Jul 22:10
· 109 commits to master since this release

New Features

  • added auto baud-rate detection system
  • implemented mode 06 commands for CAN
  • implemented more mode 01 commands that were listed as unsupported

New/Breaking Changes

  • using Pint for values and units. OBDResponse.value now holds Pint Quantities
    • for backwards compatibility, use response.value.magnitude
  • new decoder format, thanks to Pint quantities
  • obd.Unit is now a Pint unit registry. All unit names have changed
  • using pyserial 3.0 API
  • using python logging module, disposed with debug system
  • using bytestrings for commands
  • FUEL_STATUS now returns a tuple for denoting first and second fuel systems
  • descriptions for unknown DTCs are now empty strings
  • changed name and description of lone Mode 07 command
  • removed deprecated commands
    • OBD.get_port_name() --> OBD.port_name()
    • OBDCommand.supported --> OBD.supports()
    • obd.scanSerial() --> obd.scan_serial()

Internal Changes

  • retrieving serial data in blocks, rather than single characters (serial reading is faster)
  • renamed OBD.port --> OBD.interface
  • using new "Units And Scaling" entries (built for Mode 06) for a few of the standard decoders as well