Top |
GBoxed ├── QmiMessageNasGetSignalStrengthInput ╰── QmiMessageNasGetSignalStrengthOutput
QmiMessageNasGetSignalStrengthInput *
qmi_message_nas_get_signal_strength_input_new
(void
);
Allocates a new QmiMessageNasGetSignalStrengthInput.
the newly created QmiMessageNasGetSignalStrengthInput. The returned value should be freed with qmi_message_nas_get_signal_strength_input_unref()
.
QmiMessageNasGetSignalStrengthInput *
qmi_message_nas_get_signal_strength_input_ref
(QmiMessageNasGetSignalStrengthInput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_nas_get_signal_strength_input_unref
(QmiMessageNasGetSignalStrengthInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_nas_get_signal_strength_input_get_request_mask (QmiMessageNasGetSignalStrengthInput *self
,QmiNasSignalStrengthRequest *request_mask
,GError **error
);
Get the 'Request Mask' field from self
.
self |
||
request_mask |
a placeholder for the output QmiNasSignalStrengthRequest, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_get_signal_strength_input_set_request_mask (QmiMessageNasGetSignalStrengthInput *self
,QmiNasSignalStrengthRequest request_mask
,GError **error
);
Set the 'Request Mask' field in the message.
QmiMessageNasGetSignalStrengthOutput *
qmi_message_nas_get_signal_strength_output_ref
(QmiMessageNasGetSignalStrengthOutput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_nas_get_signal_strength_output_unref
(QmiMessageNasGetSignalStrengthOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_nas_get_signal_strength_output_get_result (QmiMessageNasGetSignalStrengthOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_nas_get_signal_strength_output_get_lte_rsrp (QmiMessageNasGetSignalStrengthOutput *self
,gint16 *lte_rsrp
,GError **error
);
Get the 'LTE RSRP' field from self
.
gboolean qmi_message_nas_get_signal_strength_output_get_lte_snr (QmiMessageNasGetSignalStrengthOutput *self
,gint16 *lte_snr
,GError **error
);
Get the 'LTE SNR' field from self
.
gboolean qmi_message_nas_get_signal_strength_output_get_rsrq (QmiMessageNasGetSignalStrengthOutput *self
,gint8 *rsrq_rsrq
,QmiNasRadioInterface *rsrq_radio_interface
,GError **error
);
Get the 'RSRQ' field from self
.
self |
||
rsrq_rsrq |
a placeholder for the output gint8, or |
|
rsrq_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_get_signal_strength_output_get_error_rate_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **error_rate_list
,GError **error
);
Get the 'Error Rate List' field from self
.
self |
||
error_rate_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputErrorRateListElement elements, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_get_signal_strength_output_get_sinr (QmiMessageNasGetSignalStrengthOutput *self
,QmiNasEvdoSinrLevel *sinr
,GError **error
);
Get the 'SINR' field from self
.
self |
||
sinr |
a placeholder for the output QmiNasEvdoSinrLevel, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_get_signal_strength_output_get_io (QmiMessageNasGetSignalStrengthOutput *self
,gint32 *io
,GError **error
);
Get the 'IO' field from self
.
gboolean qmi_message_nas_get_signal_strength_output_get_ecio_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **ecio_list
,GError **error
);
Get the 'ECIO List' field from self
.
self |
||
ecio_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputEcioListElement elements, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_get_signal_strength_output_get_rssi_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **rssi_list
,GError **error
);
Get the 'RSSI List' field from self
.
self |
||
rssi_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputRssiListElement elements, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_get_signal_strength_output_get_strength_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **strength_list
,GError **error
);
Get the 'Strength List' field from self
.
self |
||
strength_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputStrengthListElement elements, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_get_signal_strength_output_get_signal_strength (QmiMessageNasGetSignalStrengthOutput *self
,gint8 *signal_strength_strength
,QmiNasRadioInterface *signal_strength_radio_interface
,GError **error
);
Get the 'Signal Strength' field from self
.
self |
||
signal_strength_strength |
a placeholder for the output gint8, or |
|
signal_strength_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
|
error |
Return location for error or |
void qmi_client_nas_get_signal_strength (QmiClientNas *self
,QmiMessageNasGetSignalStrengthInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Signal Strength 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_strength_finish()
to get the result of the operation.
self |
a QmiClientNas. |
|
input |
||
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 |
QmiMessageNasGetSignalStrengthOutput * qmi_client_nas_get_signal_strength_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_signal_strength()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetSignalStrengthOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_signal_strength_output_unref()
.
typedef struct _QmiMessageNasGetSignalStrengthInput QmiMessageNasGetSignalStrengthInput;
The QmiMessageNasGetSignalStrengthInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageNasGetSignalStrengthOutput QmiMessageNasGetSignalStrengthOutput;
The QmiMessageNasGetSignalStrengthOutput structure contains private data and should only be accessed using the provided API.
typedef struct { guint16 rate; QmiNasRadioInterface radio_interface; } QmiMessageNasGetSignalStrengthOutputErrorRateListElement;
A QmiMessageNasGetSignalStrengthOutputErrorRateListElement struct.
typedef struct { gint8 ecio; QmiNasRadioInterface radio_interface; } QmiMessageNasGetSignalStrengthOutputEcioListElement;
A QmiMessageNasGetSignalStrengthOutputEcioListElement struct.
typedef struct { guint8 rssi; QmiNasRadioInterface radio_interface; } QmiMessageNasGetSignalStrengthOutputRssiListElement;
A QmiMessageNasGetSignalStrengthOutputRssiListElement struct.