Top |
QmiMessageNasNetworkScanInput *
qmi_message_nas_network_scan_input_new
(void
);
Allocates a new QmiMessageNasNetworkScanInput.
the newly created QmiMessageNasNetworkScanInput. The returned value should be freed with qmi_message_nas_network_scan_input_unref()
.
QmiMessageNasNetworkScanInput *
qmi_message_nas_network_scan_input_ref
(QmiMessageNasNetworkScanInput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_nas_network_scan_input_unref
(QmiMessageNasNetworkScanInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_nas_network_scan_input_get_network_type (QmiMessageNasNetworkScanInput *self
,QmiNasNetworkScanType *network_type
,GError **error
);
Get the 'Network Type' field from self
.
self |
||
network_type |
a placeholder for the output QmiNasNetworkScanType, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_network_scan_input_set_network_type (QmiMessageNasNetworkScanInput *self
,QmiNasNetworkScanType network_type
,GError **error
);
Set the 'Network Type' field in the message.
QmiMessageNasNetworkScanOutput *
qmi_message_nas_network_scan_output_ref
(QmiMessageNasNetworkScanOutput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_nas_network_scan_output_unref
(QmiMessageNasNetworkScanOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_nas_network_scan_output_get_result (QmiMessageNasNetworkScanOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_nas_network_scan_output_get_mnc_pcs_digit_include_status (QmiMessageNasNetworkScanOutput *self
,GArray **mnc_pcs_digit_include_status
,GError **error
);
Get the 'MNC PCS Digit Include Status' field from self
.
self |
||
mnc_pcs_digit_include_status |
a placeholder for the output GArray of QmiMessageNasNetworkScanOutputMncPcsDigitIncludeStatusElement elements, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_network_scan_output_get_radio_access_technology (QmiMessageNasNetworkScanOutput *self
,GArray **radio_access_technology
,GError **error
);
Get the 'Radio Access Technology' field from self
.
self |
||
radio_access_technology |
a placeholder for the output GArray of QmiMessageNasNetworkScanOutputRadioAccessTechnologyElement elements, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_network_scan_output_get_network_information (QmiMessageNasNetworkScanOutput *self
,GArray **network_information
,GError **error
);
Get the 'Network Information' field from self
.
self |
||
network_information |
a placeholder for the output GArray of QmiMessageNasNetworkScanOutputNetworkInformationElement elements, or |
|
error |
Return location for error or |
void qmi_client_nas_network_scan (QmiClientNas *self
,QmiMessageNasNetworkScanInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Network Scan 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_network_scan_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 |
QmiMessageNasNetworkScanOutput * qmi_client_nas_network_scan_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_network_scan()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasNetworkScanOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_network_scan_output_unref()
.
typedef struct _QmiMessageNasNetworkScanInput QmiMessageNasNetworkScanInput;
The QmiMessageNasNetworkScanInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageNasNetworkScanOutput QmiMessageNasNetworkScanOutput;
The QmiMessageNasNetworkScanOutput structure contains private data and should only be accessed using the provided API.
typedef struct { guint16 mcc; guint16 mnc; gboolean includes_pcs_digit; } QmiMessageNasNetworkScanOutputMncPcsDigitIncludeStatusElement;
A QmiMessageNasNetworkScanOutputMncPcsDigitIncludeStatusElement struct.
typedef struct { guint16 mcc; guint16 mnc; QmiNasRadioInterface radio_interface; } QmiMessageNasNetworkScanOutputRadioAccessTechnologyElement;
A QmiMessageNasNetworkScanOutputRadioAccessTechnologyElement struct.
typedef struct { guint16 mcc; guint16 mnc; QmiNasNetworkStatus network_status; gchar *description; } QmiMessageNasNetworkScanOutputNetworkInformationElement;
A QmiMessageNasNetworkScanOutputNetworkInformationElement struct.