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
60
CONN-GUIDE-BT740_v0.2
8.7.6 Host Packet Receive Flowchart
As optimal data throughput is the design goal, the format and detail of packets have been constructed
appropriately. It is recommended that the host implement the following flowchart, for rapid servicing and
flow control of packets.
On Packet Receive
Pkt[2] & 0x80
==0
Pkt[1] ==0
Yes (Command)
No (Data)
Yes (Response)
No (Event)
Len >= 5
Len >= 4
Process
DATA
Len > 2
Yes
Yes
Yes
Process
RESPONSE
Process
EVENT
EVT ==
UNKNOWN_CMD
End
Yes
Module will
be ready to
recieve new
command
Module will
be ready to
recieve new
command
Figure 8-1: Host packet receive flowchart