C.8 l2cap commands, L2capconfigurationrequest(), L2cap commands – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 253

Advertising
background image

237

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

result = TCSSendInfoMessage("4088447081");

Trace("TCSSendInfoMessage result : ", result, "\n");

if( result != "Success")

return result;

Sleep(1000);

result = TCSDisconnectCall();

Trace("TCSDisconnectCall result : ", result, "\n");

if( result != "Success")

return result;

Sleep(1000);

Trace("HCI Disconnect result: ",

Disconnect(Device[0]), "\n");

}

C.8 L2CAP Commands

L2CAPConfigurationRequest()

L2CAPConfigurationSetup(FlushTimeout, ServiceType,
TokenRate, TokenBucketSize, PeakBandwidth, Latency,
DelayVariation)

Parameter

Meaning

Default Value

Comments

FlushTimeout

Amount of

time that the

sender will

attempt trans-

mission before

flushing the

packet

0xFFFF

Time is in milliseconds.

ServiceType

The required

level of ser-

vice

0x01

Possible values: 0x00 (no traffic), 0x01 (best
effort),0x02 (guaranteed), Other (reserved)

TokenRate

The rate at

which traffic

credits are

granted

0x00000000 0x00000000: no token rate is specified.

0xFFFFFFFF: a wild card value that matches the
maximum token rate.
Rate is in bytes per second.

TokenBucket

Size

The size of the

token bucket

0x00000000 0x00000000: no token bucket is needed.

0xFFFFFFFF: a wild card value that matches the
maximum token bucket.
Size is in bytes.

Advertising