Hi Guys,
The scenario is as follows-
I am using bluez-4.01 as my ble stack on linux.
I have ble sesnors and my board (dm-365).Now without making connection when I am using cmd "hcitool lescan" it will scan all the ble sensors and same I can see on the console.Using cmd "hcidump" I can able to dump the data in the human readable form.
Now my question are-
1.) When I am using lescan command does it have some scanning interval or it scans continuously ? If it have some scanning interval, how I can reduce it and how I get to know the current interval.
I gone through the source code and inside bluez->tool->hcitools.c there's one function "static void cmd_lescan(int dev_id, int argc, char **argv)".In that function I got the following initialisation
uint16_t interval = htobs(0x0010);
uint16_t window = htobs(0x0010);
What are these interval and windows ?
2.)Secondly I have same query for hcidump comand.Does it dump the data after some interval again and again.If yes from where and how I can reduce this time?
Please throw some light on this
Thanks,
Abhi