Hcireadclockoffset – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 199

181
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
SCO packet length (element 2) is the one-byte value of the maximum
length (in bytes) of the data portion of each HCI SCO data packet that the
Host Controller is able to accept.
ACL number of packets (element 3) is the total number of HCI ACL data
packets that can be stored in the data buffers of the Host Controller.
SCO number of packets (element 4) is the total number of HCI SCO data
packets that can be stored in the data buffers of the Host Controller.
Comments
This command is used to read the maximum size of the data portion of
SCO and ACL data packets sent from the Host to Host Controller.
Example
Trace("Local Buffer parameters\n");
result = HCIReadBufferSize();
Trace(" HCIReadBufferSize() returned: ", result[0],
"\n");
if (result[0] == "Success")
{
Trace(" ACL Data Packet Length : 0x", result[1],
"\n");
Trace(" SCO Data Packet Length : 0x", result[2],
"\n");
Trace(" Total Num ACL Data Packets : 0x", result[3],
"\n");
Trace(" Total Num SCO Data Packets : 0x", result[4],
"\n");
}
HCIReadClockOffset
HCIReadClockOffset(Address)
Return values
Returns a list with two values: status and offset.
Status (element 0) is one of the following:
•
“Success”
•
“Failure”
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device to con-
nect with.