SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
To enable bonding with a Just Works pairing, use the following settings:
For an overview of this process for peripheral device, see Figure 5-6.
NOTE
GAPBOND_PAIRING_STATE_COMPLETE is only passed to the application pair state callback after the initial connection, pairing, and bond. For future connections, the security keys loads from flash. This capability skips the pairing process. In this case, only PAIRING_STATE_BONDED is passed to the application pair state callback.