Top |
NAS Config Signal Info responseNAS Config Signal Info response — Methods to manage the NAS Config Signal Info response. |
GBoxed ├── QmiMessageNasConfigSignalInfoInput ╰── QmiMessageNasConfigSignalInfoOutput
Collection of methods to create requests and parse responses of the NAS Config Signal Info message.
QmiMessageNasConfigSignalInfoInput *
qmi_message_nas_config_signal_info_input_new
(void
);
Allocates a new QmiMessageNasConfigSignalInfoInput.
the newly created QmiMessageNasConfigSignalInfoInput. The returned value should be freed with qmi_message_nas_config_signal_info_input_unref()
.
Since: 1.0
QmiMessageNasConfigSignalInfoInput *
qmi_message_nas_config_signal_info_input_ref
(QmiMessageNasConfigSignalInfoInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_nas_config_signal_info_input_unref
(QmiMessageNasConfigSignalInfoInput *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_config_signal_info_input_get_rscp_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_rscp_threshold
,GError **error
);
Get the 'RSCP Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_rscp_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_rscp_threshold
,GError **error
);
Set the 'RSCP Threshold' field in the message.
self |
||
value_rscp_threshold |
a GArray of gint8 elements. A new reference to |
[in][element-type gint8][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_lte_report (QmiMessageNasConfigSignalInfoInput *self
,guint8 *value_lte_report_rate
,guint8 *value_lte_report_average_period
,GError **error
);
Get the 'LTE Report' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_lte_report (QmiMessageNasConfigSignalInfoInput *self
,guint8 value_lte_report_rate
,guint8 value_lte_report_average_period
,GError **error
);
Set the 'LTE Report' field in the message.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_rsrp_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_rsrp_threshold
,GError **error
);
Get the 'RSRP Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_rsrp_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_rsrp_threshold
,GError **error
);
Set the 'RSRP Threshold' field in the message.
self |
||
value_rsrp_threshold |
a GArray of gint16 elements. A new reference to |
[in][element-type gint16][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_rsrq_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_rsrq_threshold
,GError **error
);
Get the 'RSRQ Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_rsrq_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_rsrq_threshold
,GError **error
);
Set the 'RSRQ Threshold' field in the message.
self |
||
value_rsrq_threshold |
a GArray of gint8 elements. A new reference to |
[in][element-type gint8][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_io_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_io_threshold
,GError **error
);
Get the 'IO Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_io_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_io_threshold
,GError **error
);
Set the 'IO Threshold' field in the message.
self |
||
value_io_threshold |
a GArray of gint32 elements. A new reference to |
[in][element-type gint32][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_lte_snr_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_lte_snr_threshold
,GError **error
);
Get the 'LTE SNR Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_lte_snr_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_lte_snr_threshold
,GError **error
);
Set the 'LTE SNR Threshold' field in the message.
self |
||
value_lte_snr_threshold |
a GArray of gint16 elements. A new reference to |
[in][element-type gint16][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_sinr_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_sinr_threshold
,GError **error
);
Get the 'SINR Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_sinr_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_sinr_threshold
,GError **error
);
Set the 'SINR Threshold' field in the message.
self |
||
value_sinr_threshold |
a GArray of guint8 elements. A new reference to |
[in][element-type guint8][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_ecio_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_ecio_threshold
,GError **error
);
Get the 'ECIO Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_ecio_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_ecio_threshold
,GError **error
);
Set the 'ECIO Threshold' field in the message.
self |
||
value_ecio_threshold |
a GArray of gint16 elements. A new reference to |
[in][element-type gint16][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_get_rssi_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray **value_rssi_threshold
,GError **error
);
Get the 'RSSI Threshold' field from self
.
Since: 1.0
gboolean qmi_message_nas_config_signal_info_input_set_rssi_threshold (QmiMessageNasConfigSignalInfoInput *self
,GArray *value_rssi_threshold
,GError **error
);
Set the 'RSSI Threshold' field in the message.
self |
||
value_rssi_threshold |
a GArray of gint8 elements. A new reference to |
[in][element-type gint8][transfer none] |
error |
Return location for error or |
Since: 1.0
QmiMessageNasConfigSignalInfoOutput *
qmi_message_nas_config_signal_info_output_ref
(QmiMessageNasConfigSignalInfoOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_nas_config_signal_info_output_unref
(QmiMessageNasConfigSignalInfoOutput *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_config_signal_info_output_get_result (QmiMessageNasConfigSignalInfoOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
QmiMessageNasConfigSignalInfoOutput * qmi_message_nas_config_signal_info_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasConfigSignalInfoOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasConfigSignalInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_config_signal_info_output_unref()
.
Since: 1.34
void qmi_client_nas_config_signal_info (QmiClientNas *self
,QmiMessageNasConfigSignalInfoInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Config 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_config_signal_info_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
QmiMessageNasConfigSignalInfoOutput * qmi_client_nas_config_signal_info_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_config_signal_info()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasConfigSignalInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_config_signal_info_output_unref()
.
Since: 1.0
typedef struct _QmiMessageNasConfigSignalInfoInput QmiMessageNasConfigSignalInfoInput;
The QmiMessageNasConfigSignalInfoInput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct _QmiMessageNasConfigSignalInfoOutput QmiMessageNasConfigSignalInfoOutput;
The QmiMessageNasConfigSignalInfoOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0