uMQTTBroker icon indicating copy to clipboard operation
uMQTTBroker copied to clipboard

How to restart the broker?

Open Sinix10 opened this issue 3 years ago • 0 comments

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

Sinix10 avatar Oct 14 '21 00:10 Sinix10