Enum ublox_cellular::command::system_features::types::PowerSavingMode[][src]

pub enum PowerSavingMode {
    Disabled,
    Enabled,
    CtrlByRts,
    CtrlByDtr,
}

Variants

Disabled

Disabled: (default and factory-programmed value)

Enabled

Enabled: The UART is re-enabled from time to time to allow the DTE to transmit, and the module switches from idle to active mode in a cyclic way. If during the active mode any data is received, the UART (and the module) is forced to stay “awake” for a time specified by the parameter. Any subsequent data reception during the “awake” period resets and restarts the “awake” timer

CtrlByRts

Power saving is controlled by UART RTS line: o If the RTS line state is set to OFF, the power saving mode is allowed o If the RTS line state is set to ON, the module shall exit from power saving mode =2 is allowed only if the HW flow control has been previously disabled on the UART interface (e.g. with AT&K0), otherwise the command returns an error result code (+CME ERROR: operation not allowed if +CMEE is set to 2). With =2 the DTE can start sending data to the module without risk of data loss after having asserted the UART RTS line (RTS line set to ON state).

CtrlByDtr

Power saving is controlled by UART DTR line: If the DTR line state is set to OFF, the power saving mode is allowed If the DTR line state is set to ON, the module shall exit from power saving mode =3 is allowed regardless the flow control setting on the UART interface. In particular, the HW flow control can be set on UART during this mode. With =3 the DTE can start sending data to the module without risk of data loss after having asserted the UART DTR line (DTR line set to ON state).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.