Hi!
I'm trying to read the Bluetooth Clock via HCI_Read_Clock on the CC2564 (LE Connection). I get valid results when asking for the "Local Clock" (Parameter 0x00 0x00 0x00, see Core Specs *). But as soon as I try to get the "Piconet Clock" by applying a connection handle, an error occurs ("Unknown Connection Identifier").
Same problem with the HCI_Read_Clock_Offset command: Always results in an "Unknown Connection Identifier" error. (And yes: The connection identifier is valid...)
Is this a limitation of the CC2564 or am I missing something?
* Core Spec for the HCI Commands:
Read Clock Command (HCI_Read_Clock)
BLUETOOTH SPECIFICATION Version 4.2 [Vol 2, Part E]
7.5.6 Read Clock Command
Read Clock Offset Command (HCI_Read_Clock_Offset)
BLUETOOTH SPECIFICATION Version 4.2 [Vol 2, Part E]
7.1.24 Read Clock Offset Command