OpenCyphal / yukon

The OpenCyphal IDE
https://opencyphal.org
MIT License
16 stars 0 forks source link

The transport configuration widget should support different transports and different media implementations #28

Closed pavel-kirienko closed 1 year ago

pavel-kirienko commented 2 years ago

The transport configuration widget should allow the user to choose transports other than Cyphal/CAN, namely Cyphal/UDP and Cyphal/serial. Each transport has its own configuration options, so maybe they should be discriminated with tabs or something similar.

Cyphal/CAN should still allow the user to select different media implementations. Perhaps the easiest way to achieve this is to allow the user to enter an arbitrary iface name string like socketcan:slcan1 or candump:myfile.log; this is basically what we already have (or had when I last checked). One problem here is that certain interface options presented by the GUI bear no relevance for some media options and are potentially confusing; e.g., it is unclear that when the user is presented with a list of serial ports, the software implies that the underlying media layer to use is PythonCAN via SLCAN.

I suggest that specifically for CAN, we provide two basic options:

silverv commented 2 years ago

First one is done (has been there for a while), and I'll do the second one