Skip to content

Commit

Permalink
Add blocking option for tx completion
Browse files Browse the repository at this point in the history
  • Loading branch information
wanam committed Sep 10, 2020
1 parent 1457052 commit 30d4b57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isotp/tpsock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ class flags:
RX_EXT_ADDR = 0x200
""" When sets, a different extended address can be used for reception than for transmission."""

WAIT_TX_DONE = 0x400
""" When set, we wait for tx completion to make sure the PDU is completely passed to the CAN netdevice queue."""

class LinkLayerProtocol:
CAN = 16
""" Internal structure size of a CAN 2.0 frame"""
Expand Down

0 comments on commit 30d4b57

Please sign in to comment.