User Manual

Table Of Contents
222
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
“Success”
“Failure”
“Timed out”
“Not connected”
•“Restricted
If the return value is “Success”, the second element in the list is the DLCI
of the established connection.
Comments
An ACL connection must already be established with the device.
Example
result = RFOpenClientChannel(Devices[0], 1);
if(result[0] == "Success")
{
Trace("Successfully connected with DLCI ", result[1],
"\n");
# Send some data over RFCOMM
}
RFRegisterServerChannel()
RFRegisterServerChannel()
Return value
Server channel ID
“Failure”
Comments
Example
channel = RFRegisterServerChannel();
if(channel != "Failure")
{
Trace("Channel ID is ", channel);
}
Parameter Meaning Default Value Comments
N/A