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
118
CONN-GUIDE-BT740_v0.2
9 MODULE EVENTS
This section describes all module originated asynchronous events in detail and is specified via the
EVT_ID field of all event packets.
The description for each event below is in the form of an event packet tables.
Each event has a unique EVT_ID value in the range 129 to 255 (0x81 to 0xFF), 0x80 is reserved.
The actual value of EVT_ID in the Value column is described as [Descriptive_Name] where
“Descriptive_Name” can be found in a ‘C’ header file, obtained on request from Laird.
9.1 Inquiry Events
This group of events is inquiry related.
9.1.1 Inquiry Result
This event sends the inquiry response from a peer as a result of an inquiry request.
Event Packet
Offset
Field
Value
Comments
0
LENGTH
13
1
CHANNEL
0
2
EVENT
[EVT_ INQUIRY_RESULT]
3
FLOW_OUT
??
Runtime value
4..9
BDADDR[6]
Nap[0,1]:Uap[2]:Lap[3,4,5]
Bluetooth address of responding device
10..12
DEVCLASS[3]
0x000000 .. 0xFFFFFF
Device class of responding device
9.2 Information Events
This group of events conveys information about the module, for example to status.
9.2.1 Unknown Command
This event informs the host that a received command had an unknown COMMAND value. The
COMMAND value echoes in offset 4.
Event Packet
Offset
Field
Value
Comments
0
LENGTH
1
CHANNEL
2
EVENT
[EVT_UNKNOWN_COMMAND]
3
FLOW_OUT
??
Runtime value
4
Command
xx
CMD_ID value echoed from command