Return-Path: MIME-Version: 1.0 In-Reply-To: <000901d0b54f$a89a9050$f9cfb0f0$@samsung.com> References: <000901d0b54f$a89a9050$f9cfb0f0$@samsung.com> Date: Fri, 3 Jul 2015 11:18:14 +0300 Message-ID: Subject: Re: Trying to run example-advertisement From: Luiz Augusto von Dentz To: Gowtham Anandha Babu Cc: Neil Martin , linux-bluetooth Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Neil, On Fri, Jul 3, 2015 at 8:17 AM, Gowtham Anandha Babu wrote: > Hi Neil, > >> -----Original Message----- >> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth- >> owner@vger.kernel.org] On Behalf Of Neil Martin >> Sent: Friday, July 03, 2015 12:52 AM >> To: linux-bluetooth >> Subject: Trying to run example-advertisement >> >> I was having trouble using the advertising api in my own code, so decided to >> run the example-advertisement python test to rule out errors in my code. >> This doesn't work either - I get the following error message: >> >> LEAdvertisingManager1 interface not found >> >> I know the advertising api is experimental. My bluez was built with --enable- >> experimental and I'm running bluetoothd with the -E flag. >> It seems like this is an environment issue, but I don't find any suggestions >> when I try googling for help. Is there anything obvious that I'm missing? > > I faced the similar issue and got resolved after updating the kernel to latest one. > Then it is able to successfully register. Yep, currently Linux 4.1 is required, you can actually check if your kernel support with the tools/mgmt-tester: sudo ./tools/mgmt-tester -p "Read Advertising" sudo ./tools/mgmt-tester -p "Add Advertising" The tests should all pass otherwise bluetoothd wont be able to work since it depends on these commands to manage the advertising data. -- Luiz Augusto von Dentz