Get the list of OTA updates for a given platform

This commit is contained in:
2024-10-05 19:35:23 +02:00
parent 2feb3f6490
commit d38040cb98
5 changed files with 48 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ impl Display for OTAPlatform {
/// Single OTA update information
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, Eq, PartialEq)]
pub struct OTAUpdate {
platform: OTAPlatform,
version: semver::Version,
file_size: usize,
pub platform: OTAPlatform,
pub version: semver::Version,
pub file_size: u64,
}