Datasheet

Page 152 of 161
nRF8001 Product Specification
Revision 1.2
26.10 DisplayKeyEvent (0x8E)
DisplayKeyEvent requests the application controller to display the 6 digit passkey.
26.10.1 Functional Description
DisplayKeyEvent is used as part of the pairing procedure. If Man In The Middle (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 DisplayKeyEvent is available.
26.10.2 Message Format
Table 103. ACI message structure for DisplayKeyEvent
26.10.3 Accepted values
Table 104. Accepted values for parameters, DisplayKeyEvent
26.10.4 Returned events
None
26.10.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
17
Command
10x8E
DisplaykeyEvent
Content
Passkey
6
The passkey to be displayed
Parameter Data value Description
Passkey
A fixed 6 byte ASCII string representing the passkey (no
NULL termination, '0'-'9' digits only) The number has to be
padded with zeroes if shorter than six digits.
Examples: "000123", "999999", "000000"