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()
.
Since: 1.0
QmiMessageNasGetSignalStrengthInput *
qmi_message_nas_get_signal_strength_input_ref
(QmiMessageNasGetSignalStrengthInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
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.
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_input_get_request_mask (QmiMessageNasGetSignalStrengthInput *self
,QmiNasSignalStrengthRequest *value_request_mask
,GError **error
);
Get the 'Request Mask' field from self
.
self |
||
value_request_mask |
a placeholder for the output QmiNasSignalStrengthRequest, or |
[out] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_input_set_request_mask (QmiMessageNasGetSignalStrengthInput *self
,QmiNasSignalStrengthRequest value_request_mask
,GError **error
);
Set the 'Request Mask' field in the message.
Since: 1.0
QmiMessageNasGetSignalStrengthOutput *
qmi_message_nas_get_signal_strength_output_ref
(QmiMessageNasGetSignalStrengthOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
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.
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_lte_rsrp (QmiMessageNasGetSignalStrengthOutput *self
,gint16 *value_lte_rsrp
,GError **error
);
Get the 'LTE RSRP' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_lte_snr (QmiMessageNasGetSignalStrengthOutput *self
,gint16 *value_lte_snr
,GError **error
);
Get the 'LTE SNR' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_rsrq (QmiMessageNasGetSignalStrengthOutput *self
,gint8 *value_rsrq_rsrq
,QmiNasRadioInterface *value_rsrq_radio_interface
,GError **error
);
Get the 'RSRQ' field from self
.
self |
||
value_rsrq_rsrq |
a placeholder for the output gint8, or |
[out] |
value_rsrq_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
[out] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_error_rate_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **value_error_rate_list
,GError **error
);
Get the 'Error Rate List' field from self
.
self |
||
value_error_rate_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputErrorRateListElement elements, or |
[out][element-type QmiMessageNasGetSignalStrengthOutputErrorRateListElement][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_sinr (QmiMessageNasGetSignalStrengthOutput *self
,QmiNasEvdoSinrLevel *value_sinr
,GError **error
);
Get the 'SINR' field from self
.
self |
||
value_sinr |
a placeholder for the output QmiNasEvdoSinrLevel, or |
[out] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_io (QmiMessageNasGetSignalStrengthOutput *self
,gint32 *value_io
,GError **error
);
Get the 'IO' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_ecio_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **value_ecio_list
,GError **error
);
Get the 'ECIO List' field from self
.
self |
||
value_ecio_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputEcioListElement elements, or |
[out][element-type QmiMessageNasGetSignalStrengthOutputEcioListElement][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_rssi_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **value_rssi_list
,GError **error
);
Get the 'RSSI List' field from self
.
self |
||
value_rssi_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputRssiListElement elements, or |
[out][element-type QmiMessageNasGetSignalStrengthOutputRssiListElement][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_strength_list (QmiMessageNasGetSignalStrengthOutput *self
,GArray **value_strength_list
,GError **error
);
Get the 'Strength List' field from self
.
self |
||
value_strength_list |
a placeholder for the output GArray of QmiMessageNasGetSignalStrengthOutputStrengthListElement elements, or |
[out][element-type QmiMessageNasGetSignalStrengthOutputStrengthListElement][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_result (QmiMessageNasGetSignalStrengthOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
gboolean qmi_message_nas_get_signal_strength_output_get_signal_strength (QmiMessageNasGetSignalStrengthOutput *self
,gint8 *value_signal_strength_strength
,QmiNasRadioInterface *value_signal_strength_radio_interface
,GError **error
);
Get the 'Signal Strength' field from self
.
self |
||
value_signal_strength_strength |
a placeholder for the output gint8, or |
[out] |
value_signal_strength_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
[out] |
error |
Return location for error or |
Since: 1.0
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 |
Since: 1.0
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()
.
Since: 1.0
typedef struct _QmiMessageNasGetSignalStrengthInput QmiMessageNasGetSignalStrengthInput;
The QmiMessageNasGetSignalStrengthInput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct _QmiMessageNasGetSignalStrengthOutput QmiMessageNasGetSignalStrengthOutput;
The QmiMessageNasGetSignalStrengthOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct { guint16 rate; QmiNasRadioInterface radio_interface; } QmiMessageNasGetSignalStrengthOutputErrorRateListElement;
A QmiMessageNasGetSignalStrengthOutputErrorRateListElement struct.
Since: 1.0
typedef struct { guint8 ecio; QmiNasRadioInterface radio_interface; } QmiMessageNasGetSignalStrengthOutputEcioListElement;
A QmiMessageNasGetSignalStrengthOutputEcioListElement struct.
Since: 1.0
typedef struct { guint8 rssi; QmiNasRadioInterface radio_interface; } QmiMessageNasGetSignalStrengthOutputRssiListElement;
A QmiMessageNasGetSignalStrengthOutputRssiListElement struct.
Since: 1.0
typedef struct { gint8 strength; QmiNasRadioInterface radio_interface; } QmiMessageNasGetSignalStrengthOutputStrengthListElement;
A QmiMessageNasGetSignalStrengthOutputStrengthListElement struct.
Since: 1.0