Bluetooth Functions

The functions in this section are used for managing Bluetooth devices and services.

Bluetooth is also supported by using the Windows Sockets programming interface. For more information about programming Bluetooth by using the Windows Sockets interface, see Windows Sockets Support for Bluetooth.

 

本节中的函数用于管理蓝牙设备和服务。

使用Windows套接字编程接口也支持蓝牙。有关使用Windows套接字接口编程蓝牙的更多信息,请参阅Windows套接字支持蓝牙。

 

BluetoothAuthenticateDevice   向远程蓝牙设备发送身份验证请求。

BluetoothAuthenticateMultipleDevices  允许调用者在蓝牙连接向导的单个实例中提示对多个设备进行身份验证。

BluetoothDisplayDeviceProperties  调用控制面板设备信息属性表。

BluetoothEnableDiscovery  改变本地蓝牙无线电或无线电的发现状态。

BluetoothEnableIncomingConnections  修改本地蓝牙无线电是否接受传入连接。

BluetoothEnumerateInstalledServices  枚举在蓝牙设备上启用的服务的gui(全局惟一标识符)。

BluetoothFindDeviceClose  关闭与设备查询关联的枚举句柄。

BluetoothFindFirstDevice开始枚举本地蓝牙设备。
BluetoothFindFirstRadio开始枚举本地蓝牙无线电。
BluetoothFindNextDevice找到下一个本地蓝牙设备。
BluetoothFindNextRadio找到下一个蓝牙收音机。
BluetoothFindRadioClose关闭与查找蓝牙无线电相关的枚举句柄。
BluetoothGetDeviceInfo检索有关远程蓝牙设备的信息。蓝牙设备必须事先通过一个成功的设备查询函数调用进行标识。
BluetoothGetRadioInfo获取有关蓝牙无线电的信息。
BluetoothIsConnectable确定蓝牙收音机或收音机是否可连接。
BluetoothIsDiscoverable确定是否可以发现蓝牙无线电或无线电。
BluetoothRegisterForAuthentication注册一个回调函数,当特定的蓝牙设备请求身份验证时调用该函数。
BluetoothRemoveDevice删除蓝牙设备和计算机之间的身份验证,清除有关设备的缓存信息。
BluetoothSdpEnumAttributes枚举通过SDP记录流,并为记录中的每个属性调用回调函数。
BluetoothSdpGetAttributeValue检索属性标识符的属性值。
BluetoothSdpGetContainerElementData遍历容器流并返回包含在容器元素中的每个元素。
BluetoothSdpGetElementData从SDP流检索和解析单个元素。
BluetoothSdpGetString将嵌入到SDP记录中的原始字符串转换为Unicode字符串。
BluetoothSelectDevices启用蓝牙设备选择。
BluetoothSelectDevicesFree释放与前面对BluetoothSelectDevices函数调用关联的资源。
BluetoothSendAuthenticationResponse接收到发送密钥响应的身份验证请求时调用。
BluetoothSetLocalServiceInfo设置特定蓝牙无线电的本地服务信息。
BluetoothSetServiceState启用或禁用蓝牙设备的服务。
BluetoothUnregisterAuthentication移除以前通过调用BluetoothRegisterForAuthentication函数注册的回调例程的注册。
BluetoothUpdateDeviceRecord更新本地计算机缓存有关蓝牙设备。
 

转载于:https://www.cnblogs.com/qiwu1314/p/9928151.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值