iOS的蓝牙双模;连接BLE(GATT)到已经连接的BR / EDR(A2DP / HFP)立体声耳机同时 [英] iOS Bluetooth dual-mode; connect BLE (GATT) to an already connected BR/EDR (A2DP/HFP) stereo headset simultaneously

查看:5579
本文介绍了iOS的蓝牙双模;连接BLE(GATT)到已经连接的BR / EDR(A2DP / HFP)立体声耳机同时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发采用了经典的配置文件(HFP,A2DP,AVRCP)正如人们所预料伊娜立体声耳机,蓝牙立体声耳机。不过,我要部署适用于iOS遥控器应用程序,并同时用它来等经典环节,但双模芯片组,我和我的设计工作不表现为我期望;

I'm developing a stereo headset with Bluetooth using the classic profiles (HFP, A2DP, AVRCP) as one would expect Ina stereo headset. However, I want to deploy a remote control app for iOS, and use it simultaneously to the other classic links, but the dual-mode chipset I'm working with in my design does not behave as I'd expect;

耳机是设置为外设,让iOS设备充当中央。这样,外围设备通告其BLE服务(我的具体的128位的UUID)和所有良好。我可以从任何浏览中心外围,但只有当我不和经典的轮廓连接(例如,当没有音频流)。

The headset is setup as a peripheral, letting the iOS device act as central. As such, the peripheral advertise its BLE services (with my specific 128-bit UUIDs) and all is good. I can browse the peripheral from any central, but only when I'm not connected with classic profiles (e.g., while not streaming audio).

我的设备似乎并不能够做广告BLE,同时与HFP和/或A2DP连接!不过,我已经看到了作为BLE中央,扫描和连接其他外设BLE,同时通过A2DP音频流相同的芯片组的演示。然而,在设置该设备被充当连接到一个iPhone A2DP水槽,而扫描/经由BLE连接至第三单元作为BLE外设。因此,不点,以点带经典和智能蓝牙相同的设备。

My device does not seem to be able to advertise BLE, while connected with HFP and/or A2DP! However, I have seen demos of the same chipset acting as BLE central, scanning and connecting to other BLE peripherals, while simultaneously streaming audio via A2DP. However, in that setup the device was acting as A2DP sink connected to an iPhone, while scanning/connecting via BLE to a third unit acting as BLE peripheral. Hence, not point-to-point with both Classic and Smart Bluetooth to the same device.

有一个双模式约束,同时支持/连接蓝牙经典的一个配置文件不能作为外设?而这只是中央模式是在这种情况下支持?

Is there a dual-mode constraint that one cannot act as peripheral while supporting/connecting to Bluetooth Classic profiles? And that only Central-mode is supported in that case?

通知你,我采用CSR公司8670芯片组。

FYI, I'm using CSR's 8670 chipset.

新的答案补充道。我的道歉不澄清/清洗我的previous答案直到现在 - 时间过得真快!

New answer added. My apologies for not clarifying/cleaning-up my previous answer until now -- time flies!

推荐答案

您学习,只要你活着,我想,这个问题的答案是不,它不是支持我声称早些时候(基于我以为我知道)。

You learn as long as you live, I suppose, and this question's answer is NOT that it's not supported which I claimed earlier (based on what I thought I knew).

短期和干净的答案双模耳机和发展对企业社会责任的芯片组很简单,它是在早期的SDK在CSR的蓝牙堆栈的约束。

The short and clean answer to dual-mode and headset development on CSR-chipsets is simply that it was a constraint in the CSR bluetooth stack on earlier SDKs.

蓝牙SIG从来不同时通过经典链接到相同的设备被连接支持双模式充当外设。相反,它明确的规范。这种互操作性如何进行 - 但这并不总是意味着所有BT-堆栈实现了有能力的这样的功能

The Bluetooth SIG has never not supported dual-mode acting as Peripheral while being connected via classic links to the same device. On the contrary, it clearly spec. how such interoperability should be carried out -- but that doesn't always mean that all BT-stack implementations out there are capable of such functionality.

因此​​,采用最新devtools和最新的蓝牙固件/从CSR栈已经解决了所有的问题,现在双模式完全,实际上相当不错我想补充,支撑于CSR8670 / 75芯片组。

Hence; Using the latest devtools and the latest Bluetooth firmwares/stacks from CSR has resolved all issues and dual-mode is now fully, and actually quite nicely I might add, supported on the CSR8670/75 chipsets.

这篇关于iOS的蓝牙双模;连接BLE(GATT)到已经连接的BR / EDR(A2DP / HFP)立体声耳机同时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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