Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 195

Advertising
background image

179

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

Return values

Returns a list with eight values: status, HCI handle, flags, service type,
token rate, peak bandwidth, latency,
and delay variation.

Status (element 0) is one of the following:

“Success”

“Failure”

HCI handle (element 1) is the handle for the ACL connection.

Flags (element 2) is a one-byte value reserved for future use.

Service type (element 3) is the one-byte service type. (0=No traffic; 1=Best
effort; 2=Guaranteed.)

Token rate (element 4) is the four-byte token rate value in bytes per second.

Peak bandwidth (element 5) is the four-byte peak bandwidth value in bytes
per second.

Latency (element 6) is the four-byte latency value in microseconds.

Delay variation (element 7) is the four-byte delay variation value in micro-
seconds.

Comments

This command is used to specify Quality of Service parameters for the con-
nection.

Example

QoS = HCIQoSSetup('00803713BDF0', 2, 0, 0, 0x12345678,

0x23456789);

Peak

Bandwidth

The four-byte

peak band-

width value in

bytes per sec-

ond

Latency

The four-byte

latency value

in microsec-

onds

Delay

Variation

The four-byte

delay varia-

tion value in

microseconds

Parameter

Meaning

Default Value

Comments

Advertising