B.6 rfcomm commands, Rfcloseclientchannel, Rfopenclientchannel – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 244: Rfcomm commands, Rfcloseclientchannel rfopenclientchannel

226
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
B.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