Project #028: BLE Proximity Profile | Cypress Semiconductor
Project #028: BLE Proximity Profile
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:
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