1 of 1 people found this helpful
CYBLE_EVT_PENDING_FLASH_WRITE event triggers on successful pairing , if bonding information/CCCD needs to be store in Flash.
Also , a global flag "cyBle_pendingFlashWrite" will be set by the BLE Stack if the bonding information needs to be store.
The application has to monitor this flag and should store the bonding information in Flash by multiple call of CyBle_StoreBondingData(). Once the bonding information is stored , the global variable will be reset automatically by stack.
Please refer "BLE_FindMe" from PSoC Creator Code examples ( PSoC Creator -> File -> Code Examples )