SerialPort - GetPortNames

  • Thread starter Thread starter Jon Berry
  • Start date Start date
J

Jon Berry

I have a friend who's testing my app which enumerates GetPortNames
and creates a drop down list.

He says the COM ports are showing up with an Ñ (N w/ tilde) like so:

COM1
COM12Ñ
COM13Ñ
COM14Ñ
COM3
COM6
COM7

I've never seen this before.

Does anyone know what might be causing this?

Is that a valid COM port name?

Thanks!
 
I have encountered this, but only on devices that utilise the Toshiba
Bluetooth stack.

The ports that are affected are the logical serial ports exposed by that
stack and the only place I found the problem was with the values returned by
the GetPortNames method.

If you want to take the matter up with Toshiba Coproration then good luck to
you, but the workaround I used was to identify the character in question,
(it was always the same), and 'Trim' it from the values returned by the
GetPortNames method.

Opening a port with the 'Trimmed' value caused no problems.
 
Back
Top