Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to restart the broker? #60

Open
Sinix10 opened this issue Oct 14, 2021 · 0 comments
Open

How to restart the broker? #60

Sinix10 opened this issue Oct 14, 2021 · 0 comments

Comments

@Sinix10
Copy link

Sinix10 commented Oct 14, 2021

Hello,

If I call "myBroker.init();" inside a function or an IF statement, will it restart the broker service?
I need to restart the service without doing an hardware reset (reset button). It could also be a function to stop and another one to start, that would be very useful.
Same way if I want to restart the Wifi service, I can call the WiFi.disconnect() and then WiFi.reconnect() or WiFi.begin().

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant