Re: Trying to run example-advertisement

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

 



On Fri, Jul 3, 2015 at 3:18 AM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> Hi Neil,
>
> On Fri, Jul 3, 2015 at 8:17 AM, Gowtham Anandha Babu
> <gowtham.ab@xxxxxxxxxxx> wrote:
>> Hi Neil,
>>
>>> -----Original Message-----
>>> From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-
>>> owner@xxxxxxxxxxxxxxx] 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

Thanks for all the replies.  I'm running bluez on a raspberry pi 2 and
as far as I can tell, there isn't an easy path to a 4.1 kernel.  I
applied all the updates to my installation and ended up at 4.07.  I
don't have a lot of linux background, but from googling the topic, it
seems like 4.1 is so new that it isn't universally available.

Neil
--
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