uMQTTBroker
uMQTTBroker copied to clipboard
How to restart the broker?
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