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
123
CONN-GUIDE-BT740_v0.2
9.4.2 Link Key Ex
This event sends to the host when CMD_TRUSTED_DB_ISTRUSTED processes, a link key for that peer
device exists, and S Register 47 is set to 1. It conveys the link key along with the Bluetooth address to the
host.
Event Packet
Offset
Field
Value
Comments
0
LENGTH
30
1
CHANNEL
0
2
EVENT
[EVT_ LINK_KEY_EX]
3
FLOW_OUT
??
Runtime value
4..9
BDADDR[6]
Nap[0,1]:Uap[2]:Lap[3,4,5]
Bluetooth address of paired device
10..25
KEY[16]
16 byte array
The link key
26..29
RFU[4]
4 byte array
Reserved for future
9.4.3 Pin Code Request
This event informs the host that a remote device requested a pairing and the procedure requires a pin
code to complete.
Event Packet
Offset
Field
Value
Comments
0
LENGTH
10
1
CHANNEL
0
2
EVENT
[EVT_
PINCODE_REQUEST]
3
FLOW_OUT
??
Runtime value
4..9
BDADDR[6]
Nap[0,1]:Uap[2]:Lap[3,4,5]
Bluetooth address of pairing device
The host sends a CMD_PINCODE in response to this event.
This event receives if ‘accept pairing while in connectable mode’ enables via S Register 15.
9.4.4 Simple Pairing
This event informs the host that a simple pairing procedure is in progress and the ‘action’ byte in offset 10
tells the host what to do.
Event Packet
Offset
Field
Value
Comments
0
LENGTH
15
1
CHANNEL
0
2
EVENT
[EVT_ SIMPLE_PAIRING]