StructsΒ§
- Artifact π
- Artifacts
Response π - OtaClient
- HTTP client for downloading OTA updates from GitHub.
- PrHead π
- Pull
Request π - Release π
- Release
Asset π - Repository π
- Workflow
Run π - Workflow
Runs πResponse
EnumsΒ§
- OtaError
- Error types that can occur during OTA operations.
- OtaProgress
- Progress states during an OTA download operation.
ConstantsΒ§
- CHUNK_
SIZE π - Size of each download chunk in bytes (10 MB)
- CHUNK_
TIMEOUT_ πSECS - Timeout for each chunk download attempt in seconds
- MAX_
RETRIES π - Maximum number of retry attempts for failed chunks
FunctionsΒ§
- check_
disk_ πspace - Verifies sufficient disk space is available in the specified path for download.
- create_
webpki_ πroot_ store - Creates a root certificate store with Mozillaβs trusted CA certificates.