An ESP32-based Redis-watcher and info-displayer https://rpjios.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
294 B

  1. #ifndef __ZW_OTA__H__
  2. #define __ZW_OTA__H__
  3. #include "zw_provision.h"
  4. #define OTA_RESET_DELAY 5
  5. #define OTA_UPDATE_PRCNT_REPORT 10
  6. bool runUpdate(
  7. const char *url,
  8. const char *md5,
  9. size_t sizeInBytes,
  10. void (*preUpdateIRQDisable)(),
  11. bool (*completedCallback)());
  12. #endif