beautypg.com

Tcsopenchannel, Tcsstartcall, Tcsopenchannel tcsstartcall – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 260

background image

242

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

TCSOpenChannel

TCSOpenChannel(Address)

Return value

“Success”

“Failure”

“Not Found”

“Timed Out”

Comments

This command opens an L2CAP channel with TCS PSM and initializes a
TCS state machine into NULL state

Example

result = TCSOpenChannel(‘010203040506’);

Trace("TCSOpenChannel result : ", result, "\n");

if( result != "Success")

return result;

TCSStartCall

TCSStartCall()

Return value

“Success”

“Failure”

Comments

This command must be called right after TCSOpenChannel. It automati-
cally sends a sequence of TCS messages according to the Intercom profile
specification of the TCS state machine. After successful execution of this
command, TCS state machine is in ACTIVE state and SCO connection is
opened.

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to con-

nect with

Parameter

Meaning

Default Value

Comments

N/A