beautypg.com

Hciexitsniffmode, Hciflush, Hciexitsniffmode hciflush – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 190

background image

172

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

HCIExitSniffMode

HCIExitSniffMode(Address)

Return value

“Success”

“Failure”

“Failed: Device not found”

“Not connected”

Comments

Exits Sniff mode.

Example

Device = '010203040506';

result = HCIExitSniffMode(Device);

Trace("HCIExitSniffMode result is: ", result, "\n");

HCIFlush

HCIFlush(Address)

Return value

"Success"

"Failure"

"Not connected"

"Failed: Not found"

Comments

The Flush command is used to discard all data that is currently pending for
transmission in the Host Controller for the specified connection handle,
even if there currently are chunks of data that belong to more than one
L2CAP packet in the Host Controller.

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device in

question

Parameter

Meaning

Default Value

Comments

HCI_Handle