MMSignal

MMSignal — Helper object to handle extended Signal information.

Synopsis

struct              MMSignal;
#define             MM_SIGNAL_UNKNOWN

gdouble             mm_signal_get_rssi                  (MMSignal *self);
gdouble             mm_signal_get_ecio                  (MMSignal *self);
gdouble             mm_signal_get_sinr                  (MMSignal *self);
gdouble             mm_signal_get_io                    (MMSignal *self);
gdouble             mm_signal_get_rsrp                  (MMSignal *self);
gdouble             mm_signal_get_rsrq                  (MMSignal *self);
gdouble             mm_signal_get_snr                   (MMSignal *self);

Object Hierarchy

  GObject
   +----MMSignal

Description

The MMSignal is an object handling the signal information of the modem.

Details

struct MMSignal

struct MMSignal;

The MMSignal structure contains private data and should only be accessed using the provided API.


MM_SIGNAL_UNKNOWN

#define MM_SIGNAL_UNKNOWN G_MINDOUBLE

Identifier for an unknown signal value.


mm_signal_get_rssi ()

gdouble             mm_signal_get_rssi                  (MMSignal *self);

Gets the RSSI (Received Signal Strength Indication), in dBm.

self :

a MMSignal.

Returns :

the RSSI, or MM_SIGNAL_UNKNOWN if unknown.

mm_signal_get_ecio ()

gdouble             mm_signal_get_ecio                  (MMSignal *self);

Gets the Ec/Io, in dBm.

Only applicable to CDMA1x, CDMA EV-DO and UMTS (WCDMA).

self :

a MMSignal.

Returns :

the ECIO, or MM_SIGNAL_UNKNOWN if unknown.

mm_signal_get_sinr ()

gdouble             mm_signal_get_sinr                  (MMSignal *self);

Gets the SINR level, in dB.

Only applicable to CDMA EV-DO.

self :

a MMSignal.

Returns :

the SINR, or MM_SIGNAL_UNKNOWN if unknown.

mm_signal_get_io ()

gdouble             mm_signal_get_io                    (MMSignal *self);

Gets the Io, in dBm.

Only applicable to CDMA EV-DO.

self :

a MMSignal.

Returns :

the Io, or MM_SIGNAL_UNKNOWN if unknown.

mm_signal_get_rsrp ()

gdouble             mm_signal_get_rsrp                  (MMSignal *self);

Gets the RSRP (Reference Signal Received Power), in dBm.

Only applicable to LTE.

self :

a MMSignal.

Returns :

the RSRP, or MM_SIGNAL_UNKNOWN if unknown.

mm_signal_get_rsrq ()

gdouble             mm_signal_get_rsrq                  (MMSignal *self);

Gets the RSRQ (Reference Signal Received Quality), in dB.

Only applicable to LTE.

self :

a MMSignal.

Returns :

the RSRQ, or MM_SIGNAL_UNKNOWN if unknown.

mm_signal_get_snr ()

gdouble             mm_signal_get_snr                   (MMSignal *self);

Gets the S/R ration, in dB.

Only applicable to LTE.

self :

a MMSignal.

Returns :

the S/R ratio, or MM_SIGNAL_UNKNOWN if unknown.