- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I want to know which function I can use to restart my CYBLE-0220001-00 module. In production, we have given press to the ON button (microswitch) (digital input pin). When user will click on that button complete CYBLE-0220001-00 should soft restart.
Thanks in advance.
Regards,
Neeraj
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you look at the system reference guide you will find the function
void CySoftwareReset(void)
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
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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().
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Neeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you look at the system reference guide you will find the function
void CySoftwareReset(void)
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
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to see your reply, Alan,
Noted!. about System Reference Guides
void CySoftwareReset(void) works well.
Thank you so much.
Regards,
Neeraj