Hcichangelocalname(), Hcideletestoredlinkkey(), Hcichangelocalname() hcideletestoredlinkkey() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 188
Advertising
172
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
HCIChangeLocalName()
HCIChangeLocalName(Name)
Return value
•
“Success”
•
“Failure”
Comments
Attempts to change the name of the local device.
Example
result = HCIChangeLocalName("Joe's Device");
if(result != "Success")
{
MessageBox(result, "Failed to change name!");
}
HCIDeleteStoredLinkKey()
HCIDeleteStoredLinkKey(Address, DeleteAll)
Return value
•
“Success”
Parameter
Meaning
Default Value
Comments
Name
String that
contains the
new name for
the local
device
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
Advertising