beautypg.com

Hcigetscoconnections, Hciholdmode, Hcigetscoconnections hciholdmode – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 191

background image

173

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Example

Device = '010203040506';

result = HCIFlush (Device);

Trace(result);

HCIGetSCOConnections

HCIGetSCOConnections(HCI_Handle)

Return value

“Success”

“Failure”

“Failed: Device not found”

Comments

Returns the handles of any active SCO connections to this device.

Example

Trace("Device", Devices[0]," has these open SCO handles
", tail(GetSCOConnections(Devices[0])));

HCIHoldMode

HCIHoldMode(Address, MaxInterval, MinInterval)

Parameter

Meaning

Default Value

Comments

HCI_Handle

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device in

question

MaxInterval

Maximum
number of

0.625-msec

intervals to

wait in Hold

mode.

Range is 0x0001 to 0xFFFF
(0.625 msec to 40.9 sec).

MinInterval

Minimum

number of

0.625-msec

intervals to

wait in Hold

mode.

Range is 0x0001 to 0xFFFF
(0.625 msec to 40.9 sec).