User Manual Part 1

CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *A 77
Example Projects
4.4.3 Flow Chart
Figure 4-58 shows the flow chart for the IAS client mode example project.
Figure 4-58. IAS Client Mode Flow Chart
Start
Initialize BLE
Module
Button press
detected ?
Yes
Discovered
peripheral with
IAS Peripheral
Address ?
Initiate and complete
connect operation .
Provide LED indication
on connection complete
Write the next Alert
level (Alert levels will
be repeated )
Yes
No
Check for configured
Button press event
No
Yes
Does
connection
exist ?
No