how to tell which virtual com port mbed serial maps to

29 Jun 2010

I have a Windows GUI program that needs to talk to mbed via its virtual com port. Instead of having user to look it up in the device manager, is there a way to detect the mapped port directly?

An alternative would be to use a FTDI USB-RS232 chip between PC USB and mbed serial rx/tx. The FTDI has D2XX.dll, which provides a function: FT_GetComPortNumber to do this.

Wondering if mbed has similar functionality.

29 Jun 2010

SetupDiGetDeviceRegistryProperty(..,SPDRP_DEVICEDESC,...)  should mention "mbed" somewhere.