Rfrequestportstatus – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 253

235
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
Return value
•
“Success”
•
“Failure”
•
“Not connected”
•
“Timed Out”
Comments
Submits a request to change the port settings on a particular RFCOMM
connection.
Example
result = RFOpenClientChannel(Device, 1);
DLCI = result[1];
if(result[0] == "Success")
{
status = RFRequestPortSettings("CONNECTED_DEVICE", DLCI,
"57600", ["RF_DATA_BITS_8"], ["RF_FLOW_CTRL_NONE"], 11,
13);
Trace("RFRequestPortSettings returned: ", status,
"\n\n");
}
RFRequestPortStatus
RFRequestPortStatus(Address, DLCI)
Xon
Number indi-
cating the
XON charac-
ter
Xoff
Number indi-
cating the
XOFF charac-
ter
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device
Can use “CONNECTED_DEVICE” to request
the port status on a master RFCOMM connec-
tion. Note that this will work only if exactly one
device is connected via RFCOMM.
DLCI
Data link con-
nection identi-
fier
The DLCI is returned by RFOpenClientChan-
nel()
Parameter
Meaning
Default Value
Comments