Ardu OTA Example-example
Posted: Thu Jun 16, 2016 8:36 am
Hello, I've followed the tutorial http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html which is reasonably easy to follow. But i have a question regarding the sketch to use as an update.
in the tutorial it says:
Which is fine, but i cannot see if all of the example sketch is required? what can be removed aside from the obvious...?
I guess the tl/dr is:
What is the minimum ota routines i need to add to my sketch to make it continue to be ota compatible, and can anyone share examples that they have working with ota included!
Thanks in advance for any and all suggestions
in the tutorial it says:
Note: To be able to upload your sketch over and over again using OTA, you need to embed OTA routines inside. Please use DNS_SD_Arduino_OTA.ino as an example.
Which is fine, but i cannot see if all of the example sketch is required? what can be removed aside from the obvious...?
I guess the tl/dr is:
What is the minimum ota routines i need to add to my sketch to make it continue to be ota compatible, and can anyone share examples that they have working with ota included!
Thanks in advance for any and all suggestions