Users Manual Instruction Manual

218
CATC BTTRAINER 2.11 CHAPTER
Users Manual
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");
B.5 OBEX Commands
OBEXClientConnect
OBEXClientConnect(Address)
Return value
“Success”
“Failure”
“Failed: Busy”
“Failed: Not connected”
“Failed: Packet too small”
Comments
Establishes an OBEX client connection with the specified device.
VoiceSetting Three-digit
hex value con-
taining the
voice settings
Possible values:
0x0060=CVSD coding
0x0061=u-Law coding
0x0062=A-law coding
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device to con-
nect with
Parameter Meaning Default Value Comments