Hi to all I'm trying to reduce the time of HCI connect using the clock offset in the hcitool create connection command. So I modified hcitool.c (present in attach) adding the clkoffset parameter on hci_create_connection: if (hci_create_connection(dd, &bdaddr, htobs(ptype), clkoffset , role, &handle, 25000) < 0) perror("Can't create connection"); and change the code for insert that in the command with this syntax: hcitool cc --clkos ; then I add a printf into hcitool inq for print the clkoffset in decimal and try to insert this in the connection command, b ut the time of connect do not change! Later, during other test I take a mistake using a wrong clockoffset in the connect command and the time of the connection w as redused under 100 ms (with the slave in continuos page scan mode). So I write a little bash script for test and I find a stange class of value to reduce this time of connection, but I can't understanding the logic. Where I mistake? Why if I insert the same value returned from hci inqiry the connection do not reduce its time? There is a bug in the code or I wrong using some function? In attach you can find: the hcitool.c code (modified) a dump with a hci inquiry, and an hci connect with the same value of clokoffset bash script for trying a lot value of clkoffset Can you help me Thanks Ilario