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
77
CONN-GUIDE-BT740_v0.2
Command Packet
Offset
Field
Value
Comments
3
FLOW_IN
??
Runtime value
4
MAXRESP
1..255
Maximum number of responses before aborting
the inquiry procedure
5
TIMEOUT
1..120
Time in seconds, before aborting the inquiry
procedure.
6
FLAGS
0..1
Bit 0 : 1 To allow repeat addresses.
Bits 1..6 Reserved for future
Bit 7 : Get Enhanced Inquiry responses
Response Packet
Offset
Field
Value
Comments
0
LENGTH
7
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_INQUIRY_REQ]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
5
TOTAL
??
The total number of inquiry responses that were
received from peers.
6
DUMP
??
The total number of inquiry result events that
were not sent because the transmit buffer of the
module was full. This is a result of the host
deasserting its RTS line.
As a result of this command, as and when peer devices respond with inquiry responses, for each inquiry
response, if bit 7 of the FLAGS field is zero then an event EVT_INQUIRY_RESULT sends to the host. If
bit 7 of FLAGS field is one then, given that enhanced inquiry data has variable length data for any given
response, the entire inquiry response sends via data channel 0xF0 to the host, with format described in
subsections below.
When the number of command-specified inquiry responses are received OR the specified time has
elapsed, the final response is sent to indicate to the host that the inquiry procedure is complete.
If the DUMP field in the response is non-zero, it is indicating that the host is not reading it’s receive buffer
fast enough and is resulting in RTS deasserting towards the module.
FLAGS bit 1-4 in future are to specify a limited access code inquiry.
See message sequence diagram (Figure 8-6) which illustrates that the RSP_INQUIRY_REQ message
terminates the inquiry process.
8.14.2 Enhanced Inquiry Data Packet Format
When enhanced inquiry responses are requested via FLAGS bit 7 being set, each inquiry response sends
to the host in data channel 0xF0 and the packet is formatted as follows:
LL F0 AAAAAAAAAAAA CCCCCC RR EE…….EE