Project #032: OOB Pairing | Cypress Semiconductor
Project #032: OOB Pairing
April 03, 2015
When thinking of controlling critical devices such as security locks etc. via BLE, a user always comes to the delima, "Is BLE the correct protocol for me?", what if somebody sniffs the packet transferred over BLE and gets an access to all the information.
To address such concerns, BLE protocol provides various levels of security features such a MITM protection, etc. With MITM, there is still 1 in a million chance that a hacker may get access to all the informaiton. To address such concerns, BLE protocl provides a feature called Out-of-Band (OOB) Pairing. In this mode of pairing, instead of sharing the secret keys over the 2.4 GHz band used by the BLE protocol, it makes use of other mediums such as the Near Field Communication (NFC). Once, the secret keys are exchanged it then encrypts the channel to ensure the highest level of security.
Today's example of 100 Projects series, demonstrates the OOB pairing between two PSoC 4 BLE devices using the NFC communication. In this example for demonstrating the OOB pairing, a simple static handover technique is used. In this technique, the connection information including the security key is statically stored in an NFC tag. This demo intends to show how to use OOB APIs in PSoC4 BLE. Therefore, an end-application should implement as per the guidelines from the Bluetooth spec.
You can download this PSoC Creator project along with the custom app and a detailed project documentation, here from GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day032_OOB_Pairing