B4R Question Resetting ESP8266 - SOLVED

JMB

Active Member
Licensed User
Longtime User
Hi folks,

I am writing code for an ESP8266 to allow it to essentially reset itself to a clear state - empty EEPROM, ready to receive new wireless network information from a command from a B4A program.

Is there a command to call which will reboot the ESP? By this I don't mean factory reset, I just literally mean just a reboot.

Thanks.

JMB
 

maXim

Active Member
Licensed User
Longtime User
Hi JMB,

try this:


B4X:
Dim ESP As ESP8266
ESP.restart
 
Upvote 0

JMB

Active Member
Licensed User
Longtime User
Oh wow... is it really that simple?

Thank you very much! I shall check that out!

JMB
 
Upvote 0
Top