JAndrassy / WiFiEspAT

Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.
GNU Lesser General Public License v2.1
271 stars 44 forks source link

Software reset #66

Closed bobemoe closed 2 years ago

bobemoe commented 2 years ago

Is a software reset possible?

I know I can do hardware reset by passing pin to .reset() and to .init() but wondering if a software reset is supported?

I can only find reference to hw reset in docs and examples.

Thanks for the awesome library :)

JAndrassy commented 2 years ago

WiFi.reset(-1) does a software reset. I should set it as a default value for the parameter.

bobemoe commented 2 years ago

Perfect, thanks. Default value sounds like a good idea.

JAndrassy commented 2 years ago

WiFi.reset() in 1.3.2