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
58
CONN-GUIDE-BT740_v0.2
8.7.4 Data Packets
The format for data packets is displayed in Table 8-5. The only method by which the host can stop the
module from sending this message is by sending a zero value in the FLOW_IN field of command
message, and even that is only for channels 1 to 7 inclusive.
Table 8-5: Data packet format
Octet
Field
Description
0
LENGTH
Total length of this packet, including this octet
1
CHANNEL
0 is an invalid value as this marks the packet as command/response or event.
The channel number is allocated as follows:
1 to 7 are dedicated serial port profile connections.
0x20, 0x80, 0x90..0x97,0xA0 are dedicated as HID data channels.
0x98..0x9F are dedicated for BLOB sending and receiving data from BLOBs.
0xB0 conveys HDP data and 0xB1 is a HDP continuation data channel.
0xF0 conveys Enhanced Inquiry Response Data to the host.
All other channels are reserved for future use.
2..N
DATA[]
Data to be processed for channel CHANNEL.
Data packets are symmetrical in format in both directions.
Note: Only data channels 1 to 7 inclusive have flow control via the FLOW_IN and FLOW_OUT fields
of command /confirm and response/event packets.
8.7.5 Data Channel Numbers
Table 8-6 summarizes channel ID allocation for various connections and profiles.
Table 8-6: Channel ID allocation
Channel
Number
Profile
Comments
0x0
-
All traffic routed to/from the protocol parser –this is a command,
confirm, or response packet
0x1
..
0x7
SPP
Serial Port profile data channels
See Note 1 below
0x20
HID DEVICE
Hid Device Channel – only one device allowed at a time
See Note 2 below
0xA0
HID DEVICE
Hid Device Channel – only one device allowed at a time
See Note 3 below
0x90
..
0x97
HID HOST
Hid Host Channels – multiple connections to devices is possible
See Note 4 below
0x98
..
0x9F
BLOB
MANAGER
Blob Manager Channels
See Note 5 below
0xA0
HID DEVICE
Hid Device Channel for sending and receiving raw HID reports.