JAndrassy / ArduinoOTA

Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries
GNU Lesser General Public License v2.1
451 stars 91 forks source link

Created a wifi example #51

Closed n-elia closed 3 years ago

n-elia commented 3 years ago

Hi! I propose you to add this basic example into the Advanced folder. It is nothing more than your OTASketchDownload example sketch, enabled to work over WiFi using the official WiFiNINA library. It can work over HTTP or over HTTPS. Use case example: wirelessly fetch the updates in IoT scenarios where the device is far away. Tested and working with Arduino Nano 33 IoT.

JAndrassy commented 3 years ago

thank you. please let the example to use "arduino_secrets.h" as the WiFi101_OTA example and WiFiNINA examples

n-elia commented 3 years ago

Thank you. I moved the secrets on the external arduino_secrets.h file as requested, it should be OK now. Again, tested and working with Arduino Nano 33 IoT.

JAndrassy commented 3 years ago

and please fix the check interval. it is 60 milliseconds now in you example

n-elia commented 3 years ago

Ok, I improved that line.