Users Manual Instruction Manual
146
CATC BTTRAINER 2.11 CHAPTER
User’s Manual
B.4 HCI Commands
HCIAcceptConnectionRequest
HCIAcceptConnectionRequest()
Return value
• “Success”
Comments
Sets the accept connection request variable to True.
Example
status = HCIAcceptConnectionRequest();
HCIAddSCOConnection
HCIAddSCOConnection(Address, Type)
Return value
• “Success”
• “Not connected”
• “Not supported”
• “Failure”
Comments
Attempts to establish an SCO connection with the specified device.
An ACL connection must already be established with the device before
calling HCIAddSCOConnection.
Parameter Meaning Default Value Comments
N/A
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device to con-
nect with
Type Type of SCO
connection to
establish
[“HV3”] A list of one or more of the following strings:
“DM1”, “HV1”, “HV3” or “DV”