Skip to content

Support Auto-Reconnect

Compare
Choose a tag to compare
@jacobschaer jacobschaer released this 11 Sep 20:09
· 18 commits to main since this release
d21d10b
  • Change default behavior of DoIPClientUDSConnector to not close when the associated udsoncan Client closes. This is more consistent with how the ISOTP connectors work. To restore the old behavior, use the close_connection argument to DoIPClientUDSConnector constructor.
  • Added a new kwarg, auto_reconnect_tcp to DoIPClient constructor which, when enabled, will attempt to reconnect the socket, reactivate DoIP, and retransmit the payload if the TCP socket is detected to be broken (such as after a UDS Reset, or a power cycle of the UDS server). This is off by default for now.
  • Fixed some documentation typos