Users Manual Instruction Manual

217
CATC BTTRAINER 2.11 CHAPTER
Users Manual
Comments
Sets the accessible mode of BTTrainer.
Example
HCIWriteScanEnable("CONNECTABLE_ONLY");
HCIWriteStoredLinkKey
HCIWriteStoredLinkKey(Address, LinkKey)
Return value
“Success”
“Failure”
Comments
Attempts to store the link key for the specified address. If a link key already
exists for the specified address, it will be overwritten.
Example
result = HCIWriteStoredLinkKey('6E8110AC0108', "ABC123");
Trace("HCIWriteStoredLinkKey() returned: ", result,
"\n\n");
HCIWriteVoiceSettings
HCIWriteVoiceSettings(Address, VoiceSetting)
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device that
will have its
link key stored
LinkKey String contain-
ing the link
key to be
stored
Up to 32 Hex digits
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device whose
voice settings
to write