2013-10-15 13:16:45

by Kevin Wilson

[permalink] [raw]
Subject: BlueZ and Android - question

Hello all,
I have a question:

I saw in several places on the web text which says, in some
variations, that "BlueZ has been removed starting from Android 4.2
and the Broadcom-supplied Bluetooth stack (bluedroid) has replaced
it. It says also that the bluedroid
stack relies on HAL-loading like most other hardware types.

On the other hand I see in the official page,
http://www.bluez.org/
something which I am not sure how to interpret.


I want to resolve my confusion.
So here is my question:
In Android 4.2 and above - is the BlueZ removed ? is the BlueDroid
used instead ? or are they both used?


Regads,
Kevin


2013-10-16 07:01:39

by Andrei Emeltchenko

[permalink] [raw]
Subject: Re: BlueZ and Android - question

Hi Kevin,

On Tue, Oct 15, 2013 at 06:00:19PM +0300, Kevin Wilson wrote:
> Andrei,
> Thanks a lot for the Quick response.
> Can you please provide a link for the alternative for Bluetooth stack in
> Android or specify its name ? I did not know about it.

The alternatives seems to be:

1) backport old BlueZ + Bluetooth framework from Android 4.1.2
https://gitorious.org/android-bluez

2) The new project with the latest BlueZ and Android:
http://code.google.com/p/android-bluez/
(this is initial phase)

3) You can also use Bluedroid with BlueZ kernel drivers via CHANNEL_USER

Best regards
Andrei Emeltchenko

>
> Best Regards,
> Kevin
>
> On Tue, Oct 15, 2013 at 4:44 PM, Andrei Emeltchenko
> <[email protected]> wrote:
> > Hi Kevin,
> >
> > On Tue, Oct 15, 2013 at 04:16:45PM +0300, Kevin Wilson wrote:
> >> Hello all,
> >> I have a question:
> >>
> >> I saw in several places on the web text which says, in some
> >> variations, that "BlueZ has been removed starting from Android 4.2
> >> and the Broadcom-supplied Bluetooth stack (bluedroid) has replaced
> >> it. It says also that the bluedroid
> >> stack relies on HAL-loading like most other hardware types.
> >>
> >> On the other hand I see in the official page,
> >> http://www.bluez.org/
> >> something which I am not sure how to interpret.
> >>
> >>
> >> I want to resolve my confusion.
> >> So here is my question:
> >> In Android 4.2 and above - is the BlueZ removed ?
> >
> > Yes
> >
> >> is the BlueDroid
> >> used instead ?
> >
> > Yes
> >
> >>or are they both used?
> >
> > No.
> >
> > Now there is a project to provide alternative for Bluetooth stack in
> > Android.
> >
> > Best regards
> > Andrei Emeltchenko
> >

2013-10-15 15:00:19

by Kevin Wilson

[permalink] [raw]
Subject: Re: BlueZ and Android - question

Andrei,
Thanks a lot for the Quick response.
Can you please provide a link for the alternative for Bluetooth stack in
Android or specify its name ? I did not know about it.

Best Regards,
Kevin

On Tue, Oct 15, 2013 at 4:44 PM, Andrei Emeltchenko
<[email protected]> wrote:
> Hi Kevin,
>
> On Tue, Oct 15, 2013 at 04:16:45PM +0300, Kevin Wilson wrote:
>> Hello all,
>> I have a question:
>>
>> I saw in several places on the web text which says, in some
>> variations, that "BlueZ has been removed starting from Android 4.2
>> and the Broadcom-supplied Bluetooth stack (bluedroid) has replaced
>> it. It says also that the bluedroid
>> stack relies on HAL-loading like most other hardware types.
>>
>> On the other hand I see in the official page,
>> http://www.bluez.org/
>> something which I am not sure how to interpret.
>>
>>
>> I want to resolve my confusion.
>> So here is my question:
>> In Android 4.2 and above - is the BlueZ removed ?
>
> Yes
>
>> is the BlueDroid
>> used instead ?
>
> Yes
>
>>or are they both used?
>
> No.
>
> Now there is a project to provide alternative for Bluetooth stack in
> Android.
>
> Best regards
> Andrei Emeltchenko
>

2013-10-15 13:44:34

by Andrei Emeltchenko

[permalink] [raw]
Subject: Re: BlueZ and Android - question

Hi Kevin,

On Tue, Oct 15, 2013 at 04:16:45PM +0300, Kevin Wilson wrote:
> Hello all,
> I have a question:
>
> I saw in several places on the web text which says, in some
> variations, that "BlueZ has been removed starting from Android 4.2
> and the Broadcom-supplied Bluetooth stack (bluedroid) has replaced
> it. It says also that the bluedroid
> stack relies on HAL-loading like most other hardware types.
>
> On the other hand I see in the official page,
> http://www.bluez.org/
> something which I am not sure how to interpret.
>
>
> I want to resolve my confusion.
> So here is my question:
> In Android 4.2 and above - is the BlueZ removed ?

Yes

> is the BlueDroid
> used instead ?

Yes

>or are they both used?

No.

Now there is a project to provide alternative for Bluetooth stack in
Android.

Best regards
Andrei Emeltchenko