OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
120 stars 105 forks source link

Properly handle global state changes like network interface becoming unavailable #227

Open pavel-kirienko opened 2 years ago

pavel-kirienko commented 2 years ago

This is perhaps related to https://github.com/OpenCyphal/pycyphal/issues/224

When the network interface becomes unavailable (e.g., CAN adapter disconnected, IP address changed, Cyphal/serial TCP connection closed), all services dependent on the active transport instance should be notified such that the state change can be adequately processed.