diff --git a/Cargo.toml b/Cargo.toml index e16da8c..ce53421 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ description = "A standards-compliant bridge to Reolink IP cameras" version = "0.5.4" authors = ["George Hilliard ", "Andrew King "] edition = "2018" +default-run = "neolink" [workspace] members = [ diff --git a/crates/core/src/bc/xml.rs b/crates/core/src/bc/xml.rs index 1ed7ea0..b7bb174 100644 --- a/crates/core/src/bc/xml.rs +++ b/crates/core/src/bc/xml.rs @@ -487,7 +487,7 @@ pub struct BatteryInfo { /// The channel the for the camera usually 0 #[yaserde(rename = "channelId")] pub channel_id: u8, - /// Charge status known values, "chargeComplete", "charging", + /// Charge status known values, "chargeComplete", "charging", "none", #[yaserde(rename = "chargeStatus")] pub charge_status: String, /// Status of charging port known values: "solarPanel" @@ -510,6 +510,9 @@ pub struct BatteryInfo { pub battery_version: u32, } +/// , +} + /// Convience function to return the xml version used throughout the library pub fn xml_ver() -> String { "1.1".to_string() @@ -677,6 +680,4 @@ fn test_binary_deser() { binary_data: Some(1), .. } => {} - _ => panic!(), - } -} + _ => panic!(), \ No newline at end of file