From 11ea112258b66a0969fa340cd5e2d870378e5c5d Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 19 Sep 2022 20:47:12 -0700 Subject: [PATCH] IsoTpMessage: add separation time to flow control msg (#1074) * one frame at a time, 20 ms delay * send one at a time * update separation time to 10ms * comment --- python/uds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/uds.py b/python/uds.py index c35fe30f..1c2b156e 100644 --- a/python/uds.py +++ b/python/uds.py @@ -456,8 +456,8 @@ class IsoTpMessage(): print(f"ISO-TP: RX - first frame - {hex(self._can_client.rx_addr)} idx={self.rx_idx} done={self.rx_done}") if self.debug: print(f"ISO-TP: TX - flow control continue - {hex(self._can_client.tx_addr)}") - # send flow control message (send all bytes) - msg = b"\x30\x00\x00".ljust(self.max_len, b"\x00") + # send flow control message (send all bytes) with a separation time of 10 ms + msg = b"\x30\x00\x0a".ljust(self.max_len, b"\x00") self._can_client.send([msg]) return