You can use the CyBle_Stop() API followed by CyBle_Start() API for restarting the BLE. CyBle_Stop() function stops any ongoing operation in the BLE Stack and forces the BLE Stack to shut down. The only function that can be called after calling this function is CyBle_Start().
P Yugandhar Thanks for your reply.
It is not working. I don't want to restart only BLE. I want to restart entire module CYBLE-0220001-00 by using digitalRead() pin like in ESP32 controller there is a function called ESP.restart() to restart.
Thanks and regards,
If you look at the system reference guide you will find the function
Description: Forces a software reset of the device.
You can find the system reference guide at "Help -> System Reference Guides"
PSoC 4 System Reference Guide - cy_boot Component v5.70
Glad to see your reply, Alan,
Noted!. about System Reference Guides
void CySoftwareReset(void) works well.
Thank you so much.