问题标签 [airpods]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
27 浏览

c++ - 在 Windows 上连接到我的 Airpods 的 C++ 程序

我正在尝试编写一个 c++ 程序来连接到我在 Windows 上的 Airpods(和其他东西)。但我正在努力编写蓝牙部分。我真的不明白如何使用微软文档(https://docs.microsoft.com/en-us/windows/win32/bluetooth/bluetooth-and-connect)或者它是否不是正确的方法。我是一个完整的 C++ 初学者,我现在只是尝试制作将我的 Windows pc 与我的(已经配对的)Airpods 连接起来的代码。我应该使用什么库?输入蓝牙地址并让代码自动连接的正确方法是什么

欢迎任何帮助:)