Hcireadclockoffset() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 198
182
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
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”
•
“Failed: Device not found”
•
“Not connected”
Offset (element 1) is the two-byte value of the clock offset.
Comments
Reads the clock offset to remote devices.
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device to con-
nect with.