Hcireadconnectionaccepttimeout – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 200

Advertising
background image

182

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

“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.

Example

result = HCIReadClockOffset();

Trace("HCIReadClockOffset returned: ", result[0], "\n");

if (result[0] == "Success")

{

Trace("Clock offset is: 0x", result[1], "\n");

}

HCIReadConnectionAcceptTimeout

HCIReadConnectionAcceptTimeout()

Return values

Returns a list with two values: status and timeout.

Status (element 0) is one of the following:

“Success”

“Failure”

Timeout (element 1) is the two-byte value of the timeout, interpreted as
multiples of 0.625-msec intervals.

Comments

Reads the current timeout interval for connection. The timeout value
defines the time duration from when the Host Controller sends a Connec-
tion Request event until the Host Controller automatically rejects an
incoming connection.

Example

result = HCIReadConnectionAcceptTimeout();

Trace("ReadConnectionAcceptTimeout returned: ", result[0],

"\n");

if (result[0] == "Success")

{

Parameter

Meaning

Default Value

Comments

N/A

Advertising