User Manual

Table Of Contents
168
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
Sleep(2000);
}
status = HCIRemoveSCOConnection('00803713BDF0');
Trace("SCO disconnect result: ", status, "\n");
}
status = Disconnect('00803713BDF0');
Trace("Disconnect result: ", status, "\n");
}
}
HCICatcEnterTestMode()
HCICatcEnterTestMode(Address)
Return value
“Success”
“Failure”
“Not found”
“Not connected”
Comments
This command is used to put the remote device identified by its Bluetooth
address into test mode.
Example
See the example for HCICatcBerTest command.
HCICatcReadHeadsetGain()
HCICatcReadHeadsetGain(Device)
Return values
Returns a list with two values: status and gain.
Status (element 0) is one of the following:
Parameter Meaning Default Value Comments
Address Bluetooth
address of
remote device
Parameter Meaning Default Value Comments
Device Speaker or
microphone
Values: “Speaker”, “Microphone”