Rfacceptportsettings(), Rfcreditflowenabled(), Rfacceptportsettings() rfcreditflowenabled() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 242

Advertising
background image

226

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

Comments

Example

status = RFAcceptChannel(1);

Trace("RFAcceptChannel returned: ", status, "\n\n");

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”

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

Advertising