English
Language : 

AN91162 Datasheet, PDF (31/43 Pages) Ramtron International Corporation – Creating a BLE Custom Profile
Creating a BLE Custom Profile
for(;;)
{
/* Process BLE Events. This generates events in the callback function */
CyBle_ProcessEvents();
}
}
CyBle_ProcessEvents() should be called periodically, and at least once between each BLE connection interval, to process the
BLE events successfully.
Refer to the associated project for the complete firmware.
Build and Program
1. Select Build > Build AN91162 to build and compile the firmware, as shown in Figure 36. The project should build without
warnings or errors.
Figure 36. Build Project
2. Plug the PSoC 4 BLE module (red module) to the BLE Pioneer baseboard, and then connect the kit to your PC using the
USB Standard-A to Mini-B cable (Figure 37). Allow the USB enumeration to complete on the PC.
Figure 37. Connect to PC Using a USB Cable
3. Select Debug > Program (see Figure 38). If there is only one kit connected to the PC, programming will start
automatically. If multiple kits are present, PSoC Creator will prompt you to choose the kit to be programmed.
www.cypress.com
Document No. 001-91162 Rev. *A
31