VS的BlueZ蓝牙Bluedroid堆栈 [英] BlueZ vs Bluedroid bluetooth stack

查看:396
本文介绍了VS的BlueZ蓝牙Bluedroid堆栈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

的BlueZ有很多文档和所有的。而从同一个,我理解的BlueZ支持A2DP片的支持。而在同一时间的Andr​​oid设备可以通过修改里面的一样audio.conf文件进行行为作为A2DP接收器。

BlueZ have a lot of documentations and all. And from the same, i understood BlueZ supports A2DP sink support. And at the same time an android device can be made act as an A2DP sink by modifying the audio.conf file inside the same.

我也才知道,从安卓4.2起,堆栈的BlueZ被替换了Broadcom的Bluedroid堆栈。我搜索了很多关于Bluedroid堆栈。但我没能找到差不多的很多细节。

I also came to know that from android 4.2 onwards, the BlueZ stack was replaced by Broadcom's Bluedroid stack. I searched a lot about Bluedroid stack. But i was not able to find much details about the same.

希望有人可以帮助我下面的疑惑。

Hope someone can help me with the following doubts.

1)。无论Bluedroid有A2DP片支持?

1). Whether Bluedroid have A2DP sink support?

2)。该audio.conf文件是否将可用于具有bluedroid堆叠设备?

2). Whether the audio.conf file will be available for devices having bluedroid stack?

3)。我将通过直接调用API的堆栈的BlueZ的写了一个Android设备的A2DP片的支持。但我的最后一个问题是,是否同样可以用Bluedroid堆栈还可以用吗?希望Bluedroid是对的BlueZ只是一个扩展。

3). I am going to write an A2DP sink support for an android device by directly calling API's of BlueZ stack. But my final question is whether the same can be used with Bluedroid stack also? Hope Bluedroid is just an expansion of BlueZ.

请帮忙。

推荐答案

Bluedroid是由博通提供的堆栈,现在开源的机器人。 Bluedroid不与的bluez在任何方面有关,它在BlueZ(我的不同而不同的)一些优势。

Bluedroid is a stack provided by Broadcom and is now opensource in android . Bluedroid is not related with bluez in any respect, it has few advantages over bluez(i differ to that).

[1]。 Bluedroid不具备A2DP下沉的支持,截至目前,按照code可源$ C ​​$ C 只A2DP源支持可

[1]. Bluedroid does not have a2dp sink support as of now, as per code available source code only a2dp source support is available

[2]。 Audio.conf文件为的bluez栈,它不是bluedroid一部分

[2]. Audio.conf file is for bluez stack, it is not a part of bluedroid

[3]。直接调用配合bluez API--我认为你会使用dbus的电话,但bluedroid不支持dbus的方法调用,它有一个回调机制实现的,所以它不会工作,bluedroid不是的bluez的扩展。

[3]. Directly calling Bluez API-- i think you will use dbus calls but bluedroid does not support dbus method calls, it has a callback mechanism implemented, so it will not work, bluedroid is not an expansion of bluez.

这篇关于VS的BlueZ蓝牙Bluedroid堆栈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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