libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageNasSetEventReportInput; QmiMessageNasSetEventReportOutput; QmiMessageNasSetEventReportInput * qmi_message_nas_set_event_report_input_new (void
); QmiMessageNasSetEventReportInput * qmi_message_nas_set_event_report_input_ref (QmiMessageNasSetEventReportInput *self
); void qmi_message_nas_set_event_report_input_unref (QmiMessageNasSetEventReportInput *self
); gboolean qmi_message_nas_set_event_report_input_get_lte_rsrp_delta (QmiMessageNasSetEventReportInput *self
,gboolean *lte_rsrp_delta_report
,guint8 *lte_rsrp_delta_rsrp_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_lte_rsrp_delta (QmiMessageNasSetEventReportInput *self
,gboolean lte_rsrp_delta_report
,guint8 lte_rsrp_delta_rsrp_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_lte_snr_delta (QmiMessageNasSetEventReportInput *self
,gboolean *lte_snr_delta_report
,guint8 *lte_snr_delta_snr_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_lte_snr_delta (QmiMessageNasSetEventReportInput *self
,gboolean lte_snr_delta_report
,guint8 lte_snr_delta_snr_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_sinr_threshold (QmiMessageNasSetEventReportInput *self
,gboolean *sinr_threshold_report
,GArray **sinr_threshold_thresholds
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_sinr_threshold (QmiMessageNasSetEventReportInput *self
,gboolean sinr_threshold_report
,GArray *sinr_threshold_thresholds
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_ecio_threshold (QmiMessageNasSetEventReportInput *self
,gboolean *ecio_threshold_report
,GArray **ecio_threshold_thresholds
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_ecio_threshold (QmiMessageNasSetEventReportInput *self
,gboolean ecio_threshold_report
,GArray *ecio_threshold_thresholds
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_error_rate_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *error_rate_indicator
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_error_rate_indicator (QmiMessageNasSetEventReportInput *self
,gboolean error_rate_indicator
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_sinr_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *sinr_indicator_report
,guint8 *sinr_indicator_sinr_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_sinr_indicator (QmiMessageNasSetEventReportInput *self
,gboolean sinr_indicator_report
,guint8 sinr_indicator_sinr_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_io_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *io_indicator_report
,guint8 *io_indicator_io_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_io_indicator (QmiMessageNasSetEventReportInput *self
,gboolean io_indicator_report
,guint8 io_indicator_io_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_ecio_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *ecio_indicator_report
,guint8 *ecio_indicator_ecio_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_ecio_indicator (QmiMessageNasSetEventReportInput *self
,gboolean ecio_indicator_report
,guint8 ecio_indicator_ecio_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_rssi_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *rssi_indicator_report
,guint8 *rssi_indicator_rssi_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_rssi_indicator (QmiMessageNasSetEventReportInput *self
,gboolean rssi_indicator_report
,guint8 rssi_indicator_rssi_delta
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_registration_reject_reason (QmiMessageNasSetEventReportInput *self
,gboolean *registration_reject_reason
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_registration_reject_reason (QmiMessageNasSetEventReportInput *self
,gboolean registration_reject_reason
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_rf_band_information (QmiMessageNasSetEventReportInput *self
,gboolean *rf_band_information
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_rf_band_information (QmiMessageNasSetEventReportInput *self
,gboolean rf_band_information
,GError **error
); gboolean qmi_message_nas_set_event_report_input_get_signal_strength_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *signal_strength_indicator_report
,GArray **signal_strength_indicator_thresholds
,GError **error
); gboolean qmi_message_nas_set_event_report_input_set_signal_strength_indicator (QmiMessageNasSetEventReportInput *self
,gboolean signal_strength_indicator_report
,GArray *signal_strength_indicator_thresholds
,GError **error
); QmiMessageNasSetEventReportOutput * qmi_message_nas_set_event_report_output_ref (QmiMessageNasSetEventReportOutput *self
); void qmi_message_nas_set_event_report_output_unref (QmiMessageNasSetEventReportOutput *self
); gboolean qmi_message_nas_set_event_report_output_get_result (QmiMessageNasSetEventReportOutput *self
,GError **error
); void qmi_client_nas_set_event_report (QmiClientNas *self
,QmiMessageNasSetEventReportInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageNasSetEventReportOutput * qmi_client_nas_set_event_report_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageNasSetEventReportInput
GBoxed +----QmiMessageNasSetEventReportOutput
typedef struct _QmiMessageNasSetEventReportInput QmiMessageNasSetEventReportInput;
The QmiMessageNasSetEventReportInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageNasSetEventReportOutput QmiMessageNasSetEventReportOutput;
The QmiMessageNasSetEventReportOutput structure contains private data and should only be accessed using the provided API.
QmiMessageNasSetEventReportInput * qmi_message_nas_set_event_report_input_new
(void
);
Allocates a new QmiMessageNasSetEventReportInput.
Returns : |
the newly created QmiMessageNasSetEventReportInput. The returned value should be freed with qmi_message_nas_set_event_report_input_unref() . |
QmiMessageNasSetEventReportInput * qmi_message_nas_set_event_report_input_ref
(QmiMessageNasSetEventReportInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasSetEventReportInput. |
Returns : |
the new reference to self . |
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.
|
a QmiMessageNasSetEventReportInput. |
gboolean qmi_message_nas_set_event_report_input_get_lte_rsrp_delta (QmiMessageNasSetEventReportInput *self
,gboolean *lte_rsrp_delta_report
,guint8 *lte_rsrp_delta_rsrp_delta
,GError **error
);
Get the 'LTE RSRP Delta' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_lte_rsrp_delta (QmiMessageNasSetEventReportInput *self
,gboolean lte_rsrp_delta_report
,guint8 lte_rsrp_delta_rsrp_delta
,GError **error
);
Set the 'LTE RSRP Delta' field in the message.
gboolean qmi_message_nas_set_event_report_input_get_lte_snr_delta (QmiMessageNasSetEventReportInput *self
,gboolean *lte_snr_delta_report
,guint8 *lte_snr_delta_snr_delta
,GError **error
);
Get the 'LTE SNR Delta' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_lte_snr_delta (QmiMessageNasSetEventReportInput *self
,gboolean lte_snr_delta_report
,guint8 lte_snr_delta_snr_delta
,GError **error
);
Set the 'LTE SNR Delta' field in the message.
gboolean qmi_message_nas_set_event_report_input_get_sinr_threshold (QmiMessageNasSetEventReportInput *self
,gboolean *sinr_threshold_report
,GArray **sinr_threshold_thresholds
,GError **error
);
Get the 'SINR Threshold' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output GArray of guint8 elements, or NULL if not required. Do not free it, it is owned by self . |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_sinr_threshold (QmiMessageNasSetEventReportInput *self
,gboolean sinr_threshold_report
,GArray *sinr_threshold_thresholds
,GError **error
);
Set the 'SINR Threshold' field in the message.
|
a QmiMessageNasSetEventReportInput. |
|
a gboolean. |
|
a GArray of guint8 elements. A new reference to sinr_threshold_thresholds will be taken. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_get_ecio_threshold (QmiMessageNasSetEventReportInput *self
,gboolean *ecio_threshold_report
,GArray **ecio_threshold_thresholds
,GError **error
);
Get the 'ECIO Threshold' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output GArray of gint16 elements, or NULL if not required. Do not free it, it is owned by self . |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_ecio_threshold (QmiMessageNasSetEventReportInput *self
,gboolean ecio_threshold_report
,GArray *ecio_threshold_thresholds
,GError **error
);
Set the 'ECIO Threshold' field in the message.
|
a QmiMessageNasSetEventReportInput. |
|
a gboolean. |
|
a GArray of gint16 elements. A new reference to ecio_threshold_thresholds will be taken. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_get_error_rate_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *error_rate_indicator
,GError **error
);
Get the 'Error Rate Indicator' field from self
.
gboolean qmi_message_nas_set_event_report_input_set_error_rate_indicator (QmiMessageNasSetEventReportInput *self
,gboolean error_rate_indicator
,GError **error
);
Set the 'Error Rate Indicator' field in the message.
|
a QmiMessageNasSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_get_sinr_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *sinr_indicator_report
,guint8 *sinr_indicator_sinr_delta
,GError **error
);
Get the 'SINR Indicator' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_sinr_indicator (QmiMessageNasSetEventReportInput *self
,gboolean sinr_indicator_report
,guint8 sinr_indicator_sinr_delta
,GError **error
);
Set the 'SINR Indicator' field in the message.
gboolean qmi_message_nas_set_event_report_input_get_io_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *io_indicator_report
,guint8 *io_indicator_io_delta
,GError **error
);
Get the 'IO Indicator' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_io_indicator (QmiMessageNasSetEventReportInput *self
,gboolean io_indicator_report
,guint8 io_indicator_io_delta
,GError **error
);
Set the 'IO Indicator' field in the message.
gboolean qmi_message_nas_set_event_report_input_get_ecio_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *ecio_indicator_report
,guint8 *ecio_indicator_ecio_delta
,GError **error
);
Get the 'ECIO Indicator' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_ecio_indicator (QmiMessageNasSetEventReportInput *self
,gboolean ecio_indicator_report
,guint8 ecio_indicator_ecio_delta
,GError **error
);
Set the 'ECIO Indicator' field in the message.
gboolean qmi_message_nas_set_event_report_input_get_rssi_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *rssi_indicator_report
,guint8 *rssi_indicator_rssi_delta
,GError **error
);
Get the 'RSSI Indicator' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_rssi_indicator (QmiMessageNasSetEventReportInput *self
,gboolean rssi_indicator_report
,guint8 rssi_indicator_rssi_delta
,GError **error
);
Set the 'RSSI Indicator' field in the message.
gboolean qmi_message_nas_set_event_report_input_get_registration_reject_reason (QmiMessageNasSetEventReportInput *self
,gboolean *registration_reject_reason
,GError **error
);
Get the 'Registration Reject Reason' field from self
.
gboolean qmi_message_nas_set_event_report_input_set_registration_reject_reason (QmiMessageNasSetEventReportInput *self
,gboolean registration_reject_reason
,GError **error
);
Set the 'Registration Reject Reason' field in the message.
|
a QmiMessageNasSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_get_rf_band_information (QmiMessageNasSetEventReportInput *self
,gboolean *rf_band_information
,GError **error
);
Get the 'RF Band Information' field from self
.
gboolean qmi_message_nas_set_event_report_input_set_rf_band_information (QmiMessageNasSetEventReportInput *self
,gboolean rf_band_information
,GError **error
);
Set the 'RF Band Information' field in the message.
|
a QmiMessageNasSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_get_signal_strength_indicator (QmiMessageNasSetEventReportInput *self
,gboolean *signal_strength_indicator_report
,GArray **signal_strength_indicator_thresholds
,GError **error
);
Get the 'Signal Strength Indicator' field from self
.
|
a QmiMessageNasSetEventReportInput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output GArray of gint8 elements, or NULL if not required. Do not free it, it is owned by self . |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_event_report_input_set_signal_strength_indicator (QmiMessageNasSetEventReportInput *self
,gboolean signal_strength_indicator_report
,GArray *signal_strength_indicator_thresholds
,GError **error
);
Set the 'Signal Strength Indicator' field in the message.
|
a QmiMessageNasSetEventReportInput. |
|
a gboolean. |
|
a GArray of gint8 elements. A new reference to signal_strength_indicator_thresholds will be taken. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageNasSetEventReportOutput * qmi_message_nas_set_event_report_output_ref
(QmiMessageNasSetEventReportOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasSetEventReportOutput. |
Returns : |
the new reference to self . |
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.
|
a QmiMessageNasSetEventReportOutput. |
gboolean qmi_message_nas_set_event_report_output_get_result (QmiMessageNasSetEventReportOutput *self
,GError **error
);
Get the result of the QMI operation.
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.
|
a QmiClientNas. |
|
a QmiMessageNasSetEventReportInput. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL . |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback . |
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()
.
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_set_event_report() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageNasSetEventReportOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_set_event_report_output_unref() . |