Top |
NAS Set Event Report responseNAS Set Event Report response — Methods to manage the NAS Set Event Report response. |
Collection of methods to create requests and parse responses of the NAS Set Event Report message.
QmiMessageNasSetEventReportInput *
qmi_message_nas_set_event_report_input_new
(void
);
Allocates a new QmiMessageNasSetEventReportInput.
the newly created QmiMessageNasSetEventReportInput. The returned value should be freed with qmi_message_nas_set_event_report_input_unref()
.
Since: 1.0
QmiMessageNasSetEventReportInput *
qmi_message_nas_set_event_report_input_ref
(QmiMessageNasSetEventReportInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_nas_set_event_report_input_unref
(QmiMessageNasSetEventReportInput *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_set_event_report_input_get_lte_rsrp_delta (QmiMessageNasSetEventReportInput *self
,gboolean *value_lte_rsrp_delta_report
,guint8 *value_lte_rsrp_delta_rsrp_delta
,GError **error
);
Get the 'LTE RSRP Delta' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_lte_rsrp_delta (QmiMessageNasSetEventReportInput *self
,gboolean value_lte_rsrp_delta_report
,guint8 value_lte_rsrp_delta_rsrp_delta
,GError **error
);
Set the 'LTE RSRP Delta' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_lte_snr_delta (QmiMessageNasSetEventReportInput *self
,gboolean *value_lte_snr_delta_report
,guint8 *value_lte_snr_delta_snr_delta
,GError **error
);
Get the 'LTE SNR Delta' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_lte_snr_delta (QmiMessageNasSetEventReportInput *self
,gboolean value_lte_snr_delta_report
,guint8 value_lte_snr_delta_snr_delta
,GError **error
);
Set the 'LTE SNR Delta' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_sinr_threshold (QmiMessageNasSetEventReportInput *self
,gboolean *value_sinr_threshold_report
,GArray **value_sinr_threshold_thresholds
,GError **error
);
Get the 'SINR Threshold' field from self
.
self |
||
value_sinr_threshold_report |
a placeholder for the output gboolean, or |
[out][optional] |
value_sinr_threshold_thresholds |
a placeholder for the output GArray of guint8 elements, or |
[out][optional][element-type guint8][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_sinr_threshold (QmiMessageNasSetEventReportInput *self
,gboolean value_sinr_threshold_report
,GArray *value_sinr_threshold_thresholds
,GError **error
);
Set the 'SINR Threshold' field in the message.
self |
||
value_sinr_threshold_report |
a gboolean. |
|
value_sinr_threshold_thresholds |
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_set_event_report_input_get_ecio_threshold (QmiMessageNasSetEventReportInput *self
,gboolean *value_ecio_threshold_report
,GArray **value_ecio_threshold_thresholds
,GError **error
);
Get the 'ECIO Threshold' field from self
.
self |
||
value_ecio_threshold_report |
a placeholder for the output gboolean, or |
[out][optional] |
value_ecio_threshold_thresholds |
a placeholder for the output GArray of gint16 elements, or |
[out][optional][element-type gint16][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_ecio_threshold (QmiMessageNasSetEventReportInput *self
,gboolean value_ecio_threshold_report
,GArray *value_ecio_threshold_thresholds
,GError **error
);
Set the 'ECIO Threshold' field in the message.
self |
||
value_ecio_threshold_report |
a gboolean. |
|
value_ecio_threshold_thresholds |
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_set_event_report_input_get_error_rate_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *value_error_rate_indicator
,GError **error
);
Get the 'Error Rate Indicator' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_error_rate_indicator (QmiMessageNasSetEventReportInput *self
,gboolean value_error_rate_indicator
,GError **error
);
Set the 'Error Rate Indicator' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_sinr_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *value_sinr_indicator_report
,guint8 *value_sinr_indicator_sinr_delta
,GError **error
);
Get the 'SINR Indicator' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_sinr_indicator (QmiMessageNasSetEventReportInput *self
,gboolean value_sinr_indicator_report
,guint8 value_sinr_indicator_sinr_delta
,GError **error
);
Set the 'SINR Indicator' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_io_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *value_io_indicator_report
,guint8 *value_io_indicator_io_delta
,GError **error
);
Get the 'IO Indicator' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_io_indicator (QmiMessageNasSetEventReportInput *self
,gboolean value_io_indicator_report
,guint8 value_io_indicator_io_delta
,GError **error
);
Set the 'IO Indicator' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_ecio_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *value_ecio_indicator_report
,guint8 *value_ecio_indicator_ecio_delta
,GError **error
);
Get the 'ECIO Indicator' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_ecio_indicator (QmiMessageNasSetEventReportInput *self
,gboolean value_ecio_indicator_report
,guint8 value_ecio_indicator_ecio_delta
,GError **error
);
Set the 'ECIO Indicator' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_rssi_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *value_rssi_indicator_report
,guint8 *value_rssi_indicator_rssi_delta
,GError **error
);
Get the 'RSSI Indicator' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_rssi_indicator (QmiMessageNasSetEventReportInput *self
,gboolean value_rssi_indicator_report
,guint8 value_rssi_indicator_rssi_delta
,GError **error
);
Set the 'RSSI Indicator' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_registration_reject_reason (QmiMessageNasSetEventReportInput *self
,gboolean *value_registration_reject_reason
,GError **error
);
Get the 'Registration Reject Reason' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_registration_reject_reason (QmiMessageNasSetEventReportInput *self
,gboolean value_registration_reject_reason
,GError **error
);
Set the 'Registration Reject Reason' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_rf_band_information (QmiMessageNasSetEventReportInput *self
,gboolean *value_rf_band_information
,GError **error
);
Get the 'RF Band Information' field from self
.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_rf_band_information (QmiMessageNasSetEventReportInput *self
,gboolean value_rf_band_information
,GError **error
);
Set the 'RF Band Information' field in the message.
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_get_signal_strength_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *value_signal_strength_indicator_report
,GArray **value_signal_strength_indicator_thresholds
,GError **error
);
Get the 'Signal Strength Indicator' field from self
.
self |
||
value_signal_strength_indicator_report |
a placeholder for the output gboolean, or |
[out][optional] |
value_signal_strength_indicator_thresholds |
a placeholder for the output GArray of gint8 elements, or |
[out][optional][element-type gint8][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_set_event_report_input_set_signal_strength_indicator (QmiMessageNasSetEventReportInput *self
,gboolean value_signal_strength_indicator_report
,GArray *value_signal_strength_indicator_thresholds
,GError **error
);
Set the 'Signal Strength Indicator' field in the message.
self |
||
value_signal_strength_indicator_report |
a gboolean. |
|
value_signal_strength_indicator_thresholds |
a GArray of gint8 elements. A new reference to |
[in][element-type gint8][transfer none] |
error |
Return location for error or |
Since: 1.0
QmiMessageNasSetEventReportOutput *
qmi_message_nas_set_event_report_output_ref
(QmiMessageNasSetEventReportOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_nas_set_event_report_output_unref
(QmiMessageNasSetEventReportOutput *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_set_event_report_output_get_result (QmiMessageNasSetEventReportOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
QmiMessageNasSetEventReportOutput * qmi_message_nas_set_event_report_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasSetEventReportOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasSetEventReportOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_set_event_report_output_unref()
.
Since: 1.34
void qmi_client_nas_set_event_report (QmiClientNas *self
,QmiMessageNasSetEventReportInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Set Event Report 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_set_event_report_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
QmiMessageNasSetEventReportOutput * qmi_client_nas_set_event_report_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_set_event_report()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasSetEventReportOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_set_event_report_output_unref()
.
Since: 1.0
typedef struct _QmiMessageNasSetEventReportInput QmiMessageNasSetEventReportInput;
The QmiMessageNasSetEventReportInput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct _QmiMessageNasSetEventReportOutput QmiMessageNasSetEventReportOutput;
The QmiMessageNasSetEventReportOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0