User Manual

Table Of Contents
180
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
HCIQoSSetup()
HCIQoSSetup(Address, ServiceType, TokenRate,
PeakBandwidth, Latency, DelayVariation)
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.)
Parameter Meaning Default Value Comments
Address Bluetooth
address of the
remote
ServiceType The one-byte
service type:
0=No traffic;
1=Best effort;
2=Guaranteed
TokenRate The four-byte
token rate
value in bytes
per second
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