Exchange Features
Pairing starts by comparing IO capabilities, authentication flags, Secure Connections support, and key size.
Step through BLE pairing, IO capability selection, LE Secure Connections key exchange, authentication, and encrypted link setup.
Follow the Security Manager conversation that turns a first BLE connection into an encrypted link. Change IO capabilities, pairing method, and protocol generation to see why the same devices may end up with Just Works, Passkey Entry, Numeric Comparison, or OOB authentication.
Pairing starts by comparing IO capabilities, authentication flags, Secure Connections support, and key size.
The selected method depends on the two devices. No display or keyboard usually means Just Works.
Passkey, Numeric Comparison, and suitable OOB data add a user-verifiable step that blocks simple MITM attacks.
LE Secure Connections derives a 128-bit LTK from the ECDH result and can store keys for later reconnection.
Step through the SMP flow. The moving packet, device labels, timeline, and diagnosis all update together.
Devices exchange IO capabilities, MITM preference, Secure Connections support, bonding request, and maximum encryption key size.
Feature flags choose what can be secured.
The selected method gives user-verifiable MITM protection.
Use scenarios first, then override IO capabilities to test edge cases.
Pairing creates the keys and security properties needed for an encrypted LE link. Bonding stores those keys for future reconnections.
Display, keyboard, yes/no, and OOB support determine which association model is possible. NoInputNoOutput usually forces Just Works.
Convenient and common for simple devices, but unauthenticated. It encrypts traffic after pairing but does not prove the peer to the user.
A six-digit value is displayed, entered, or entered by both users. In LE Secure Connections it provides authenticated MITM protection.
LE Secure Connections only. Both sides display the same six-digit value and the user confirms that they match.
Authentication data arrives through a separate channel such as NFC, QR, wired setup, or provisioning. Security depends on that channel.
LE Secure Connections exchanges public keys and derives a shared DHKey without sending a private key over the radio link.
The Long Term Key is 128 bits and is used to start encryption for the current connection and later bonded sessions.
The full Bluetooth tables are detailed. This workbench keeps the learner-facing cases explicit:
Encryption and authentication are different outcomes. A Just Works link can become encrypted but still fail to prove that the peer is the intended device.