Releases: jacobschaer/python-doipclient
v1.1.1
v1.1.0
@HarshaLaxman added get_entity
method which can serve as a mechanism to discover ECU's in addition to the existing await_vehicle_announcement
. Only supports IPV4 over broadcast for now.
TLS/SSL Improvements
@sfaiss fixed some issues with the existing DoIP over TLS implementation and added some examples to the documentation. Updates the use_secure
flag in the constructor to accept an SSLContext in addition to the existing True/False flags.
Also resolved an issue where PyPI wasn't rendering the README.rst properly
Fix automatic Alive Check responses
@stefankopf found an issue where responses to Alive checks detected while handling another message would get delayed.
Fix socket type for Alive Check Response/Request
ISO-13400 requires TCP not UDP for Alive Check. Fixed by @bongyongchoi . Released as 1.0.7
Fix await_vehicle_announcement
Resolve await_vehicle_announcement issue with possible state machine confusion with bad packets. Adds experimental support for IPV6 multicast.
IPv6 Support
Adds support for IPv6 ECU addresses. Will use the correct socket type if the IP address string is determined to be IPv6, and will now throw ValueError if the IP is neither a valid IPv4 or IPv6 address (per the ipaddress module)
TCP Reconnect on Graceful Close
Handles ECU gracefully closing the socket, typically in the case of long periods of inactivity. Also updated the message classes to have more useful str/repr/eq functions.
Support Auto-Reconnect
- 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 theclose_connection
argument toDoIPClientUDSConnector
constructor. - Added a new kwarg,
auto_reconnect_tcp
toDoIPClient
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
Support UDP
Support UDP transport and moved the EntityStatus/PowerMode/etc messages to the correct transport. Updated some documentation. Fixed SSL import error. Published 1.0.2