ublox_cellular/command/system_features/responses.rs
1//! Responses for System features Commands
2use super::types::*;
3use atat::atat_derive::AtatResp;
4
5/// 19.8 Power saving control (Power Saving) +UPSV
6#[derive(AtatResp)]
7pub struct PowerSavingControl {
8    #[at_arg(position = 0)]
9    pub mode: PowerSavingMode,
10    #[at_arg(position = 1)]
11    pub timeout: Option<Seconds>,
12}
13
14/// 19.25 Restore factory configuration +UFACTORY
15#[derive(AtatResp)]
16pub struct FactoryConfiguration {
17    #[at_arg(position = 0)]
18    pub fs_op: FSFactoryRestoreType,
19    #[at_arg(position = 1)]
20    pub nvm_op: NVMFactoryRestoreType,
21}