Hcireadencryptionmode – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 202

184
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
•
“Failure”
Current IAC LAP (element 1) is the 3-byte value of the LAPs (Lower
Address Part) that make up the current IAC (Inquiry Access Code).
Comments
Reads the number and values of the currently used IAC LAPs.
Example
result = HCIReadCurrentIACLAP();
if(result[0] == "Success")
{
Trace("Current number of used IAC LAPs is: ", result[1],
"\n");
if(result[1] > 0)
{
Trace("Currently used IAC LAPs are:");
for(i = 0; i < result[1]; i = i + 1)
{
Trace(" 0x", result[2 + i]);
}
Trace("\n\n");
}
}
HCIReadEncryptionMode
HCIReadEncryptionMode()
Return values
Returns a list with two values: status and encryption mode.
Status (element 0) is one of the following:
•
“Success”
•
“Failure”
Encryption mode (element 1) is the one-byte encryption mode value.
(0=Encryption disabled; 1=Encryption enabled for point-to-point packets
only; 2=Encryption enabled for both point-to-point and broadcast packets.)
Comments
Reads the encryption mode value. This value controls whether the local
device requires encryption to the remote device at connection setup.
Parameter
Meaning
Default Value
Comments
N/A