Users Manual Instruction Manual

120
CATC BTTRAINER 2.20 APPENDIX A
User’s Manual
A.11.8 RegisterServerChannel
This command will register ServerChannel with an RFCOMM server so that the server can
respond to incoming OpenClientChannel requests.
A.11.9 RequestPortSettings
This command will request a change to the current PortSettings.
Command Parameters Examples Comments
AttachTo
Return Events
RegisterServerChannel_Complete
RegisterServerChannel_Error
Command Parameters Examples Comments
(HCI/DLCI) (0x0001, 0x02)
BaudRate 9600 Specifies the baud rate. Note
that the baud rate setting does
not actually affect RFCOMM
throughput.
Values: 2400, 4800, 7200, 9600,
19200, 38400, 57600, 115200,
230400
DataFormat 0x02 The following values identify
the number of data bits:
0x00 -- DATA_BITS_5
0x02 -- DATA_BITS_6
0x01 -- DATA_BITS_7
0x03 -- DATA_BITS_8
FlowControl 0x00 0x00 -- FLOW_CTRL_NONE
0x01 -- XON_ON_INPUT
0x02 -- XON_ON_OUTPUT
0x04 -- RTR_ON_INPUT
0x08 -- RTR_ON_OUTPUT
0x10 -- RTC_ON_INPUT
0x20 -- RTC_ON_OUTPUT
Xon 0x11 Default Xon char -- 0x11
Xoff 0x13 Default Xoff char -- 0x13
Return Events
RequestPortSettings_Complete
RequestPortSettings_Failed