Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 244

Advertising
background image

228

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

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");

}

FlowControl

List of strings

indicating port

flow control

options

Can be “RF_FLOW_CTRL_NONE”,
“RF_XON_ON_INPUT”,
“RF_XON_ON_OUTPUT”,
“RF_RTR_ON_INPUT”,
“RF_RTR_ON_OUTPUT”,
“RF_RTC_ON_INPUT”,
“RF_RTC_ON_OUTPUT”,
“RF_FLOW_RTS_CTS”,
“RF_FLOW_DTR_DSR”,
“RF_FLOW_XON_XOFF”

Xon

Number indi-

cating the

XON charac-

ter

Xoff

Number indi-

cating the

XOFF charac-

ter

Parameter

Meaning

Default Value

Comments

Advertising