同时蓝牙A2DP和RFCOMM通信 [英] Concurrent Bluetooth A2DP and RFCOMM communication

查看:470
本文介绍了同时蓝牙A2DP和RFCOMM通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能做的A2DP流媒体和RFCOMM以相同的蓝牙设备同时进行。将打开的RFCOMM通信插座导致A2DP流下降?在这种用法任何已知问题假设它是可能的?谢谢你。

I would like to know whether it is possible to do A2DP streaming and RFCOMM to the same Bluetooth device concurrently. Would opening a socket for RFCOMM communication cause the A2DP stream to drop? Any known issues in this usage assuming it is possible? Thanks.

推荐答案

在情况下,任何人都发现了这个问题,并正在寻找一个答案。我这样做,我的Galaxy Nexus的音频流进行一致的,但我看到我的RFCOMM插座数据速率下降。我没有确切的数字和我在一起。但性能播放音频A2DP超过一定时逢低,然后停药后A2DP恢复。这是在115200串行通信。

In case anyone else finds this question and is looking for an answer. I'm doing this, on my Galaxy Nexus the audio streaming performs consistently but I see a drop in the data rate on my RFCOMM socket. I don't have exact numbers with me. But performance definitely dips when playing audio over A2DP, and then recovers after stopping A2DP. This is for serial communication at 115200 bps.

我还要补充一点,这是与Android 4.3它采用了全新的蓝牙堆栈是不是做的BlueZ

I should also add that this was done with Android 4.3 which uses a new bluetooth stack that is not BlueZ

这篇关于同时蓝牙A2DP和RFCOMM通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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