User Manual

Table Of Contents
213
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
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)
Return value
“Success”
“Failure”
“Timed Out”
“Failed: Device not found”
“Not connected”
Comments
Attempts to write the voice settings for the specified address. A connection
must be established before voice settings can be written.
Example
result = HCIWriteVoiceSettings('6E8110AC0108', 0x0060);
Trace("HCIWriteVoiceSettings() returned: ", result,
"\n\n");
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device whose
voice settings
to write
VoiceSetting Three-digit
hex value con-
taining the
voice settings
Possible values:
0x0060=CVSD coding
0x0061=u-Law coding
0x0062=A-law coding