User Manual

128
CATC MERLINS WAND 1.22 APPENDIX A
User’s Manual Command Generator Command Descriptions
OpenClientChannel
This command will open an RFCOMM channel.
RegisterServerChannel
This command will register ServerChannel with an RFCOMM server so
that the server can respond to incoming OpenClientChannel requests.
RequestPortSettings
This command will request a change to the current PortSettings.
Command Parameters Examples Comments
HCI_Handle 0x0001
ServerChannel 0x01 Range: 1-30
MaxFrameSize 0x7F Range: 23-32767
Default is 127
Credit 0x20 The number of frames that
the sender has available
Return Events
OpenClientChannel_Complete
OpenClientChannel_Failed
Command Parameters Examples Comments
N/A
Return Events
RegisterServerChannel_Complete
RegisterServerChannel_Error
Command Parameters Examples Comments
(HCI/DLCI) (0x0001, 0x02) For values, see below.
BaudRate 9600
DataFormat 0x02
FlowControl 0x00
Xon 0x11
Xoff 0x13
Return Events
RequestPortSettings_Complete
RequestPortSettings_Failed