User Manual

Table Of Contents
208
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
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”
“Failure”
“Invalid parameter”
Comments
Controls whether the local device requires encryption to the remote device
at connection setup.
Example
result = HCIWriteEncryptionMode(0);
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