OpenMarine

Full Version: Naming for Serial Ports Allows Upper Case
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just a little thing, but it caused me an hour of fiddling before I figured it out.

In the Serial Port assignment, you are allowed to use an upper case name. In my case, I'm using a dAISy Hat, so I named the port 'AIS', which became /dev/ttyOP_AIS. This in turn named the serial port in the system "AIS".

When I assigned that port to kplex, there was an input with an upper case name, "AIS". Since that isn't allowed in kplex, it didn't work.

Of course, the work-around was to rename the serial port /dev/ttyOP_ais, which gave the serial port, and the kplex interface, a lower case name.

I suggest either using the same alert that is used in the kplex page about using lower case names, or perhaps just using a little code to make whatever name is inserted lower case when it is assigned to kplex.
good point, thanks.