Registerserverchannel, Requestportsettings – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 141

Advertising
background image

125

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

A

User’s Manual

Command Generator Command Descriptions

RegisterServerChannel

This command will register ServerChannel with an RFCOMM server so
that the server can respond to incoming OpenClientChannel requests.

RequestPortSettings

This command will request a change to the current PortSettings.

Parameter Values:

BaudRate: Specifies the baud rate. Note that the baud rate setting does not
actually affect RFCOMM throughput.

Values: 2400, 4800, 7200, 9600, 19200, 38400, 57600, 115200, 230400

DataFormat: The following values identify the number of data bits.

Values:

0x00 -- DATA_BITS_5
0x02 -- DATA_BITS_6
0x01 -- DATA_BITS_7
0x03 -- DATA_BITS_8

Flow Control:

Values:

Command Parameters

Examples

Comments

AttachTo

Command_Generator

Virtual_COM_Port

Return Events

RegisterServerChannel_Complete

RegisterServerChannel_Error

Command Parameters

Examples

Comments

(HCI/DLCI)

(0x0001, 0x02)

For values, see below.

BaudRate

9600

DataFormat

0x02

FlowControl

0x00

Xon

0x11

Xoff

0x13

Return Events

RequestPortSettings_Complete

RequestPortSettings_Failed

Advertising