Datasheet
Page 153 of 161
nRF8001 Product Specification
Revision 1.2
26.11 KeyRequestEvent (0x8F)
KeyRequestEvent requests the application controller to enter the passkey.
26.11.1 Functional Description
KeyRequestEvent is used as part of the pairing procedure. If MITM security and applicable IO capabilities
for the peripheral application as defined in Table 5. on page 30
are set then this event is generated. Device
configuration must be completed before KeyRequestEvent is available.
The application controller must send the SetKey command (see section 24.21 on page 124
) after receiving
this event. The SetKey command must be sent from the application controller to nRF8001 within 30
seconds of the KeyRequestEvent being received. When the SetKey command is not sent within 30
seconds the bonding will fail and the link will be terminated.
26.11.2 Message Format
Table 105. ACI message structure for KeyRequestEvent
26.11.3 Accepted values
Table 106. Accepted values for parameters, KeyRequestEvent
26.11.4 Returned events
None
26.11.5 Bluetooth low energy procedures used
This command uses the following GAP procedure:
•
Bluetooth Core specification v4.0, Vol 3, Part C, Sect. 10
Message field/
parameter
Value size
(bytes)
Data value Description
Header
Length
12
Command
10x8F
KeyRequestEvent
Content
Key Type
1
Which key is requested
Parameter Data value Description
KeyType
0x01 Passkey requested