Hciwritestoredlinkkey() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 227

Advertising
background image

211

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

“Timed out”

“Failure”

Comments

Sets the accessible mode of Merlin’s Wand.

Example

HCIWriteScanEnable("CONNECTABLE_ONLY");

HCIWriteStoredLinkKey()

HCIWriteStoredLinkKey(Address, LinkKey)

Return value

“Success”

“Failure”

Comments

Attempts to store the link key for the specified address. If a link key
already exists for the specified address, it will be overwritten.

Example

result = HCIWriteStoredLinkKey('6E8110AC0108', "ABC123");

Trace("HCIWriteStoredLinkKey() returned: ", result,

"\n\n");

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device that

will have its

link key stored

LinkKey

String con-

taining the

link key to be

stored

Up to 32 Hex digits

Advertising