User Manual

Table Of Contents
195
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
HCIReadPINType()
HCIReadPINType()
Return values
Returns a list with two values: status and PIN type.
Status (element 0) is one of the following:
“Success”
“Failure”
PIN type (element 1) is the one-byte PIN type. (0=Variable PIN; 1=Fixed
PIN.)
Comments
Reads the PIN type, which determines whether the Host supports variable
PIN codes or only a fixed PIN code.
Example
result = HCIReadPINType();
Trace("HCIReadPINType returned: ", result[0], "\n");
if (result[0] == "Success")
{
Trace("PIN type is: 0x", result[1], "\n");
}
HCIReadRemoteSupportedFeatures()
HCIReadRemoteSupportedFeatures(Address)
Return values
Returns a list with two values: status and features.
Status (element 0) is one of the following:
“Success”
“Failure”
Parameter Meaning Default Value Comments
N/A
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device to con-
nect with.