Hciholdmode(), Hcimasterlinkkey(), Hciholdmode() hcimasterlinkkey() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 191
175
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
HCIHoldMode()
HCIHoldMode(Address, MaxInterval, MinInterval)
Return value
•
“Success”
•
“Failure”
•
“Failed: Device not found”
•
“Not connected”
Comments
Enters Hold mode with parameters as specified.
Example
Device = '010203040506';
result = HCIHoldMode(Device, 0xFFFF, 0x50);
Trace("HCIHoldMode result is: ", result, "\n");
HCIMasterLinkKey()
HCIMasterLinkKey(KeyFlag)
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device in
question
MaxInterval
Maximum
number of
0.625-msec
intervals to
wait in Hold
mode.
Range is 0x0001 to 0xFFFF
(0.625 msec to 40.9 sec).
MinInterval
Minimum
number of
0.625-msec
intervals to
wait in Hold
mode.
Range is 0x0001 to 0xFFFF
(0.625 msec to 40.9 sec).
Parameter
Meaning
Default Value
Comments
KeyFlag
0x0 use semi-permanent link keys
0x1 use temporary link keys