Structsยง
- OtaClient
- Downloads and deploys OTA updates from GitHub.
Enumsยง
- Artifact
Source - Indicates where artifacts were expected but not found.
- OtaError
- Error types that can occur during OTA operations.
Constantsยง
- INITIAL_
CHUNK_ ๐SIZE - MAX_
CHUNK_ ๐SIZE - MAX_
RETRIES ๐ - Maximum number of retry attempts for failed chunks
- MIN_
CHUNK_ ๐SIZE - TARGET_
CHUNK_ ๐SECS - Target 80% of the HTTP timeout to leave headroom for throughput variance.
Functionsยง
- api_
error ๐ - Maps a failed
reqwestresponse to the appropriateOtaError. - check_
disk_ ๐space - verify_
scopes ๐ - Verifies that the GitHub token has all scopes required for OTA operations.