Users Manual Instruction Manual

233
CATC BTTRAINER 2.11 CHAPTER
Users Manual
RFAcceptPortSettings
RFAcceptPortSettings(bAccept)
Return value
“Success”
Comments
Example
status = RFAcceptPortSettings(0);
Trace("RFAcceptPortSettings returned: ", status, "\n\n");
RFCreditFlowEnabled
RFCreditFlowEnabled(Address, DLCI)
Return value
•“Enabled
“Disabled”
“Not Connected”
Comments
Checks to see if credit flow is enabled on a particular RFCOMM connec-
tion.
Example
result = RFOpenClientChannel(Device, 1);
DLCI = result[1];
Parameter Meaning Default Value Comments
bAccept Boolean value
indicating
whether to
accept the
channel or not
00 or 1
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device
Can use “CONNECTED_DEVICE” to check if
credit flow is enabled 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()