This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to stop advertising without entering sleep mode

Hello, I'm newbie developer.

I want to create a program that ends advertising when I press the button and restarts press it again.

I've seen many examples, but I can't do anything else because all of the examples go into sleep mode when I press the button.

I want to be able to stop advertising and restart it without going into sleep mode.

Can't I stop the advertising if we don't go into sleep mode? It doesn't matter how much power consume.

Please recommend any posts that can help me. Thank you.

Related