beautypg.com

Hcireadauthenticationenable – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 196

background image

178

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

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

Trace("Merlin's Wand Link QoS Setup returned: ", QoS[0],

"\n");

if (QoS[0] == "Success")

{

Trace(" Connection Handle : 0x", QoS[1], "\n");

Trace(" Flags : 0x", QoS[2], "\n");

Trace(" Service Type : 0x", QoS[3], "\n");

Trace(" Token Rate : 0x", QoS[4], "\n");

Trace(" Peak Bandwidth : 0x", QoS[5], "\n");

Trace(" Latency : 0x", QoS[6], "\n");

Trace(" Delay Variation : 0x", QoS[7], "\n\n");

}

HCIReadAuthenticationEnable

HCIReadAuthenticationEnable()

Parameter

Meaning

Default Value

Comments

N/A