User Manual

Table Of Contents
235
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
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.
Example
result = TCSStartCall();
Trace("TCSStartCall result : ", result, "\n");
if( result != "Success")
return result;
TCSDisconnectCall()
TCSDisconnectCall()
Return value
“Success”
“Failure”
Comments
This command is called to close an existing TCS connection according to
the Intercom profile specification of the TCS state machine, close the
L2CAP connection, and close the SCO connection.
Example
result = TCSDisconnectCall();
Trace("TCSDisconnectCall result : ", result, "\n");
if( result != "Success")
return result;
Parameter Meaning Default Value Comments
N/A