English
Language : 

AN91162 Datasheet, PDF (1/43 Pages) Ramtron International Corporation – Creating a BLE Custom Profile
Creating a BLE Custom Profile
AN91162
Author: Rohit Kumar
Associated Project: Yes
Associated Kit: CY8CKIT-042-BLE
Associated Part Family: CY8C4XXX-BL, CYBL10XXX
Software Version: CySmart PC Tool, PSoC® Creator™ 3.2
Related Application Notes: For a complete list of the related application notes, click here
To get the latest version of this application note, or the associated project file, please visit
http://www.cypress.com/go/AN91162.
AN91162 describes the methodology for developing a Bluetooth® Low Energy (BLE) application with PSoC 4 BLE or
PRoC BLE devices using a custom BLE profile. It provides an overview of custom profiles and services and the
procedure to build an application with PSoC 4 BLE using RGB LED control as an example. This application note also
applies to the PRoC BLE part.
Contents
Introduction .......................................................................1
PSoC Resources...............................................................2
PSoC Creator ...............................................................3
PSoC Creator Help.......................................................3
Code Examples ............................................................4
Standard Service Versus Custom Service ........................5
Defining a Custom BLE Profile..........................................5
Defining Services .........................................................5
Defining Characteristics................................................5
Defining Descriptors .....................................................6
PSoC Creator Project: RGB LED Custom Profile..............6
Create a PSoC Creator Project ....................................8
Configure Components.................................................8
Configure the BLE Peripheral.....................................14
RGB LED Control .......................................................18
Configure Project’s Design-Wide Resources..............20
Build the Project .........................................................23
Add a Source/Header File to Project ..........................23
Project Files................................................................24
Configure the Firmware ..............................................24
Build and Program......................................................31
Testing with CySmart Mobile App ..............................33
Testing with CySmart Central Emulation Tool ............34
Summary ......................................................................... 38
Related Information .........................................................38
Appendix .........................................................................39
A1: Send Notifications ................................................39
Worldwide Sales and Design Support .............................43
Introduction
Bluetooth Low Energy (BLE) is an ultra-low-power
wireless standard introduced by the Bluetooth Special
Interest Group (SIG) for short-range communication. The
BLE physical layer, protocol stack, and profile architecture
are designed and optimized to minimize power
consumption. Similar to Classic Bluetooth, BLE operates
in the 2.4-GHz ISM band but with a lower bandwidth of
1 Mbps.
Cypress PSoC 4 BLE is a programmable embedded
system-on-chip (SoC), integrating BLE along with
programmable analog and digital peripheral functions,
memory, and an ARM® Cortex®-M0 microcontroller on a
single chip.
This application note demonstrates how to easily use the
BLE Component GUI to create a custom BLE profile. You
will define the structure of the custom profile. The tool will
auto-generate APIs and event codes that are to be used.
You will then test the custom profile on Cypress’s
CY8CKIT-042-BLE Pioneer Kit.
www.cypress.com
Document No. 001-91162 Rev. *A
1