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
eb358e81ca
uds lib example
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
rbiasini
162f4853df
fix chr to bytes conversions ( #298 )
2019-10-13 18:15:04 -07:00
Jason Young
4972376de3
Update VW regression test to follow Comma safety index refactoring ( #296 )
...
* Follow along with recent Comma safety index refactoring.
2019-10-10 14:57:16 -07:00
rbiasini
f9053f5df4
more Python 3 fixes, attempting to fix jenkins wifi regresison test ( #295 )
...
* more Python 3 fixes, attempting to fix jenkins wifi regresison test. Not successful, but closer.
2019-10-10 12:34:52 -07:00
Jason Young
2f9e076289
Panda safety code for Volkswagen, Audi, SEAT, and Škoda ( #293 )
...
* Panda safety code for Volkswagen, Audi, SEAT, and Škoda.
* First pass at MISRA compliance.
* Second pass at MISRA compliance.
* Fix scope of violation boolean.
* MISRA doesn't care for implicit cast of unsigned int to boolean.
* Remove superfluous newline.
* Remove unused VW ignition hook code, preserve commentary.
* Add 50% padding to max delta check.
* Add 50% padding to max delta check.
* Add clarity around the origin of our safety constants.
* Update test RT delta to match safety.
2019-10-09 13:54:22 -07:00
Willem Melching
30c7ca8a53
bump version to 1.5.3
2019-10-09 10:21:25 -07:00
Riccardo
9403dbebe9
Need to fix wifi test before re-enabling.
2019-10-08 20:03:18 -07:00
robbederks
0812362b52
GPS UART fix until boardd is refactored ( #294 )
...
* Temporary GPS fix
* spaces
2019-10-08 19:41:10 -07:00
rbiasini
ffbdb87a8d
python2 -> 3 fixes to pedal flasher ( #292 )
...
* python2 -> 3 fixes to pedal flasher
* fix Debug flash as well
* Fixes to wifi-test
2019-10-08 19:07:59 -07:00
Robbe
78b75ef590
Added build type to release version strings
2019-10-07 14:42:38 -07:00
Robbe
736c2cbf7b
Fixed sending of bytes over PandaSerial
2019-10-07 14:26:44 -07:00
robbederks
0894b28f1e
Fixed USB power mode on black ( #291 )
...
* Fixed USB power mode on black
* bump version
2019-10-05 20:34:19 -07:00
rbiasini
4b3358c921
patch to be able to switch from EON to PC with a Panda that has EON b… ( #290 )
...
* fix switching from EON to PC with a Panda that has EON build and not 12V supply
2019-10-04 14:51:26 -07:00
robbederks
a95c44a717
Made setting of NOOUTPUT on no heartbeat more efficient ( #287 )
...
* Made setting of NOOUTPUT on no heartbeat more efficient
* Stupid mistake
* Fixed hardcoded safety mode
2019-10-04 13:30:00 -07:00
robbederks
9486836886
UART instability fix with high interrupt load ( #283 )
...
* Fixed UART overrun error
* Added stability test scripts
* Refactored UART code. ESP/GPS now uses DMA in circular mode to directly write into the ring buffer, saving a bunch of interrupts and potential race conditions.
* Changed stability test to use amount of bytes instead of amount of non-zero messages, since the ring buffer pointer is only updated on half or full DMA transfer or on line idle (e.g. no more 1 char messages from the gps)
* Increase data limit. It's too low sometimes in normal operation
* Forgot to set write pointer in ring buffer
* Increased test limit even more
2019-10-04 13:28:56 -07:00
rbiasini
9a9e9d47bc
Fix usb_power_mode missing initialization ( #289 )
...
* Fix usb_power_mode missing initialization
* typo
* re-added NONE usb power mode, so usb_power_mode is only set in set_usb_power_mode func
2019-10-04 10:48:17 -07:00
rbiasini
af0960ad3d
DFU fix ( #288 )
...
* DFU fix
* fix test 2
* this should fix all the remaining jenkins test
* Fixed pyenv shim not being a python file, but a sh script
2019-10-03 19:46:28 -07:00
rbiasini
70219d7bb2
match safety enum in cereal ( #285 )
...
* match safety enum in cereal
* removing tons of hardcoding
* add pythonpath to safety test
* Fix safety test in Docker
2019-10-02 18:20:32 -07:00
Riccardo
a338d39322
Fix build for jenkins test
2019-10-02 18:02:49 -07:00
rbiasini
78ef4a6ebc
Stop charge ( #284 )
...
* CDP by default in EON build on white panda
* Cleaned up power mode setting
* send usb power mode in health
* cleaner CDP setting on ignition
* bump panda
2019-10-02 11:48:40 -07:00
Arne Schwarck
5266a40287
Fix typo ( #286 )
2019-10-02 11:40:38 -07:00
Riccardo
f4787ec5a2
Revert "turn on CDP when ignition switches on ( #281 )"
...
This reverts commit 8c1df559f7 .
2019-10-01 17:01:14 -07:00
Riccardo
d37daee978
Revert "NONE and CLIENT should be the same thing in white/grey pandas"
...
This reverts commit e97b283e77 .
2019-10-01 15:20:59 -07:00
Riccardo
e97b283e77
NONE and CLIENT should be the same thing in white/grey pandas
2019-10-01 15:16:13 -07:00
rbiasini
8c1df559f7
turn on CDP when ignition switches on ( #281 )
2019-09-30 21:48:30 -07:00