rbiasini
597436d32a
NOOUTPUT safety mode is now SILENT. NOOUTPUT still exists but keeps C… ( #388 )
...
* NOOUTPUT safety mode is now SILENT. NOOUTPUT still exists but keeps CAN live
* README mention of 'no output'
* mispelled
2019-11-20 11:56:26 -08:00
Greg Hogan
02d579a537
functional addr handling
2019-11-17 09:30:06 -08:00
Greg Hogan
8138fc14c8
uds: handle function addrs and fw version query example
2019-11-16 18:54:28 -08:00
Robbe
6626a54241
Fixed python health api
2019-11-15 21:01:46 -08:00
Greg Hogan
b9b79e8b77
uds zero second timeout
2019-11-15 13:52:25 -08:00
Greg Hogan
f239b996db
single addr was better
2019-11-14 13:34:25 -08:00
Greg Hogan
b3e1a133ae
uds: better debug prints
2019-11-12 22:22:49 -08:00
Greg Hogan
68c39fb3e2
uds: no need for threads if you always drain rx
2019-11-12 18:52:41 -08:00
Greg Hogan
ff86db6553
improve uds message processing
2019-11-06 13:50:32 -08:00
Greg Hogan
501db8d199
uds drain before send and use has_obd()
2019-11-05 18:40:21 -08:00
Robbe
f2cbec161e
Added has_obd() to python library
2019-11-05 18:25:42 -08:00
robbederks
e0762c2e77
Add Python & USB API for controlling phone power ( #313 )
...
* Added interface for phone power
* Add power function in python
* Fixed struct
2019-11-04 17:26:37 -08:00
Robbe
ba9fb69f65
New health packet struct also in the python libs
2019-10-31 17:08:02 -07:00
rbiasini
a12a148d5f
Uno ( #274 )
...
* Added uno
* Added usb switch support
* Added PWM and IR power functions
* Implemented bootkick
* Added uno as a new hw type
* Bumped version
* Added fan control and tach readout
* WIP: RTC support
* Working RTC
* Fixed python
* Misra compliance
* Added USB control messages for fan/IR power
* Added USB commands + tests for fan & IR control. Fixed bootstub and pedal compilation
* Added IR and fan to power saving mode
* Changed defaults
* Fix safety considering uno
* passing safety now
* Minor UNO tweaks
* Fixed version
* More minor temporary tweaks
* Removed usb load switch from uno
* Added power control for shutting down the fan completely
* Disable IR LEDs by default
* Fixed linter issue
* Linter fix #2
2019-10-25 16:22:42 -07:00
rbiasini
1102e69652
make ignition logic common for all cars ( #303 )
...
* make ignition logic common for all cars
* ignition_can is not a safety thing. move it to can drivers
* bump version
* gm safety passive is deprecated
* move tx 1 on logic into board specific headers.
2019-10-22 15:10:43 -07:00
Greg Hogan
55957d6e4e
proper python3 exception inheritance
2019-10-16 00:15:16 -07:00
Greg Hogan
6ba0f47b56
fix linter errors
2019-10-15 23:52:52 -07:00
Greg Hogan
5c49fe050e
Merge pull request #145 from gregjhogan/uds
...
Unified Diagnostic Services (UDS) panda library (ISO 14229)
2019-10-15 23:42:22 -07:00
Greg Hogan
0f361999bd
timeout is float
2019-10-15 23:38:24 -07:00
rbiasini
fce38a91d7
Linter python ( #299 )
...
* 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
2019-10-15 14:03:31 -07:00
Greg Hogan
711810d2f0
more uds debug
2019-10-15 12:14:09 -07:00
Greg Hogan
4454e3a6bb
better CAN comm abstraction
2019-10-15 12:07:19 -07:00
rbiasini
6b1f28f574
fix more encoding and some bytes cleanup ( #300 )
2019-10-15 12:05:33 -07:00
Greg Hogan
43adad3116
fix WARNING_INDICATOR_REQUESTED name
2019-10-14 17:32:23 -07:00
Greg Hogan
9c857da379
0x
2019-10-14 17:32:23 -07:00
Greg Hogan
b64d6fa5d2
typing
2019-10-14 17:32:23 -07:00
Greg Hogan
768fdf7e19
bytes() > chr().encode()
2019-10-14 17:32:23 -07:00
Greg Hogan
1be15ea934
custom errors from thread
2019-10-14 17:32:23 -07:00
Greg Hogan
68da8315f3
more python3
2019-10-14 17:32:23 -07:00
Greg Hogan
4f288586d5
updates for python3
2019-10-14 17:32:23 -07:00
Greg Hogan
932745f62b
support tx flow control for chunked messages
2019-10-14 17:32:23 -07:00
Greg Hogan
b1c371292c
add timeout param
2019-10-14 17:32:23 -07:00
Greg Hogan
cdf2f626ba
bug fixes
2019-10-14 17:32:23 -07:00
Greg Hogan
b1a3195770
fix rx message filtering bug
2019-10-14 17:32:23 -07:00
Greg Hogan
80fb6a6fa0
convert uds lib to class
2019-10-14 17:32:23 -07:00
Greg Hogan
59cd2b47f9
handle separation time in microseconds
2019-10-14 17:32:23 -07:00
Greg Hogan
4429600d8e
fix separation time parsing
2019-10-14 17:32:23 -07:00
Greg Hogan
c641e66f72
fix typo
2019-10-14 17:32:23 -07:00
Greg Hogan
48b8dcc6f9
fix flow control delay scale
2019-10-14 17:32:23 -07:00
Greg Hogan
78f413d88f
flow control delay
2019-10-14 17:32:23 -07:00
Greg Hogan
33a5167d93
bug fixes
2019-10-14 17:32:23 -07:00
Greg Hogan
8ee89a091d
multi-frame tx
2019-10-14 17:32:23 -07:00
Greg Hogan
5e89a9c728
clear rx buffer and numeric error ids
2019-10-14 17:32:23 -07:00
Greg Hogan
9662300632
fix remaining size calculation
2019-10-14 17:32:23 -07:00
Greg Hogan
01ef1fae36
zero pad messages before sending
2019-10-14 17:32:23 -07:00
Greg Hogan
1ddc9735d1
uds can communication
2019-10-14 17:32:23 -07:00
Greg Hogan
dca176e717
syntax errors
2019-10-14 17:32:23 -07:00
Greg Hogan
95be4811ef
SERVICE_TYPE enum
2019-10-14 17:32:23 -07:00
Greg Hogan
98e73b51d2
more UDS message type implementation
2019-10-14 17:32:23 -07:00
Greg Hogan
c1c5b0356b
uds lib
2019-10-14 17:32:23 -07:00