User Manual

Table Of Contents
158
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
Return value
Array of Bluetooth addresses that were found during the inquiry.
Comments
Calling DoInquiry() will block for the duration specified by Timeout. The
function returns an array of devices that were found during the inquiry.
These can be addressed individually.
The current version of Merlin's Wand hardware only supports GIAC
inquiries.
Example
# Use default parameters
Devices = DoInquiry();
Trace("First device was: ", Devices[0]);
GetDeviceClass()
GetDeviceClass()
Return value
Class of device
“Failure”
Comments
Returns the current device class of Merlin’s Wand
Example
Trace("Merlin's Wand device class: ", GetDeviceClass());
GetRemoteDeviceName()
GetRemoteDeviceName(Address)
Parameter Meaning Default Value Comments
N/A
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device in
question