Hcireadremotesupportedfeatures() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 210
194
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
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”
•
“Failed: Device not found”
•
“Not connected”
Features (element 1) is the eight-byte bit mask list of Link Manager Proto-
col features.
Comments
Reads the LMP supported features for the specified device. An ACL con-
nection with the device is required.
Example
Device = '010203040506';
result = HCIReadRemoteSupportedFeatures(Device);
Trace("HCIReadRemoteSupportedFeatures returned: ",
result[0], "\n");
if (result[0] == "Success")
{
Trace("Remote supported features data is: 0x",
result[1], "\n");
}
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device to con-
nect with.