Re: [PATCH] android/bluetooth: Make possible to start BlueZ in LE mode only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

On 23 April 2014 02:29, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
> Hi Lukasz,
>
>> This patch adds possibility to start BlueZ only in LE mode only.
>>
>> It is useful for testing purpose, when you want test BlueZ in
>> peripheral mode against any dual mode device.
>> ---
>> android/README          |  3 +++
>> android/bluetooth.c     |  7 ++++++-
>> android/hal-bluetooth.c | 15 ++++++++++++++-
>> android/hal-msg.h       |  1 +
>> 4 files changed, 24 insertions(+), 2 deletions(-)
>>
>> diff --git a/android/README b/android/README
>> index 6254d34..9b08610 100644
>> --- a/android/README
>> +++ b/android/README
>> @@ -166,6 +166,9 @@ options.
>>
>> Property      Value           Description
>> -------------------------------------------
>> +mode         le_only         Enable BlueZ in Low Energy mode only.
>> +             <none>          Enable BlueZ in default mode - enable br/edr/le
>> +                             if possible.
>
> we better do “bredr” and “le” here.

> If left empty it will default to auto detect mode with BR/EDR and LE enabled if available with your kernel and supported by the controller.
>
Yes this is exactly how it works.

> There might be actually an use case where you have a dual-mode controller, but want to just only use BR/EDR. It will be especially hard to fine BR/EDR only controllers.
>
It's true.
I started with le_only as I need that now. I left br/edr only case for
the time somebody will need it as it is  easy to extend.
If you want it now, I will add it.

> Regards
>
> Marcel
>
BR
\Łukasz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux