* Add Time field to can_logger.py
* Update can_bit_transition to support can_logger format
* Fix csv opening
Using `rb` to open csv file will throw the exception:
_csv.Error: iterator should return strings,
not bytes (the file should be opened in text mode)
Fix it with `r` and `newline=''`
* first draft
* cleaner and supports scanning all subaddrs for all addrs
* clean up
* full
* rm
* and now print
* revert
* consistency
* add comment
* add subaddr to tqdm description
* without a stupid `a = 1; if a == 1...` check, comment is best workaround
* examples: choose panda for fw query
* add type names
* add types and names to lists
* cleanup
* better output
* exit code
* dict
* delete
* get_type returns a bytearray
* simplify (okay to rely on Panda for this error catching)
* finish up
* not required for our use case
* clean up
* revert
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* cleanup python lib
* remove wifi leftovers from firmware
* few spots in firmware
* forgot
* remove usb to wifi test
* linter
* more cleanup in flasher.h
* more found
* check in tests too
* linter
* python: disable power save by default when setting safety mode
* no need to set power save manually
* Update python/__init__.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Extend ISO-TP subsequent frame timeout, add response pending timeout and extra debug info
* Change response_pending to local variable, move response_pending_timeout to UdsClient, update ISO-TP debug output
* Set UDS request pending timeout to 6 seconds (ISO 14229-2:2013 section 7.2 recommended value + 1 second latency)
* manage response pending in single location
* more generous response pending timeout
* add tx timeout
* fix lint error
* fix rx addr for 29 bit addrs
* fix linting issue
Co-authored-by: Martin Lillepuu <martin@mlp.ee>
* fix W391
* E262
* E703
* W293
* some E
* E231
* some more E
* E225
* more E
* E252
* no tabs
* more tabs
* E701
* uds.py
* almost all of them
* only e265 left
* not sure why this is triggering on commented out code
* ignore esptool
* add support to can_unique.py for Cabana CSV format.
also fix python3 issue where open() was in binary mode, but we want text
mode.
* consolidate duplicated code
* fix typo caught by the linter
* Added pyflakes and Pylint for python
* Actually run linter in CI
* some simple pyflakes changes
* Add flake8 to panda reqs for linter test
* flake8 errors are fixed
* run flake8 in regression tests
* meant to run flake8
* hack to ignore unused import
* bug
* fix bugs in tucan_loopback
* Another fix by using set_safety_mode
* added pylintrc file
* more fixes and enabled pylint as well
* Fix pylint in circleci
* added linter to readme