beautypg.com

Rfacceptportsettings, Rfcreditflowenabled, Rfacceptportsettings rfcreditflowenabled – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 251

background image

233

CATC BTT

RAINER

2.11

C

HAPTER

User’s 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

0

0 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()