Hcireadloopbackmode(), Hcireadnumberofsupportediac() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 206
190
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
Trace("LMP subversion is: 0x",
result[5], "\n");
}
HCIReadLoopbackMode()
HCIReadLoopbackMode()
Return values
Returns a list with two values: status and loopback mode.
Status (element 0) is one of the following:
•
“Success”
•
“Failure”
Loopback mode (element 1) is the one-byte loopback mode value. (0=No
loopback mode; 1=Local loopback mode; 2=Remote loopback mode.)
Comments
Reads the loopback mode value. This value determines the path by which
the Host Controller returns information to the Host.
Example
result = HCIReadLoopbackMode();
Trace("HCIReadLoopbackMode returned: ", result[0], "\n");
if (result[0] == "Success")
{
Trace("Loopback mode is: 0x", result[1], "\n");
}
HCIReadNumberOfSupportedIAC()
HCIReadNumberOfSupportedIAC()
Return value
Returns a list with two values: status and number of supported IAC.
Status is one of the following:
•
“Success”
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
N/A