Top |
NAS Get Signal Info responseNAS Get Signal Info response — Methods to manage the NAS Get Signal Info response. |
Collection of methods to create requests and parse responses of the NAS Get Signal Info message.
QmiMessageNasGetSignalInfoOutput *
qmi_message_nas_get_signal_info_output_ref
(QmiMessageNasGetSignalInfoOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
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.
Since: 1.0
gboolean qmi_message_nas_get_signal_info_output_get_wcdma_rscp (QmiMessageNasGetSignalInfoOutput *self
,gint16 *value_wcdma_rscp
,GError **error
);
Get the 'WCDMA RSCP' field from self
.
Since: 1.34
gboolean qmi_message_nas_get_signal_info_output_get_5g_signal_strength_extended (QmiMessageNasGetSignalInfoOutput *self
,gint16 *value_5g_signal_strength_extended
,GError **error
);
Get the '5G Signal Strength Extended' field from self
.
Since: 1.26.2
gboolean qmi_message_nas_get_signal_info_output_get_5g_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint16 *value_5g_signal_strength_rsrp
,gint16 *value_5g_signal_strength_snr
,GError **error
);
Get the '5G Signal Strength' field from self
.
Since: 1.26.2
gboolean qmi_message_nas_get_signal_info_output_get_tdma_signal_strength_extended (QmiMessageNasGetSignalInfoOutput *self
,gint32 *value_tdma_signal_strength_extended_rssi
,gint32 *value_tdma_signal_strength_extended_rscp
,gint32 *value_tdma_signal_strength_extended_ecio
,gint32 *value_tdma_signal_strength_extended_sinr
,GError **error
);
Get the 'TDMA Signal Strength Extended' field from self
.
self |
||
value_tdma_signal_strength_extended_rssi |
a placeholder for the output gint32, or |
[out][optional] |
value_tdma_signal_strength_extended_rscp |
a placeholder for the output gint32, or |
[out][optional] |
value_tdma_signal_strength_extended_ecio |
a placeholder for the output gint32, or |
[out][optional] |
value_tdma_signal_strength_extended_sinr |
a placeholder for the output gint32, or |
[out][optional] |
error |
Return location for error or |
Since: 1.26.2
gboolean qmi_message_nas_get_signal_info_output_get_tdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *value_tdma_signal_strength
,GError **error
);
Get the 'TDMA Signal Strength' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_signal_info_output_get_lte_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *value_lte_signal_strength_rssi
,gint8 *value_lte_signal_strength_rsrq
,gint16 *value_lte_signal_strength_rsrp
,gint16 *value_lte_signal_strength_snr
,GError **error
);
Get the 'LTE Signal Strength' field from self
.
self |
||
value_lte_signal_strength_rssi |
a placeholder for the output gint8, or |
[out][optional] |
value_lte_signal_strength_rsrq |
a placeholder for the output gint8, or |
[out][optional] |
value_lte_signal_strength_rsrp |
a placeholder for the output gint16, or |
[out][optional] |
value_lte_signal_strength_snr |
a placeholder for the output gint16, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_info_output_get_wcdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *value_wcdma_signal_strength_rssi
,gint16 *value_wcdma_signal_strength_ecio
,GError **error
);
Get the 'WCDMA Signal Strength' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_signal_info_output_get_gsm_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *value_gsm_signal_strength
,GError **error
);
Get the 'GSM Signal Strength' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_signal_info_output_get_hdr_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *value_hdr_signal_strength_rssi
,gint16 *value_hdr_signal_strength_ecio
,QmiNasEvdoSinrLevel *value_hdr_signal_strength_sinr
,gint32 *value_hdr_signal_strength_io
,GError **error
);
Get the 'HDR Signal Strength' field from self
.
self |
||
value_hdr_signal_strength_rssi |
a placeholder for the output gint8, or |
[out][optional] |
value_hdr_signal_strength_ecio |
a placeholder for the output gint16, or |
[out][optional] |
value_hdr_signal_strength_sinr |
a placeholder for the output QmiNasEvdoSinrLevel, or |
[out][optional] |
value_hdr_signal_strength_io |
a placeholder for the output gint32, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_info_output_get_cdma_signal_strength (QmiMessageNasGetSignalInfoOutput *self
,gint8 *value_cdma_signal_strength_rssi
,gint16 *value_cdma_signal_strength_ecio
,GError **error
);
Get the 'CDMA Signal Strength' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_signal_info_output_get_result (QmiMessageNasGetSignalInfoOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
QmiMessageNasGetSignalInfoOutput * qmi_message_nas_get_signal_info_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasGetSignalInfoOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasGetSignalInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_signal_info_output_unref()
.
Since: 1.34
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.
self |
a QmiClientNas. |
|
unused |
|
|
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
Since: 1.0
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()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetSignalInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_signal_info_output_unref()
.
Since: 1.0
typedef struct _QmiMessageNasGetSignalInfoOutput QmiMessageNasGetSignalInfoOutput;
The QmiMessageNasGetSignalInfoOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0