Re: [PATCH ] tools/hciconfig: Configure LE adv data flags

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

 



Hi Bharat,

>>> Add support for LE advertisement data flags by adding a new command in
>>> hciconfig tool "leadvflags".
>>> 
>>> LE adv flag values can be refered from CSS 5, section 1.3.2, formats.
>>> ---
>>> tools/hciconfig.c | 121
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>> 1 file changed, 121 insertions(+)
>> 
>> this does not look like a useful addition to me. We have a proper mgmt
>> support for LE advertising and this is just not helpful. You can achieve
> the
>> same with a hcitool cmd execution. Especially since there is no guarantee
>> that the advertising data will be overwritten by the kernel at any point
> in
>> time. The kernel can not preserve data injected on HCI from userspace.
>> 
> Yes, I can get the same through hcitool too, thanks.
> I have one query, in hciconfig, we can set "Non connectable undirected
> advertising" in "leadv" command. Is there any way, we can set "connectable
> undirected advertising with random address type" through any of the tools?

the kernel will do the right thing for you depending on your settings. A LE only configured controller with a static address will use random address type, LE privacy enabled devices will use a RPA and if connectable is not set a NRPA will be used.

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