Add a route to get the list of supported platforms for OTA
This commit is contained in:
1
central_backend/src/ota/mod.rs
Normal file
1
central_backend/src/ota/mod.rs
Normal file
@ -0,0 +1 @@
|
||||
pub mod ota_update;
|
5
central_backend/src/ota/ota_update.rs
Normal file
5
central_backend/src/ota/ota_update.rs
Normal file
@ -0,0 +1,5 @@
|
||||
#[derive(serde::Serialize, serde::Deserialize, Debug, Copy, Clone, Eq, PartialEq)]
|
||||
pub enum OTAPlatform {
|
||||
#[serde(rename = "Wt32-Eth01")]
|
||||
Wt32Eth01,
|
||||
}
|
Reference in New Issue
Block a user