Hcideletestoredlinkkey – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 188
170
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
Comments
This command is used to create a new unit key. The Bluetooth hardware
will generate a random seed that will be used to generate the new unit key.
All new connection will use the new unit key, but the old unit key will still
be used for all current connections.
Example
result = HCICreateNewUnitKey();
Trace(result);
HCIDeleteStoredLinkKey
HCIDeleteStoredLinkKey(Address, DeleteAll)
Return value
•
“Success”
•
“Failure”
Comments
Attempts to delete the stored link key for the specified address or for all
addresses, depending on the value of DeleteAll.
Example
result = HCIDeleteStoredLinkKey('6E8110AC0008', 1);
if(result != "Success")
{
MessageBox(result, "No link keys were deleted.");
}
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device that
will have its
link key
deleted
DeleteAll
Boolean value
that indicates
whether to
delete only the
specified
address's link
key, or all link
keys
0
0 or 1