Tcsopenchannel(), Tcsstartcall(), Tcsopenchannel() tcsstartcall() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 250
234
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
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