Re: [PATCH] hcitool: fix interval and window parameters

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

 



Hi André,

On Thu, Feb 24, 2011, Andre Guedes wrote:
> Set interval and window parameters properly if --discovery option
> is present in lescan command.
> 
> According to the Bluetooth spec, during a general or limited discovery
> procedure the scan interval and the scan window should be set to
> 11.25 ms. If --discovery option isn't present, both parameters are set
> to the default value (10 ms) defined in LE Set Scan Parameters Command.
> 
> According to that command description, the interval and window parameters
> should be set as follows:
> 
> 	Time = N * 0.625 msec
> 
> So, in order to set the time values to 11.25 and 10 ms, the parameters
> should be equal to 18 (0x0012) and 16 (0x0010), respectively.
> ---
>  tools/hcitool.c |    9 +++++++--
>  1 files changed, 7 insertions(+), 2 deletions(-)

Pushed upstream. Thanks.

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