Hcicatcreadheadsetgain, Hcicatcreadencryptionkeysize – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 177

159
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
Trace("HCICatcQoSResponse: ", result , "\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.
HCICatcReadEncryptionKeySize
HCICatcReadEncryptionKeySize()
Return value
Returns a list with two values: Status and KeySize
Status
Return
•
"Success"
•
"Failure"
Parameter
Meaning
Default Value
Comments
Device
Speaker or
microphone
Values: “Speaker”, “Microphone”
Parameter
Meaning
Default Value
Comments
N/A