SerialPort - GetPortNames

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!
 
S

Stephany Young

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top