You are here

Project #017: BLE Privacy | Cypress Semiconductor

Project #017: BLE Privacy

In projects #014, #015 and #016, we learned a few BLE security concepts, including Whitelists, Bonding and Authentication.

In today's project, we explore another BLE security concept called Privacy. The BLE Privacy feature provides higher level of security to a connection. Once two devices have exchanged and stored (Bonded) Keys as part of their Pairing process, they can use a Private Address instead of a Public Address to further secure the connection. A peer device that has the encryption Keys can resolve this Private Address and establish the identity of the device. The two devices need not exchange encryption Keys again, since this information is already present once the devices are Bonded.

This example consists of two projects - one for the BLE Pioneer Kit which acts as the GAP Peripheral, and another project for the CySmart USB Dongle (included in the BLE Pioneer Kit), which acts as the GAP Central. A UART debug interface is provided to send commands via terminal, for both the GAP Central and GAP Peripheral.

You can download this PSoC Creator project along with a detailed PDF of instructions, here from GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day017_Privacy

 

   

 

 

 

 

Comments

MarleneRoquefort's picture

Hi all,

 

In this project, is it possible for the peripheral to bond with up to 4 centrals? If yes, and after a bonding accured between the peripheral and the first central, how does the second central bonds to the peripheral (the peripheral uses the private adress)? 

I thank you in advance,

Marlene

sherapova_2972126's picture

The site is looking piece ostentatious and it gets the guests eyes. Outline is really basic and a decent easy to use interface. Rutabagas

zacknight_2986731's picture

Extraordinary articles and incredible format. Your blog entry merits the greater part of the positive input it's been getting. brian holm lawyer san diego

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.