beautypg.com

Hciqossetup, Specifies the pin code to use for a connection – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 195

background image

177

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Comments

Specifies the PIN code to use for a connection.

Example

result = HCIPINCodeRequestReply('6C421742129F9', "New PIN

Code");

Trace("HCIPINCodeRequestReply returned: ", result, "\n");

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:

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