Top |
NAS Get RF Band Information responseNAS Get RF Band Information response — Methods to manage the NAS Get RF Band Information response. |
GBoxed ├── QmiMessageNasGetRfBandInformationOutput ├── QmiMessageNasGetRfBandInformationOutputBandwidthListElement ├── QmiMessageNasGetRfBandInformationOutputExtendedListElement ╰── QmiMessageNasGetRfBandInformationOutputListElement
Collection of methods to create requests and parse responses of the NAS Get RF Band Information message.
QmiMessageNasGetRfBandInformationOutput *
qmi_message_nas_get_rf_band_information_output_ref
(QmiMessageNasGetRfBandInformationOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_nas_get_rf_band_information_output_unref
(QmiMessageNasGetRfBandInformationOutput *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_rf_band_information_output_get_bandwidth_list (QmiMessageNasGetRfBandInformationOutput *self
,GArray **value_bandwidth_list
,GError **error
);
Get the 'Bandwidth List' field from self
.
[skip]
self |
||
value_bandwidth_list |
a placeholder for the output GArray of QmiMessageNasGetRfBandInformationOutputBandwidthListElement elements, or |
[out][optional][element-type QmiMessageNasGetRfBandInformationOutputBandwidthListElement][transfer none] |
error |
Return location for error or |
Since: 1.26
gboolean qmi_message_nas_get_rf_band_information_output_get_bandwidth_list_gir (QmiMessageNasGetRfBandInformationOutput *self
,GPtrArray **value_bandwidth_list_ptr
,GError **error
);
Get the 'Bandwidth List' field from self
.
Version of qmi_message_nas_get_rf_band_information_output_get_bandwidth_list()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_nas_get_rf_band_information_output_get_bandwidth_list]
self |
||
value_bandwidth_list_ptr |
a placeholder for the output array of QmiMessageNasGetRfBandInformationOutputBandwidthListElement elements, or |
[out][optional][element-type QmiMessageNasGetRfBandInformationOutputBandwidthListElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_get_rf_band_information_output_get_extended_list (QmiMessageNasGetRfBandInformationOutput *self
,GArray **value_extended_list
,GError **error
);
Get the 'Extended List' field from self
.
[skip]
self |
||
value_extended_list |
a placeholder for the output GArray of QmiMessageNasGetRfBandInformationOutputExtendedListElement elements, or |
[out][optional][element-type QmiMessageNasGetRfBandInformationOutputExtendedListElement][transfer none] |
error |
Return location for error or |
Since: 1.26
gboolean qmi_message_nas_get_rf_band_information_output_get_extended_list_gir (QmiMessageNasGetRfBandInformationOutput *self
,GPtrArray **value_extended_list_ptr
,GError **error
);
Get the 'Extended List' field from self
.
Version of qmi_message_nas_get_rf_band_information_output_get_extended_list()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_nas_get_rf_band_information_output_get_extended_list]
self |
||
value_extended_list_ptr |
a placeholder for the output array of QmiMessageNasGetRfBandInformationOutputExtendedListElement elements, or |
[out][optional][element-type QmiMessageNasGetRfBandInformationOutputExtendedListElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_get_rf_band_information_output_get_list (QmiMessageNasGetRfBandInformationOutput *self
,GArray **value_list
,GError **error
);
Get the 'List' field from self
.
[skip]
self |
||
value_list |
a placeholder for the output GArray of QmiMessageNasGetRfBandInformationOutputListElement elements, or |
[out][optional][element-type QmiMessageNasGetRfBandInformationOutputListElement][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_rf_band_information_output_get_list_gir (QmiMessageNasGetRfBandInformationOutput *self
,GPtrArray **value_list_ptr
,GError **error
);
Get the 'List' field from self
.
Version of qmi_message_nas_get_rf_band_information_output_get_list()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_nas_get_rf_band_information_output_get_list]
self |
||
value_list_ptr |
a placeholder for the output array of QmiMessageNasGetRfBandInformationOutputListElement elements, or |
[out][optional][element-type QmiMessageNasGetRfBandInformationOutputListElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_get_rf_band_information_output_get_result (QmiMessageNasGetRfBandInformationOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
QmiMessageNasGetRfBandInformationOutput * qmi_message_nas_get_rf_band_information_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasGetRfBandInformationOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasGetRfBandInformationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_rf_band_information_output_unref()
.
Since: 1.34
void qmi_client_nas_get_rf_band_information (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get RF Band Information 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_rf_band_information_finish()
to get the result of the operation.
self |
a QmiClientNas. |
|
unused |
|
|
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
QmiMessageNasGetRfBandInformationOutput * qmi_client_nas_get_rf_band_information_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_rf_band_information()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetRfBandInformationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_rf_band_information_output_unref()
.
Since: 1.0
typedef struct _QmiMessageNasGetRfBandInformationOutput QmiMessageNasGetRfBandInformationOutput;
The QmiMessageNasGetRfBandInformationOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct { QmiNasRadioInterface radio_interface; QmiNasDLBandwidth bandwidth; } QmiMessageNasGetRfBandInformationOutputBandwidthListElement;
A QmiMessageNasGetRfBandInformationOutputBandwidthListElement struct.
Since: 1.26
typedef struct { QmiNasRadioInterface radio_interface; QmiNasActiveBand active_band_class; guint32 active_channel; } QmiMessageNasGetRfBandInformationOutputExtendedListElement;
A QmiMessageNasGetRfBandInformationOutputExtendedListElement struct.
QmiNasRadioInterface |
||
QmiNasActiveBand |
||
guint32 |
a guint32. |
Since: 1.26
typedef struct { QmiNasRadioInterface radio_interface; QmiNasActiveBand active_band_class; guint16 active_channel; } QmiMessageNasGetRfBandInformationOutputListElement;
A QmiMessageNasGetRfBandInformationOutputListElement struct.
QmiNasRadioInterface |
||
QmiNasActiveBand |
||
guint16 |
a guint16. |
Since: 1.0