Re: Fail to test advertisement

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

 



Hi Zheng,

> I try to test the feature advertisement of bluez.
> 
> Environment: 
> The kernel is 3.19.
> The bluez is the latest git version.
> 
> The process is the following points:
> 
> Hciconfig hci0 up.
> 
> then run "Bluetooth -Edn" for testing advertisement.
> 
> I can get the log info: 
> 
> Src/advertising.c:btd_advertising_manager_new() LE Advertising Manger cretated for adapter: /org/bluez/hci0
> Failed to read advertising features: Unknown Command (0x01)
> 
> Bluez failed to create LE Advertising Manager.
> 
> And try to run "ibeacon" to check "read advertising features". It works well.
> 
> What's suggestion? Any step is wrong? Thanks.

the kernel you have it not supporting advertising in a form that is needed for LE Advertising Manager. You need at least 4.1 kernel.

And the ibeacon test tool uses HCI User Channel and thus raw access to the hardware. You are looking for the mgmt interface for advertising. Check doc/mgmt-api.txt.

Regards

Marcel

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