User Manual

Table Of Contents
221
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
C.6 RFCOMM Commands
RFCloseClientChannel()
RFCloseClientChannel(Address, DLCI)
Return value
“Success”
“Not connected”
“Failure”
“Timed out”
Comments
Closes an RFCOMM channel
Example
RFCloseClientChannel(Devices[0], DLCI);
RFOpenClientChannel()
RFOpenClientChannel(Address, ServerID)
Return value
The return value from RFOpenClientChannel is a list containing up to two
elements. The first element is the status of the command and is one of the
following strings:
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device
DLCI Data link con-
nection identi-
fier
The DLCI is returned by RFOpenClientChan-
nel()
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device
ServerID Service ID for
RFCOMM
channel