How can I find out a COM port number of a bluetooth device in c#?

后端 未结 6 995
逝去的感伤
逝去的感伤 2020-12-10 02:44

My company developed a device that communicates with a PC via Bluetooth using a virtual COM port.

Now we need a user to pair a device with a PC (MS Windows OS) firs

6条回答
  •  萌比男神i
    2020-12-10 03:23

    Maybe it is not what you are looking for, and maybe you already found your answer...

    I just found a question not exactly like yours but worked for me.. With this one you can find out which one of your COM Ports are from a Bluetooth device: StackOverflow - Determine if serial port is normal COM or SPP

    I hope it helps somehow. If you find out how to do what you wanted, please let me know. Thanks.

提交回复
热议问题