Nordic
Establish a secured Bluetooth LE relationship with a central using the nRF Connect SDK, persist bonding information, and recognize the bonded peer after reconnect and reboot.
Applies when
Use after basic Nordic BLE connectivity is working when the product needs trusted repeat connections, authenticated access, or characteristics protected by a security level. Requires a device with a BLE radio.
Show pattern details
Hide pattern details
Intent
Inspect the project's existing Bluetooth/GATT configuration, enable an appropriate security level and bonding flow, pair with a central, persist the relationship using the project's Bluetooth settings storage, then reconnect after disconnect and device reboot.
Expectation
Initial pairing succeeds, the bond is stored, and subsequent connections from the same central restore the bonded relationship without repeating the full initial pairing flow unless policy requires it.
Success criteria
Initial pairing completes without security errors, bond information persists, and the same central reconnects successfully after disconnect and device reboot with the expected bonded/security state. No unintended re-pair prompt or loss of the stored peer occurs.
How it is verified
Use a BLE central that exposes pairing/bonding state. Capture the initial pairing, security level/result, disconnect/reconnect, device reboot, and post-reboot reconnection. Correlate central-side state with firmware security and settings logs, and verify a protected operation when the application exposes one.