Rfsendtest, Rfadvancecredit, Rfsendtest rfadvancecredit – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 258

240
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
RFSendTest
RFSendTest(Address, DLCI)
Return value
•
“Success”
•
“Failure”
•
“Not Connected”
•
“Failure”
Comments
Sends a test frame on a particular RFCOMM connection.
Example
result = RFOpenClientChannel(Device, 1);
DLCI = result[1];
if(result[0] == "Success")
{
status = RFSendTest("CONNECTED_DEVICE", DLCI);
Trace("RFSendTest returned: ", status, "\n\n");
}
RFAdvanceCredit
RFAdvanceCredit(Address, DLCI, credit)
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device
Can use “CONNECTED_DEVICE” to send a
test frame on a master RFCOMM connection.
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
Address
Bluetooth
address of
device
Can use “CONNECTED_DEVICE” to advance
a credit to a master RFCOMM connection. 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()