SWRA846 July 2025 CC2642R-Q1
As mentioned above, the LE Legacy mode supports three association modes, while LE Secure Connections supports four association modes. The critical difference between the two protocol versions lies in the security foundation of the key generation mechanism: LE Legacy relies on short-term key exchanges that are vulnerable to cracking, whereas LE Secure Connections achieves permanent forward secrecy through the cryptographically stronger ECDH algorithm. Developers can enforce the LE Secure Connections mode to circumvent known vulnerabilities of LE Legacy at the protocol layer. Two devices that have established a Bluetooth connection will negotiate the association mode to be adopted by both parties at the early stage of connection establishment. For specific rules to follow, please see GAP Bond Manager and LE Secure Connections — SimpleLink™ CC13XX/CC26XX SDK BLE5-Stack User's Guide 2.2.11.00 documentation. The association modes supported by BLE devices are divided into four types, and their characteristics and differences are shown in the table below:
| Association Mode | Just Works | Passkey Entry | Numeric Comparison | Out of Band |
|---|---|---|---|---|
| Core Mechanism | No user authentication; pairing completes automatically. | The user enters a 6-digit numeric password displayed on one device into the other device. | Both devices display a 6-digit number, and the user confirms whether they are identical. | Pairing information is securely exchanged in advance via non-BLE methods (such as NFC or QR codes). |
| User Interaction | None | The user must input the password. | The user only needs to **confirm** whether the displayed values match. | Usually only requires bringing the devices close together or scanning once. |
| Security Level | Lowest | Medium to High | High | Highest |
| Mitigation of MITM Attacks | None | Requires the attacker to know and input the correct password in real time to successfully execute an MITM attack. | Requires the attacker to simultaneously tamper with the values displayed to the user on both devices without being detected. | Relies on the security of the OOB channel (usually physical security). |
| Applicable Connection Method | Legacy Pairing / Secure Connections | Legacy Pairing / Secure Connections | Secure Connections | Legacy Pairing / Secure Connections |
| Key Generation Foundation | STK/LTK | STK/LTK | LTK | LTK |
| Applicable Scenarios | Devices with low security requirements, or devices lacking input/output capabilities. | One device has display capability (displays password) and the other has input capability (keyboard to input password). | Devices where both sides possess display capabilities. | Scenarios requiring the highest security or pursuing ultimate convenience; devices supporting identical OOB technologies on both sides. |
In the security ranking of association modes, Just Works offers the lowest security, while the OOB method provides the highest security. The system will automatically select the most secure association mode for pairing based on the capabilities supported by both devices. For the complete secure association mode selection flow and detailed specifications, please refer to the Bluetooth Core Specification version v5.2 [Vol 3] Part H, Section 2.3.5.1, Table 2.7 and Table 2.8.