Hciwriteencryptionmode(), Success” • “failure” • “invalid parameter, Hciwriteencryptionmode(encryptionmode) – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 222: Success

Advertising
background image

206

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

Return value

“Success”

“Failure”

“Invalid parameter”

Comments

Writes the number and values of the IAC LAPs to be used. One of the val-
ues has to be the General Inquiry Access Code, 0x9E8B33.

Example

result = HCIWriteCurrentIACLAP(2, 0x9E8B33, 0x9E8B34);

Trace("Result of HCIWriteCurrentIACLAP: ", result, "\n\n");

HCIWriteEncryptionMode()

HCIWriteEncryptionMode(EncryptionMode)

Return value

“Success”

IACLAPs

List of

IAC_LAPs,

each with a

value in the

range

0x9E8B00-0x

9E8B3F.

The number of values in this list must match the
NumCurrentIACs parameter.

Parameter

Meaning

Default Value

Comments

Encryption

Mode

Encryption

mode:

0 = Encryp-

tion disabled;

1 = Encryp-

tion enabled

for

point-to-point

packets only;

2 = Encryp-

tion enabled

for both

point-to-point
and broadcast

packets;

3-255=Reserv

ed

0

Parameter

Meaning

Default Value

Comments

Advertising