User Manual

Table Of Contents
181
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
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()
Return values
Returns a list with two values: status and authentication enable.
Status (element 0) is one of the following:
“Success”
“Failure”
Authentication enable (element 1) is the one-byte authentication enable
value. (0=Authentication disabled; 1=Authentication enabled.)
Parameter Meaning Default Value Comments
N/A