I'm thinking of building an implementation of 802.1Q MMRP/MSRP/MVRP in Swift, principally for Linux but with the protocol handler and state machine sufficiently abstracted. I need it for my own embedded application but curious if there's any interest from anyone else.
Even though I have no direct use for this implementation, I would love to see this. I think it would be a really good exploration of embedded Swift ergonomics and safety. It would be very cool to see this in action.
1 Like
The catch is it will be embedded Swift, not Embedded Swift, as I still want to be able to use structured concurrency to manage timers and I/O.
Very much a WIP:
1 Like
Forgot to check back in, I did get this more or less finished and working using the Linux software bridge (more info in README.md). Next step is to add support for Marvell switches in DSA mode, which hopefully can be done kernel-side, leaving the SRP implementation switch-agnostic...
2 Likes