English
Language : 

AN91162 Datasheet, PDF (7/43 Pages) Ramtron International Corporation – Creating a BLE Custom Profile
Creating a BLE Custom Profile
1. PSoC Creator 3.2 (or later) along with PSoC Programmer 3.23 (or later)
2. CySmart™ Central Emulation Tool
3. CySmart iOS App or CySmart Android App
4. CY8CKIT-042-BLE Pioneer Kit
This project will use the following PSoC Creator Components: BLE, PrISM®, Clock, and Digital Output Pins. The project
schematic in PSoC Creator looks as shown in Figure 7:
Figure 7. PSoC Creator Project Schematic
Do the following to implement the project:
1. Create a PSoC Creator project.
2. Configure Components in PSoC Creator.
3. Write the firmware to handle BLE events and other Components.
4. Build the project and program the BLE Pioneer Kit.
5. Test the project using the CySmart tool or app.
This example project contains a custom service for RGB LED control that will be used to control the color and brightness of an
onboard RGB LED on the BLE Pioneer Kit.
For RGB LED control, you will define the data format as a 4-byte array of type uint8, as shown in Figure 8. Both Write and
Read properties will be supported.
Figure 8. RGB LED Data Format
RED
(0-255)
GREEN
0-255
BLUE
0-255
INTENSITY
0-255
www.cypress.com
Document No. 001-91162 Rev. *A
7