Rahix / profirust

A PROFIBUS-DP compatible communication stack written in Rust
Apache License 2.0
23 stars 2 forks source link

Consider a mechanism to implement self-listening during token passing #17

Open Rahix opened 1 month ago

Rahix commented 1 month ago

PROFIBUS requires an active station to listen to itself while passing the token. This is meant to be a check for the transceiver to detect problems in either direction.

Right now, profirust cannot support this because the PHY abstraction does not support it. However, we cannot just augment the PHY abstraction with this feature as not all PHYs will support self-listening. We should find a way to opt-in to self-listening whenever a PHY can do it.