Current location - Quotes Website - Collection of slogans - Want to use win8 Bluetooth virtual serial port, how to get the string in the program?
Want to use win8 Bluetooth virtual serial port, how to get the string in the program?
At present, it is used to enumerate all serial ports in the system, allowing users to choose a serial port.

However, some users have many Bluetooth devices on their computers and don't know which serial port to choose.

Although you can use blueoutdisplaydeviceproperties to query the serial number, it is inconvenient to pop up a dialog box.

I hope I can automatically judge which port it is after pairing, thus saving an operation step and improving the user experience.