Wireless Protocols

Bluetooth Pairing

Bluetooth Pairing is the process of establishing a trusted, encrypted relationship between two devices by generating shared encryption keys. Classic Bluetooth uses Secure Simple Pairing (SSP, Bluetooth 2.1+) with ECDH P-192 key exchange. BLE uses LE Secure Connections (BLE 4.2+) with ECDH P-256, providing forward secrecy. Association models (Just Works, Numeric Comparison, Passkey, OOB) balance security against usability based on device I/O capabilities.
Category: Wireless Protocols
Encryption: AES-128 CCM

Understanding Bluetooth Pairing

The pairing process has three phases: (1) Feature Exchange (devices announce I/O capabilities and security requirements), (2) Key Generation (ECDH exchange creates a shared secret, association model authenticates it), and (3) Key Distribution (Long-Term Key, Identity Resolving Key, Connection Signature Key are shared and optionally stored for bonding).

MITM (Man-in-the-Middle) protection depends on the association model. Just Works provides encryption but no MITM protection. Numeric Comparison and Passkey Entry provide MITM protection. OOB provides the strongest security by exchanging keys over a separate channel (NFC tap).

Security Levels
Mode 1 Level 1: No security
Mode 1 Level 2: Unauthenticated (Just Works)
Mode 1 Level 3: Authenticated (Passkey/NC)
Mode 1 Level 4: Authenticated + LE SC (ECDH P-256)

Level 4 provides forward secrecy

Association Model Comparison

ModelUser ActionMITMUse Case
Just WorksNoneNoHeadsets, speakers
Numeric ComparisonConfirm 6-digitYesPhone-to-phone
Passkey EntryEnter 6-digitYesKeyboards
OOB (NFC)Tap devicesYesQuick pair
Common Questions

Frequently Asked Questions

Pairing vs Bonding?

Pairing: one-time key generation via ECDH. Bonding: storing keys for automatic reconnection. Without bonding, must re-pair each time.

Association models?

Just Works (no MITM), Numeric Comparison (confirm code), Passkey (enter code), OOB (NFC tap, strongest).

Legacy vs Secure Connections?

Legacy (4.0): TK/STK, vulnerable to eavesdropping. Secure Connections (4.2+): ECDH P-256, forward secrecy.

BLE Security

Request a Quote

Need Bluetooth security tools, protocol analyzers, or pairing test equipment? Contact our team.

Get in Touch