Restart CYBLE-0220001-00 Module

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
NeDh_4602711
Level 5
Level 5
5 solutions authored First solution authored 50 replies posted

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

0 Likes
1 Solution

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

View solution in original post

0 Likes
4 Replies
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

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.

0 Likes

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

0 Likes

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

0 Likes

Glad to see your reply, Alan,

Noted!. about System Reference Guides

void CySoftwareReset(void) works well.

Thank you so much.

Regards,

Neeraj

0 Likes