You are here

Project #028: BLE Proximity Profile | Cypress Semiconductor

Project #028: BLE Proximity Profile

In previous projects, we've talked about standard BLE Profiles, or more specifically, Adopted GATT Profiles with examples like Heart Rate Sensors, Thermometers and the Find Me project.

We've also seen a few examples of custom BLE Profiles like  CapSense, RGB-LED, Apple Notifications, and even a BLE-UART.


In today's project, we demonstrate a couple standard BLE Profiles that are useful for creating applications using RF proximity, based on the distance or a disconnection event from the BLE device. The BLE Pioneer Kit is programmed with the BLE Proximity Profile.

A BLE Proximity Profile has two roles, a Reporter (GATT Server) and a Monitor (GATT Client). It is typical for the GATT Server to also be the GAP Peripheral, but that is not mandatory.

This profile contains the following Services:

   Immediate Alert Service (IAS): Recall from Project #001: Find Me, IAS can be used to trigger alerts on a peer BLE device

   Link-Loss Service: Contains an Alert Level Characteristic that continues until the radio link is disconnected

   TX Power Service: Shows the radio's transmit (Tx) power level when in a connection


This example project implements the Proximity Profile while also allowing dynamic control of the radio Tx power by simply pressing a button. The BLE radio in PSoC 4 BLE can be set to a power level from -18 dBm to +3 dBm.

You can use the CySmart mobile app to see the change in radio power level. You can also use the app to test the Link-Loss Service by either walking out of range or closing the app. This causes a disconnection between the kit and the mobile phone and trigger the alert LEDs on the kit.

Download this PSoC Creator project and a detailed PDF of instructions, here from GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day028_BLE_Proximity

 

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.