mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user