mirror of https://github.com/commaai/panda.git
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:
parent
b86199244a
commit
11ea112258
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue