如何在Windows上宣传蓝牙服务? 我正在Windows上开发蓝牙(非BLE)应用程序。我需要Windows PC是服务器,并通过SDP协议进行广告服务,但是我几乎找不到合适的API,除了...

问题描述 投票:0回答:1
我想知道使用此方法在Windows PC上宣传蓝牙服务是否正确,如果是这样,我是否正确使用了它。如果没有,在Windows上发布服务的合适API是什么?

我认为正确的API应该是WsasetService。可以在此处找到文档:

Https://lealen.microsoft.com/en-us/windows/windows/win32/bluetooth/bluetooth--and-wsasetservice, 另外,尽管我还不知道如何,但可以使用IOCTL_BTH_SDP_SDP_SDP_SUBMIT_RECORD IOCTL。文档在这里:
https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/bthioctl/ni-bthioctl-ioctl-ioctl-ioctl_bth_sdp_sdp_submit_submit_record
.

Windows Systems上的蓝牙广告限制工作
windows bluetooth
1个回答
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.