Create SCO client profile driver for call control from Bluetooth headset

问题描述 投票:0回答:1

概述

大家好,我正在为软电话(在 Windows 上运行)开发一项功能,即从蓝牙耳机或免提电话接听/结束电话。我已阅读并逐步遵循免提配置文件规范:https://www.bluetooth.com/specifications/specs/hands-free-profile-1-8/

目前,我已经按照规范通过发送/接收 AT 命令设置了“服务级连接”。

问题

  1. 我不知道如何设置称为 SCO 连接 的音频连接。似乎需要编写一个我没有经验的自定义驱动程序。唯一看到微软的教程,非常难懂:https://learn.microsoft.com/en-us/windows-hardware/drivers/bluetooth/creating-a-sco-client-connection-to-a-远程设备
  2. 有没有办法绕过这一步而不编写驱动程序?
  3. 如果我可以设置音频连接,那么我可以从蓝牙耳机接听/挂断电话吗?

这是初始化服务级连接图: https://i.stack.imgur.com/9KMlb.png

这是应答呼叫图: https://i.stack.imgur.com/M8WZf.png

windows winapi bluetooth wdk hfp
1个回答
0
投票

那么你能建立SCO连接吗?

© www.soinside.com 2019 - 2024. All rights reserved.