Hcipincoderequestreply(), Hciqossetup(), Hcipincoderequestreply() hciqossetup() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 194: Hcipincoderequestreply(address, pincode), Success” • “failure, Specifies the pin code to use for a connection

Advertising
background image

178

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

HCIPINCodeRequestReply()

HCIPINCodeRequestReply(Address, PINCode)

Return value

“Success”

“Failure”

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)

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of
device for

which PIN

code will be

used.

PINCode

PIN code to

use when con-

necting to the

device.

Must be 1 to 16 characters in length.

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

Advertising