Hcicatcreadheadsetgain(), Catc_read_pin_response_enable() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 184
![background image](/manuals/353532/184/background.png)
168
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s 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");
}
}
HCICatcReadHeadsetGain()
HCICatcReadHeadsetGain(Device)
Return values
Returns a list with two values: status and gain.
Status (element 0) is one of the following:
•
“Success”
•
“Failure”
•
“Not found”
•
“No SCO connection”
Gain (element 1) is the one-byte value of the headset gain. Range is 0 to
15.
Comments
This command is used to read current gain of connected speaker or micro-
phone. In order to use this command, an SCO connection must exist.
Example
See the example for the HCICatcChangeHeadsetGain command.
CATC_Read_PIN_Response_Enable()
Read the global flag for allowing PINs to be sent to requesting devices during
authentication.
Parameter
Meaning
Default Value
Comments
Device
Speaker or
microphone
Values: “Speaker”, “Microphone”
Command Parameters
Examples
Comments
NA