Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1398204991-5165-1-git-send-email-lukasz.rymanowski@tieto.com> Date: Wed, 23 Apr 2014 10:22:50 +0200 Message-ID: Subject: Re: [PATCH] android/bluetooth: Make possible to start BlueZ in LE mode only From: Lukasz Rymanowski To: Marcel Holtmann Cc: "linux-bluetooth@vger.kernel.org" , Szymon Janc Content-Type: text/plain; charset=UTF-8 List-ID: Hi Marcel, On 23 April 2014 02:29, Marcel Holtmann 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. >> + Enable BlueZ in default mode - enable br/e= dr/le >> + if possible. > > we better do =E2=80=9Cbredr=E2=80=9D and =E2=80=9Cle=E2=80=9D here. > If left empty it will default to auto detect mode with BR/EDR and LE enab= led 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/E= DR 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 \=C5=81ukasz