User's Manual
Enhanced Class 1 Bluetooth v2.1 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
76
CONN-GUIDE-BT740_v0.2
8.13 Get Open Channel List
This command obtains a list of channel IDs corresponding to connections which are open. It is a good
method of querying the module to see how many Bluetooth connections are established and their
corresponding channel ID numbers.
A host should not need to use this command as it should be keeping track of the following two events and
responses: EVT_DISCONNECT, EVT_CONNECTION_SETUP, RSP_MAKE_CONNECTION.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
10
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_CHANNEL_LIST
]
3
FLOW_IN
??
Runtime value
Response Packet
Offset
Field
Value
Comments
0
LENGTH
22
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_CHANNEL_LIST]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
5
Count
0..N
Number of connections which have been
established
6..21
Channel ID
List[16]
Array of 16 bytes
A nonzero value implies a connection
exists and the array element value
identifies the channel ID
8.14 Inquiry Commands
This group of commands performs inquiries and puts the module into discoverable mode.
8.14.1 Inquiry Request
This command performs a Bluetooth inquiry.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
6
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_INQUIRY_REQ]