User Manual Part 1

CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *A 62
Example Projects
11.To disconnect from the BLE Pioneer kit, return to the CySmart app home screen by pressing the
back button.
12.To reconnect to the peripheral, press the user button (SW2) on the BLE Pioneer kit again and
then scan for devices using CySmart mobile app.
4.3 CapSense Proximity
4.3.1 Project Description
This project demonstrates BLE connectivity between the BLE Pioneer kit (acting as a peripheral and
server device) and the BLE dongle or mobile device running the CySmart application (acting as a
central and client device). This project demonstrates the following:
Advertisement with timeout
Connection with any BLE Central device
One custom service
Data transfer over BLE custom service using notifications
Low-power mode implementation for coin cell operation
The BLE profile in this project consists of a single BLE custom service, called CapSense. The
CapSense service consists of a custom characteristic, termed as CapSense Proximity. The
CapSense proximity characteristic is used to send one byte data, ranging from 0 to 255, as
notification to the client device. This data is the difference count read by the CapSense component
on the one-wire proximity sensor (J14) connected on the kit. This characteristics supports
notification, which allows the BLE server to send data to the connected client device whenever new
data is available.
The properties for the custom service/characteristics are configured in the BLE component under the
Profiles tab, as shown in Figure 4-32.
Figure 4-32. Attributes Configuration in BLE Component for CapSense Proximity