Searched refs:AtCommandDataType (Results 1 – 1 of 1) sorted by relevance
34 pub enum AtCommandDataType { enum56 pub data: Option<HashMap<AtCommandDataType, String>>,129 match data.get(&AtCommandDataType::IPhoneAccevBatteryLevel) { in calculate_battery_percent()143 match data.get(&AtCommandDataType::XeventBatteryLevel) { in calculate_battery_percent()145 match data.get(&AtCommandDataType::XeventBatteryLevelRange) { in calculate_battery_percent()200 ) -> Result<HashMap<AtCommandDataType, String>, String> { in extract_iphoneaccev_data() argument231 AtCommandDataType::IPhoneAccevBatteryLevel, in extract_iphoneaccev_data()241 fn extract_xevent_data(args: Vec<String>) -> Result<HashMap<AtCommandDataType, String>, String> { in extract_xevent_data() argument248 data.insert(AtCommandDataType::XeventEvent, xevent_type.to_string()); in extract_xevent_data()259 data.insert(AtCommandDataType::XeventBatteryLevel, battery_level.to_string()); in extract_xevent_data()[all …]