Xteink-X4-crosspoint-reader/src/network
V e0b6b9b28a
refactor: Re-work for OTA feature (#509)
## Summary

Finally, I have received my device and got to chance to work on OTA. 
https://github.com/crosspoint-reader/crosspoint-reader/issues/176

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)
Existing OTA functionality is very buggy, many of times (I would say 8
out of 10) are end up with fail for me. When the time that it works it
is very slow and take ages. For others looks like end up with crash or
different issues.


* **What changes are included?**
To be honest, I'm not familiar with Arduino APIs of OTA process, but
looks like not good as much esp-idf itself. I always found Arduino APIs
very bulky for esp32. Wrappers and wrappers.

## Additional Context
Right now, OTA takes ~ 3min 10sec (of course depends on size of .bin
file). Can be tested with playing version info inside from
`platform.ini` file.

```
[crosspoint]
version = 0.14.0
```
---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**< NO >**_
2026-01-28 01:30:27 +11:00
..
html Turbocharge WiFi uploads with WebSocket + watchdog stability (#364) 2026-01-14 23:11:28 +11:00
CrossPointWebServer.cpp Refactors Calibre Wireless Device & Calibre Library (#404) 2026-01-27 22:02:38 +11:00
CrossPointWebServer.h Refactors Calibre Wireless Device & Calibre Library (#404) 2026-01-27 22:02:38 +11:00
HttpDownloader.cpp Refactors Calibre Wireless Device & Calibre Library (#404) 2026-01-27 22:02:38 +11:00
HttpDownloader.h fix: OPDS browser OOM (#403) 2026-01-22 01:43:51 +11:00
OtaUpdater.cpp refactor: Re-work for OTA feature (#509) 2026-01-28 01:30:27 +11:00
OtaUpdater.h refactor: Re-work for OTA feature (#509) 2026-01-28 01:30:27 +11:00