Proper way to reboot?
Proper way to reboot?
Upon receiving new wifi credential, I'd like my esp32 to reboot. Being new really sucks. I don't know the proper way to reboot. Could someone point out how to do this? Thank you!
Re: Proper way to reboot?
Code: Select all
esp_restart()
Code: Select all
*(NULL) = "restart";
& I also believe that IDF CAN should be fixed.
Re: Proper way to reboot?
Great! Thanks. Should I 32-bit long jump to the (NULL*) pointer and call pistol.shoot(self.foot) right before the long jump?
Re: Proper way to reboot?
And if you're writing in assembly, the HCF (halt and catch fire) instruction would be appropriate.
Who is online
Users browsing this forum: No registered users and 93 guests