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