libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageNasGetSignalInfoOutput; QmiMessageNasGetSignalInfoOutput * qmi_message_nas_get_signal_info_output_ref (QmiMessageNasGetSignalInfoOutput *self
); void qmi_message_nas_get_signal_info_output_unref (QmiMessageNasGetSignalInfoOutput *self
); gboolean qmi_message_nas_get_signal_info_output_get_result (QmiMessageNasGetSignalInfoOutput *self
,GError **error
); gboolean qmi_message_nas_get_signal_info_output_get_tdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *tdma_signal_strength
,GError **error
); gboolean qmi_message_nas_get_signal_info_output_get_lte_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *lte_signal_strength_rssi
,gint8 *lte_signal_strength_rsrq
,gint16 *lte_signal_strength_rsrp
,gint16 *lte_signal_strength_snr
,GError **error
); gboolean qmi_message_nas_get_signal_info_output_get_wcdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *wcdma_signal_strength_rssi
,gint16 *wcdma_signal_strength_ecio
,GError **error
); gboolean qmi_message_nas_get_signal_info_output_get_gsm_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *gsm_signal_strength
,GError **error
); gboolean qmi_message_nas_get_signal_info_output_get_hdr_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *hdr_signal_strength_rssi
,gint16 *hdr_signal_strength_ecio
,QmiNasEvdoSinrLevel *hdr_signal_strength_sinr
,gint32 *hdr_signal_strength_io
,GError **error
); gboolean qmi_message_nas_get_signal_info_output_get_cdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *cdma_signal_strength_rssi
,gint16 *cdma_signal_strength_ecio
,GError **error
); void qmi_client_nas_get_signal_info (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageNasGetSignalInfoOutput * qmi_client_nas_get_signal_info_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
typedef struct _QmiMessageNasGetSignalInfoOutput QmiMessageNasGetSignalInfoOutput;
The QmiMessageNasGetSignalInfoOutput structure contains private data and should only be accessed using the provided API.
QmiMessageNasGetSignalInfoOutput * qmi_message_nas_get_signal_info_output_ref
(QmiMessageNasGetSignalInfoOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasGetSignalInfoOutput. |
Returns : |
the new reference to self . |
void qmi_message_nas_get_signal_info_output_unref
(QmiMessageNasGetSignalInfoOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageNasGetSignalInfoOutput. |
gboolean qmi_message_nas_get_signal_info_output_get_result (QmiMessageNasGetSignalInfoOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_nas_get_signal_info_output_get_tdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *tdma_signal_strength
,GError **error
);
Get the 'TDMA Signal Strength' field from self
.
gboolean qmi_message_nas_get_signal_info_output_get_lte_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *lte_signal_strength_rssi
,gint8 *lte_signal_strength_rsrq
,gint16 *lte_signal_strength_rsrp
,gint16 *lte_signal_strength_snr
,GError **error
);
Get the 'LTE Signal Strength' field from self
.
|
a QmiMessageNasGetSignalInfoOutput. |
|
a placeholder for the output gint8, or NULL if not required. |
|
a placeholder for the output gint8, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_signal_info_output_get_wcdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *wcdma_signal_strength_rssi
,gint16 *wcdma_signal_strength_ecio
,GError **error
);
Get the 'WCDMA Signal Strength' field from self
.
|
a QmiMessageNasGetSignalInfoOutput. |
|
a placeholder for the output gint8, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_signal_info_output_get_gsm_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *gsm_signal_strength
,GError **error
);
Get the 'GSM Signal Strength' field from self
.
gboolean qmi_message_nas_get_signal_info_output_get_hdr_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *hdr_signal_strength_rssi
,gint16 *hdr_signal_strength_ecio
,QmiNasEvdoSinrLevel *hdr_signal_strength_sinr
,gint32 *hdr_signal_strength_io
,GError **error
);
Get the 'HDR Signal Strength' field from self
.
|
a QmiMessageNasGetSignalInfoOutput. |
|
a placeholder for the output gint8, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
a placeholder for the output QmiNasEvdoSinrLevel, or NULL if not required. |
|
a placeholder for the output gint32, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_signal_info_output_get_cdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *cdma_signal_strength_rssi
,gint16 *cdma_signal_strength_ecio
,GError **error
);
Get the 'CDMA Signal Strength' field from self
.
|
a QmiMessageNasGetSignalInfoOutput. |
|
a placeholder for the output gint8, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
void qmi_client_nas_get_signal_info (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Signal Info request to the device.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call qmi_client_nas_get_signal_info_finish()
to get the result of the operation.
|
a QmiClientNas. |
|
NULL . This message doesn't have any input bundle. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL . |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback . |
QmiMessageNasGetSignalInfoOutput * qmi_client_nas_get_signal_info_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_signal_info()
.
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_signal_info() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageNasGetSignalInfoOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_get_signal_info_output_unref() . |