User Manual

Table Of Contents
176
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
result = HCIExitSniffMode(Device);
Trace("HCIExitSniffMode result is: ", result, "\n");
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");
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).