Xteink-X4-crosspoint-reader/src/activities/settings
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
..
CalibreSettingsActivity.cpp Refactors Calibre Wireless Device & Calibre Library (#404) 2026-01-27 22:02:38 +11:00
CalibreSettingsActivity.h Refactors Calibre Wireless Device & Calibre Library (#404) 2026-01-27 22:02:38 +11:00
CategorySettingsActivity.cpp Refactors Calibre Wireless Device & Calibre Library (#404) 2026-01-27 22:02:38 +11:00
CategorySettingsActivity.h feat: adding categories to settings screen (#331) 2026-01-21 11:13:51 +00:00
ClearCacheActivity.cpp feat: invalidate cache on web uploads and opds downloads and add Clear Cache action (#393) 2026-01-22 00:06:07 +11:00
ClearCacheActivity.h feat: invalidate cache on web uploads and opds downloads and add Clear Cache action (#393) 2026-01-22 00:06:07 +11:00
KOReaderAuthActivity.cpp Adds KOReader Sync support (#232) 2026-01-19 11:55:35 +00:00
KOReaderAuthActivity.h Adds KOReader Sync support (#232) 2026-01-19 11:55:35 +00:00
KOReaderSettingsActivity.cpp fix: Chapter Selection UI bugs when koreader sync is enabled, and clarify default kosync URL (#501) 2026-01-27 21:25:25 +11:00
KOReaderSettingsActivity.h Adds KOReader Sync support (#232) 2026-01-19 11:55:35 +00:00
OtaUpdateActivity.cpp refactor: Re-work for OTA feature (#509) 2026-01-28 01:30:27 +11:00
OtaUpdateActivity.h Prevent device sleep during WiFi file transfer and OTA updates (#203) 2026-01-02 17:44:17 +11:00
SettingsActivity.cpp feat: Add support to B&W filters to image covers (#476) 2026-01-28 00:21:59 +11:00
SettingsActivity.h feat: adding categories to settings screen (#331) 2026-01-21 11:13:51 +00:00