Users Manual Instruction Manual

118
CATC BTTRAINER 2.20 APPENDIX A
User’s Manual
A.11.2 AcceptPortSettings
This command will accept or reject PortSettings received during RequestPortSettings event.
This command should be executed before PortSettings request from another device. By
default, all requests are accepted.
A.11.3 AdvanceCredit
Advances a specified number of credits to a particular RFCOMM connection.
A.11.4 CloseClientChannel
This command will close an established RFCOMM channel between BTTrainer and a
remotely connected device.
Return Events
AcceptChannel_Complete
Command Parameters Examples Comments
Accept TRUE (Values: TRUE/FALSE)
Return Events
AcceptPortSettings_Complete
Command Parameters Examples Comments
(HCI / DLCI) (0x0001, 0x02)
Credit 20 Number of credits to advance
Return Events
AdvanceCredit_Complete
AdvanceCredit_Error
Command Parameters Examples Comments
(HCI/DLCI) (0x0001, 0x02) The DLCI value is returned by
the OpenClientChannel
command
Return Events
CloseClientChannel_Complete
CloseClientChannel_Error