Struct ublox_cellular::command::mobile_control::responses::IndicatorControl[][src]

pub struct IndicatorControl {
    pub battchg: u8,
    pub signal: u8,
    pub service: u16,
    pub sounder: u8,
    pub message: u8,
    pub call: u8,
    pub roam: u16,
    pub smsfull: u8,
    pub gprs: u16,
    pub callsetup: u8,
    pub callheld: u8,
    pub simind: u8,
}
Expand description

5.4 Indicator control +CIND

Provides indication states related to network status, battery information and so on. The set command does not allow setting the values for those indications which are set according to module state (see parameter). The list of indications for set and read commands follows the indexes reported in the parameter, so that the first corresponds to “battchg” and so on

Fields

battchg: u8

“battchg”: battery charge level (0-5)

signal: u8

“signal”: signal level. See mapping in the Notes below

service: u16

“service”: network service availability o 0: not registered to any network o 1: registered to the network o 65535: indication not available

sounder: u8

• “sounder”: sounder activity, indicating when the module is generating a sound o 0: no sound o 1: sound is generated

message: u8

• “message”: unread message available in storage o 0: no messages o 1: unread message available

call: u8

• “call”: call in progress o 0: no call in progress o 1: call in progress

roam: u16

• “roam”: registration on a roaming network o 0: not in roaming or not registered o 1: roaming o 65535: indication not available

smsfull: u8

• “smsfull”: indication that an SMS has been rejected with the cause of SMS storage full o 0: SMS storage not full o 1: SMS storage full

gprs: u16

• “gprs”: PS indication status: o 0: no PS available in the network o 1: PS available in the network but not registered o 2: registered to PS o 65535: indication not available

callsetup: u8

• “callsetup”: call set-up: o 0: no call set-up o 1: incoming call not accepted or rejected o 2: outgoing call in dialling state o 3: outgoing call in remote party alerting state

callheld: u8

• “callheld”: call on hold: o 0: no calls on hold o 1: at least one call on hold

simind: u8

• “simind”: SIM detection o 0: no SIM detected o 1: SIM detected o 2: not available

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. 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.