esp8266sming

Resetting ESP8266 by software


I would like the ESP8266 WiFi module to reset itself after receiving a command via UART. Which code can one use to do that? Are there SDK functions like reset()?

I am using the SMING framework


Solution

  • In order to reset the device, you should call System.restart(), it is documented in SystemClass

    For instance the sample Basic_rBoot call it.