• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

over-the-air-ota-

Q&A Forum › Category: ESP32 › over-the-air-ota-
0 Vote Up Vote Down
Jean Pierre Daviau asked 5 years ago

Hi,

Ref: https://rntlab.com/module-13/esp32-over-the-air-ota-programming-web-updater/

So:

We could add code in the setup function after server.begin() line ?
We could code after server.handleClient(); delay(1); in the loop function?
We could add code in functions we create?

Is there something (s) I dont see?

Regards

JPD

Question Tags: air, OTA, over, the
1 Answers
1 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Jean.

The answer is yes to the first three questions.

All the code to run the web server is asynchronous. So, all functions will only run when needed (when you access the web server and you upload a new sketch over the air).

So, you can write your own code in that sketch without any problem (add code to the setup(), loop() or create your own functions.

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.