This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Naming for Serial Ports Allows Upper Case
#1
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.
Reply
#2
good point, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)