|  |  |  | libqmi-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageNasNetworkScanInput; QmiMessageNasNetworkScanOutput; QmiMessageNasNetworkScanOutputMncPcsDigitIncludeStatusElement; QmiMessageNasNetworkScanOutputRadioAccessTechnologyElement; QmiMessageNasNetworkScanOutputNetworkInformationElement; QmiMessageNasNetworkScanInput * qmi_message_nas_network_scan_input_new (void); QmiMessageNasNetworkScanInput * qmi_message_nas_network_scan_input_ref (QmiMessageNasNetworkScanInput *self); void qmi_message_nas_network_scan_input_unref (QmiMessageNasNetworkScanInput *self); gboolean qmi_message_nas_network_scan_input_get_network_type (QmiMessageNasNetworkScanInput *self,QmiNasNetworkScanType *network_type,GError **error); gboolean qmi_message_nas_network_scan_input_set_network_type (QmiMessageNasNetworkScanInput *self,QmiNasNetworkScanType network_type,GError **error); QmiMessageNasNetworkScanOutput * qmi_message_nas_network_scan_output_ref (QmiMessageNasNetworkScanOutput *self); void qmi_message_nas_network_scan_output_unref (QmiMessageNasNetworkScanOutput *self); gboolean qmi_message_nas_network_scan_output_get_result (QmiMessageNasNetworkScanOutput *self,GError **error); gboolean qmi_message_nas_network_scan_output_get_mnc_pcs_digit_include_status (QmiMessageNasNetworkScanOutput *self,GArray **mnc_pcs_digit_include_status,GError **error); gboolean qmi_message_nas_network_scan_output_get_radio_access_technology (QmiMessageNasNetworkScanOutput *self,GArray **radio_access_technology,GError **error); gboolean qmi_message_nas_network_scan_output_get_network_information (QmiMessageNasNetworkScanOutput *self,GArray **network_information,GError **error); void qmi_client_nas_network_scan (QmiClientNas *self,QmiMessageNasNetworkScanInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageNasNetworkScanOutput * qmi_client_nas_network_scan_finish (QmiClientNas *self,GAsyncResult *res,GError **error);
GBoxed +----QmiMessageNasNetworkScanInput
GBoxed +----QmiMessageNasNetworkScanOutput
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.
| guint16  | a guint16. | 
| guint16  | a guint16. | 
| QmiNasRadioInterface  | a QmiNasRadioInterface. | 
typedef struct {
    guint16 mcc;
    guint16 mnc;
    QmiNasNetworkStatus network_status;
    gchar * description;
} QmiMessageNasNetworkScanOutputNetworkInformationElement;
A QmiMessageNasNetworkScanOutputNetworkInformationElement struct.
| guint16  | a guint16. | 
| guint16  | a guint16. | 
| QmiNasNetworkStatus  | a QmiNasNetworkStatus. | 
| gchar * | a string. | 
QmiMessageNasNetworkScanInput * qmi_message_nas_network_scan_input_new
                                                        (void);
Allocates a new QmiMessageNasNetworkScanInput.
| Returns : | 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.
| 
 | a QmiMessageNasNetworkScanInput. | 
| Returns : | the new reference to self. | 
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.
| 
 | a QmiMessageNasNetworkScanInput. | 
gboolean qmi_message_nas_network_scan_input_get_network_type (QmiMessageNasNetworkScanInput *self,QmiNasNetworkScanType *network_type,GError **error);
Get the 'Network Type' field from self.
| 
 | a QmiMessageNasNetworkScanInput. | 
| 
 | a placeholder for the output QmiNasNetworkScanType, or NULLif not required. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
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.
| 
 | a QmiMessageNasNetworkScanInput. | 
| 
 | a QmiNasNetworkScanType. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEifvaluewas successfully set,FALSEotherwise. | 
QmiMessageNasNetworkScanOutput * qmi_message_nas_network_scan_output_ref
                                                        (QmiMessageNasNetworkScanOutput *self);
Atomically increments the reference count of self by one.
| 
 | a QmiMessageNasNetworkScanOutput. | 
| Returns : | the new reference to self. | 
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.
| 
 | a QmiMessageNasNetworkScanOutput. | 
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.
| 
 | a QmiMessageNasNetworkScanOutput. | 
| 
 | a placeholder for the output GArray of QmiMessageNasNetworkScanOutputMncPcsDigitIncludeStatusElement elements, or NULLif not required. Do not free it, it is owned byself. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
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.
| 
 | a QmiMessageNasNetworkScanOutput. | 
| 
 | a placeholder for the output GArray of QmiMessageNasNetworkScanOutputRadioAccessTechnologyElement elements, or NULLif not required. Do not free it, it is owned byself. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
gboolean qmi_message_nas_network_scan_output_get_network_information (QmiMessageNasNetworkScanOutput *self,GArray **network_information,GError **error);
Get the 'Network Information' field from self.
| 
 | a QmiMessageNasNetworkScanOutput. | 
| 
 | a placeholder for the output GArray of QmiMessageNasNetworkScanOutputNetworkInformationElement elements, or NULLif not required. Do not free it, it is owned byself. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
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.
| 
 | a QmiClientNas. | 
| 
 | a QmiMessageNasNetworkScanInput. | 
| 
 | 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. | 
QmiMessageNasNetworkScanOutput * qmi_client_nas_network_scan_finish (QmiClientNas *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_nas_network_scan().
| 
 | a QmiClientNas. | 
| 
 | the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_network_scan(). | 
| 
 | Return location for error or NULL. | 
| Returns : | a QmiMessageNasNetworkScanOutput, or NULLiferroris set. The returned value should be freed withqmi_message_nas_network_scan_output_unref(). |