Datasheet

Page 113 of 161
nRF8001 Product Specification
Revision 1.2
24.15 Bond (0x10)
Bond starts advertising with the intent of setting up a trusted relationship with a peer device
24.15.1 Functional description
nRF8001 configuration must be completed before this command is issued.
See the operating mode during which this command can be used in Table 31. on page 92
. The command
will return a command response event with status ACI_STATUS_ERROR_DEVICE_STATE_INVALID
when it is used in the incorrect mode.
24.15.2 Message format
Table 52. ACI message structure for Bond
24.15.3 Accepted values
Table 53. Accepted values for parameters, Bond
24.15.4 Returned events
This command returns a series of events in a specific order. The order depends on the outcome of the
connection establishment and bonding procedure.
In the case of a successful bonding, the event order is:
CommandResponseEvent
ConnectedEvent
BondStatusEvent
In the case of a failed connection establishment or bonding procedure, the event order is:
CommandResponseEvent
ConnectedEvent (Optional)
DisconnectedEvent
Data returned in the
CommandResponseEvent is:
Message field/parameter
Value size
(bytes)
Data value Description
Header
Length 1 5 Packet length
Command 1 0x10
Bond
Content
Timeout 2 Advertisment time duration. Upon
timeout, nRF8001 stops advertising and
exits to Standby mode.
AdvInterval 2 Advertisment interval setting
Parameter Data value Description
Timeout
1-180
(0x0001 – 0x00B4)
Valid advertisement timeout range in seconds
AdvInterval 0x0020 to 0x4000 Advertising interval set in periods of 0.625 msec
(LSB/MSB)