蓝牙COM端口搜索已注册 [英] Bluetooth COM port search in registery

查看:343
本文介绍了蓝牙COM端口搜索已注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在win32中编写了蓝牙代码,该代码检测到范围和范围内的蓝牙设备.
在我的PC上安装蓝牙设备后,它会创建多个COM端口.

获取串行端口,我在
中搜索

i have written Bluetooth code in win32 which detected bluetooth devices in range and
after installing bluetooth device on my PC it creates more than one COM port

to get serial port i search in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet


但是有时新安装的蓝牙不会出现在regedit列表中
它出现在


but some time the newly installed bluetooth do not appear in the regedit list
it appears in

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001



即使我获得了com端口,也无法确定哪个是传入的串行端口



如何使用BluetoothAPIs.h函数获取移动设备的串行端口(传入数据),以便避免在注册表中进行搜索?


如何获取该移动蓝牙设备的COM端口?


在此先感谢:)



even though i get the com ports i cannot decide which one is incoming serial port



How can we get serial port(incoming data) of mobile device by using BluetoothAPIs.h functions so that i can avoid search in registry?


how to get COM ports for that mobile bluetooth device?


Thanks in Advance :)

推荐答案

看看 ^ ]类似于类似的问题 [ ^ ]在CP上.
Have a look at the answer[^] to a similar question[^] here on CP.


这篇关于蓝牙COM端口搜索已注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆