You are here

项目编号 028:Bluetooth Low Energy Proximity Profile | 赛普拉斯半导体

项目编号 028:Bluetooth Low Energy Proximity Profile

In previous projects, we've talked about standard Bluetooth Low Energy 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 Bluetooth Low Energy Profiles like  CapSense, RGB-LED, Apple Notifications, and even a BLE-UART.



In today's project, we demonstrate a couple standard Bluetooth Low Energy Profiles that are useful for creating applications using RF proximity, based on the distance or a disconnection event from the Bluetooth Low Energy device. The BLE Pioneer Kit is programmed with the Bluetooth Low Energy 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 Bluetooth Low Energy 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 Bluetooth Low Energy 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

 

 BLE Screen Image with Chip

本网站上的所有内容和材料均“按原样”提供。赛普拉斯半导体公司及其各个供应商对这些材料用于任何用途的适用性不作陈述,并且对关于这些材料的所有担保和条件概不负责,包括但不限于有关适销性、针对特定用途之适用性、权利和不侵犯任何第三方知识产权的所有暗示担保和条件。赛普拉斯半导体公司不授予任何明示或暗示的许可(无论是以默许方式或是任何其他方式)。使用本网站上的信息可能需要第三方的许可,或赛普拉斯半导体公司的许可。

本网站上的内容可能包含或必须遵守关于使用的特定准则或限制。所有帖子和使用本网站上的内容都必须遵守本网站的条款与条件;使用这些内容的第三方必须同意遵守任何限制或准则,并遵守本网站的条款与条件。赛普拉斯半导体公司及其供应商保留随时对内容和材料、产品、计划和服务进行纠正、删除、修改、增强、改进或其他变更,或者移动或终止任何内容、产品、计划或服务的权利,恕不另行通知。