Add a route to get the list of supported platforms for OTA

This commit is contained in:
2024-10-05 13:03:30 +02:00
parent 382c44a18a
commit e1a94acdcb
6 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1 @@
pub mod ota_update;

View File

@ -0,0 +1,5 @@
#[derive(serde::Serialize, serde::Deserialize, Debug, Copy, Clone, Eq, PartialEq)]
pub enum OTAPlatform {
#[serde(rename = "Wt32-Eth01")]
Wt32Eth01,
}