Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: brendan-w/python-OBD
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: FOSSRIT/python-OBD
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 45 files changed
  • 1 contributor

Commits on Jan 13, 2017

  1. Sync fork with base (#2)

    * Handle odd sized returns
    
    I've noticed many invalid returns from can of size 19 when padded with the additional 5 zeros. This crashes the watcher thread. This will handle them as unhexlify dumps
    
    * disallow all odd size frames, added test for this
    
    * added tests for CAN length checking and zero data
    
    * check length on CAN responses
    
    * removed sketchy end-to-end test, using obdsim now
    
    * bumped up the min CAN frame size to allow for 12 bit PCI lengths
    
    * using byte literals for commands
    
    * started implemention auto baud rate
    
    * first test with python native logging tools
    
    * fixed indentation error in new baud rate code
    
    * added new logging to elm327.py
    
    * added logging to remaining files
    
    * added logging to protocol files
    
    * removed old debug system, wrote docs
    
    * fixed logging note on troubleshooting page
    
    * organized command list
    
    * confirmed CAN DTC count byte
    
    * added debug output for the ECU map
    
    * implemented units using pint
    
    * fixed tests for new Pint units
    
    * fixed obdsim test for change to Pint quantities
    
    * added a new unit property for backwards compatibility
    
    * documented pint units
    
    * wrote up the mode 06 table with drop decoder
    
    * use pid decoder for MID getters
    
    * fixed tests for None reserved commands, and mode_int -> mode
    
    * added TID table
    
    * started implementing monitor decoders and UAS system
    
    * started filling in the UAS ID table
    
    * special handling for mode 6 in CAN protocol
    
    * implemented __str__ for monitors
    
    * simplified __str__ code
    
    * moved UnitRegistry to the UAS file
    
    * finished first pass of UAS ID table
    
    * finished remaining conversions
    
    * finished intial implementation of mode 06 decoder, fixed tests
    
    * initial test of monitor decoder
    
    * better implemenation and lookup tools for MonitorTests
    
    * wrote basic tests for monitor decoder
    
    * check that undefined tests are null
    
    * wired up all mode 06 commands to the monitor decoder
    
    * added test for special handling of mode 06 in CAN
    
    * decided the old groups (by PID GET) was better
    
    * use existing DTC decoder to report the freeze DTC
    
    * removed unsupported warning from docs for FREEZE_DTC
    
    * implemented bit-encoded O2 sensor decoders
    
    * updated docs
    
    * implemented aux input status
    
    * updated docs
    
    * removed old bitstring util
    
    * removed old unhex util
    
    * fixed case where all correctly sized messages were running the padding routine
    
    * replaced as many decoders as possible with calls to the UAS table
    
    * removed test for removed decoders
    
    * formatting and comments in decoders
    
    * tweaked logging in elm327
    
    * forgot to bump up the version in __version__
    
    * read data in blocks, not single characters
    
    * decreased wait time in obdsim test
    
    * skip obdsim tests if no port was specified
    
    * removed unused test file
    
    * updated docs on custom obd commands
    
    * condensed custom commands unsupported handling
    
    * simplified debug enable into a oneliner
    
    * tweaked serial code for modern pyserial API
    
    * added debug statements, increased timeout
    
    * don't bother with auto-baud when connecting to a pts
    
    * bump to 0.5.1
    
    * set async to auto-baud by default
    
    * removed commands that were deprecated in v0.5.0
    
    * added command validation function, check for mode 06 over non-CAN
    
    * fixed syntax error retrieving port status
    
    * return empty strings instead of sentences
    
    * renamed OBD.port --> OBD.interface
    
    * added tests for unsigned units
    
    * added tests for signed units
    
    * skip mode 02 PID getters, added MID getters
    
    * simplified PID getter enumeration
    
    * don't bother type checking everything
    
    * corrected name/description for mode 07
    
    * updated command docs
    
    * added response value column to commands docs
    
    * use empty tuple to bank-align O2 sensor presence
    
    * documented O2 sensor presence
    
    * return full DTC tuple in FREEZE_DTC, use "" for unknown DTC, fixed tests
    
    * fixed single_dtc decoder
    
    * adding more links and response value descriptions
    
    * added usage example to O2 sensors present
    
    * added module layout, updated basic usage code
    
    * removed old set_supported() function
    
    * upcase TID names, lookup tests by string name
    
    * doc'd mode 06 responses
    
    * lists are only used on certain DTC commands
    
    * started writing tests for/tweaking status decoder
    
    * wrote quick and dirty bitarray class
    
    * added __str__ for easy debugging
    
    * using bitarray in PID decoder
    
    * simplified status decoder
    
    * reimplemented status, wrote test
    
    * wrote docs for status command
    
    * link from commands table to status response description
    
    * removed old bit utils
    
    * rewrote fuel status, using bitarrays, read second system
    
    * added fuel and air status links
    
    * simplified air status decoder with bitarray
    
    * removed lingering bit-handling functions
    
    * removed old reference to OBDResponse.unit
    
    * responce --> response
    
    * reorganized module layout
    
    * more links and edits
    
    * added example for adding support for OBDCommands
    
    * replaced retry with higher timeout
    
    * altered basic usage, placed red warnings for backwards compat and below 1.0.0
    
    * bytearray now
    
    * deactivated mode 9 commands until they're implemented
    
    * enable STATUS_DRIVE_CYCLE
    
    * enable CONTROL_MODULE_VOLTAGE
    
    * enable COMMANDED_EQUIV_RATIO
    
    * enable ABSOLUTE_LOAD
    
    * fixed copy/paste typo
    
    * added mkdocs patch for RTFD
    
    * return empty list instead of empty string
    
    * port_name now returns empty strings when no connection
    
    * added CAN txid for the transmission
    
    * moved command tables into their own page
    
    * enable ECU tagging for the transmission
    
    * more debug info
    
    * more debug tweaking
    
    * prettier ECU map debug output
    
    * log baud/protocol in the correct places
    
    * return early if set_baudrate fails
    
    * added UAS to the control flow diagram
    
    * added notes on files that aren't in the diagram
    
    * elevated debug level to warning
    
    * silence test_cmd output when scanning PID support
    
    * fixed custom command example code
    
    * fixed comment to reflect new decoder format
    
    * added utf-8 coding marks so I can use unicode in my comments
    
    * fixed link to command tables
    
    * bumped to v0.6.1
    
    * pegged dependency versions
    
    * fixed arg names for fuel_type and obd_compliance, added tests
    
    * OBDCommands use bytestrings now
    
    * check commands for hex content before reporting integer mode/PID
    
    * allow OBDCommands to return mode/PID of None
    
    * added travis
    
    * response limit is frame-based, not ecu-based
    
    * clarity in order
    
    * CAN protocol no longer removes mode/PID bytes
    
    * tweaked legacy protocol to mimic CAN responses
    
    * retain the processing of CAN's DTC_Count handling
    
    * fixed protocol tests for CAN
    
    * fixed protocol tests for legacy
    
    * added mode/PID bytes in decoder tests
    
    * fixed OBDCommand tests for byte trimming
    
    * updated protocol readme with expanded data field
    
    * Message.data, not Frame.data
    
    * dropping support for python 3.2
    
    python 3.2 has an ugly problem where Unicode strings (the default in python 3) couldn't be used in binascii functions. This broke a lot of calls to unhexlify.
    Aidan Kahrs Justin W. Flory
    Aidan Kahrs authored and Justin W. Flory committed Jan 13, 2017
    Configuration menu
    Copy the full SHA
    af1b270 View commit details
    Browse the repository at this point in the history
Loading