Top |
NAS Get PLMN Name responseNAS Get PLMN Name response — Methods to manage the NAS Get PLMN Name response. |
GBoxed ├── QmiMessageNasGetPlmnNameInput ├── QmiMessageNasGetPlmnNameOutput ╰── QmiMessageNasGetPlmnNameOutputPlmnNameWithLanguageIdElement
Collection of methods to create requests and parse responses of the NAS Get PLMN Name message.
QmiMessageNasGetPlmnNameInput *
qmi_message_nas_get_plmn_name_input_new
(void
);
Allocates a new QmiMessageNasGetPlmnNameInput.
the newly created QmiMessageNasGetPlmnNameInput. The returned value should be freed with qmi_message_nas_get_plmn_name_input_unref()
.
Since: 1.28
QmiMessageNasGetPlmnNameInput *
qmi_message_nas_get_plmn_name_input_ref
(QmiMessageNasGetPlmnNameInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.28
void
qmi_message_nas_get_plmn_name_input_unref
(QmiMessageNasGetPlmnNameInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_send_all_information (QmiMessageNasGetPlmnNameInput *self
,gboolean *value_send_all_information
,GError **error
);
Get the 'Send All Information' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_send_all_information (QmiMessageNasGetPlmnNameInput *self
,gboolean value_send_all_information
,GError **error
);
Set the 'Send All Information' field in the message.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_radio_access_technology (QmiMessageNasGetPlmnNameInput *self
,QmiNasRadioInterface *value_radio_access_technology
,GError **error
);
Get the 'Radio Access Technology' field from self
.
self |
||
value_radio_access_technology |
a placeholder for the output QmiNasRadioInterface, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_radio_access_technology (QmiMessageNasGetPlmnNameInput *self
,QmiNasRadioInterface value_radio_access_technology
,GError **error
);
Set the 'Radio Access Technology' field in the message.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_csg_id (QmiMessageNasGetPlmnNameInput *self
,guint32 *value_csg_id
,GError **error
);
Get the 'CSG ID' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_csg_id (QmiMessageNasGetPlmnNameInput *self
,guint32 value_csg_id
,GError **error
);
Set the 'CSG ID' field in the message.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_use_static_table_only (QmiMessageNasGetPlmnNameInput *self
,gboolean *value_use_static_table_only
,GError **error
);
Get the 'Use Static Table Only' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_use_static_table_only (QmiMessageNasGetPlmnNameInput *self
,gboolean value_use_static_table_only
,GError **error
);
Set the 'Use Static Table Only' field in the message.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_always_send_plmn_name (QmiMessageNasGetPlmnNameInput *self
,gboolean *value_always_send_plmn_name
,GError **error
);
Get the 'Always Send PLMN Name' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_always_send_plmn_name (QmiMessageNasGetPlmnNameInput *self
,gboolean value_always_send_plmn_name
,GError **error
);
Set the 'Always Send PLMN Name' field in the message.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_mnc_pcs_digit_include_status (QmiMessageNasGetPlmnNameInput *self
,gboolean *value_mnc_pcs_digit_include_status
,GError **error
);
Get the 'MNC PCS Digit Include Status' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_mnc_pcs_digit_include_status (QmiMessageNasGetPlmnNameInput *self
,gboolean value_mnc_pcs_digit_include_status
,GError **error
);
Set the 'MNC PCS Digit Include Status' field in the message.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_suppress_sim_error (QmiMessageNasGetPlmnNameInput *self
,gboolean *value_suppress_sim_error
,GError **error
);
Get the 'Suppress SIM Error' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_suppress_sim_error (QmiMessageNasGetPlmnNameInput *self
,gboolean value_suppress_sim_error
,GError **error
);
Set the 'Suppress SIM Error' field in the message.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_get_plmn (QmiMessageNasGetPlmnNameInput *self
,guint16 *value_plmn_mcc
,guint16 *value_plmn_mnc
,GError **error
);
Get the 'PLMN' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_input_set_plmn (QmiMessageNasGetPlmnNameInput *self
,guint16 value_plmn_mcc
,guint16 value_plmn_mnc
,GError **error
);
Set the 'PLMN' field in the message.
Since: 1.28
QmiMessageNasGetPlmnNameOutput *
qmi_message_nas_get_plmn_name_output_ref
(QmiMessageNasGetPlmnNameOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.28
void
qmi_message_nas_get_plmn_name_output_unref
(QmiMessageNasGetPlmnNameOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_output_get_network_name_source (QmiMessageNasGetPlmnNameOutput *self
,QmiNasNetworkNameSource *value_network_name_source
,GError **error
);
Get the 'Network Name Source' field from self
.
self |
||
value_network_name_source |
a placeholder for the output QmiNasNetworkNameSource, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_output_get_additional_information (QmiMessageNasGetPlmnNameOutput *self
,GArray **value_additional_information
,GError **error
);
Get the 'Additional Information' field from self
.
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_output_get_plmn_name_with_language_id (QmiMessageNasGetPlmnNameOutput *self
,GArray **value_plmn_name_with_language_id
,GError **error
);
Get the 'PLMN Name With Language Id' field from self
.
[skip]
self |
||
value_plmn_name_with_language_id |
a placeholder for the output GArray of QmiMessageNasGetPlmnNameOutputPlmnNameWithLanguageIdElement elements, or |
[out][optional][element-type QmiMessageNasGetPlmnNameOutputPlmnNameWithLanguageIdElement][transfer none] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_output_get_plmn_name_with_language_id_gir (QmiMessageNasGetPlmnNameOutput *self
,GPtrArray **value_plmn_name_with_language_id_ptr
,GError **error
);
Get the 'PLMN Name With Language Id' field from self
.
Version of qmi_message_nas_get_plmn_name_output_get_plmn_name_with_language_id()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_nas_get_plmn_name_output_get_plmn_name_with_language_id]
self |
||
value_plmn_name_with_language_id_ptr |
a placeholder for the output array of QmiMessageNasGetPlmnNameOutputPlmnNameWithLanguageIdElement elements, or |
[out][optional][element-type QmiMessageNasGetPlmnNameOutputPlmnNameWithLanguageIdElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_get_plmn_name_output_get_network_information (QmiMessageNasGetPlmnNameOutput *self
,QmiNasBoolean *value_network_information
,GError **error
);
Get the 'Network Information' field from self
.
self |
||
value_network_information |
a placeholder for the output QmiNasBoolean, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_output_get_display_bit_information (QmiMessageNasGetPlmnNameOutput *self
,QmiNasBoolean *value_display_bit_information_service_provider_name_set
,QmiNasBoolean *value_display_bit_information_plmn_name_set
,GError **error
);
Get the 'Display Bit Information' field from self
.
self |
||
value_display_bit_information_service_provider_name_set |
a placeholder for the output QmiNasBoolean, or |
[out][optional] |
value_display_bit_information_plmn_name_set |
a placeholder for the output QmiNasBoolean, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_nas_get_plmn_name_output_get_3gpp_eons_plmn_name (QmiMessageNasGetPlmnNameOutput *self
,QmiNasNetworkDescriptionEncoding *value_3gpp_eons_plmn_name_service_provider_name_encoding
,GArray **value_3gpp_eons_plmn_name_service_provider_name
,QmiNasNetworkDescriptionEncoding *value_3gpp_eons_plmn_name_short_name_encoding
,QmiNasPlmnNameCountryInitials *value_3gpp_eons_plmn_name_short_name_country_initials
,QmiNasPlmnNameSpareBits *value_3gpp_eons_plmn_name_short_name_spare_bits
,GArray **value_3gpp_eons_plmn_name_short_name
,QmiNasNetworkDescriptionEncoding *value_3gpp_eons_plmn_name_long_name_encoding
,QmiNasPlmnNameCountryInitials *value_3gpp_eons_plmn_name_long_name_country_initials
,QmiNasPlmnNameSpareBits *value_3gpp_eons_plmn_name_long_name_spare_bits
,GArray **value_3gpp_eons_plmn_name_long_name
,GError **error
);
Get the '3GPP EONS PLMN Name' field from self
.
self |
||
value_3gpp_eons_plmn_name_service_provider_name_encoding |
a placeholder for the output QmiNasNetworkDescriptionEncoding, or |
[out][optional] |
value_3gpp_eons_plmn_name_service_provider_name |
a placeholder for the output GArray of guint8 elements, or |
[out][optional][element-type guint8][transfer none] |
value_3gpp_eons_plmn_name_short_name_encoding |
a placeholder for the output QmiNasNetworkDescriptionEncoding, or |
[out][optional] |
value_3gpp_eons_plmn_name_short_name_country_initials |
a placeholder for the output QmiNasPlmnNameCountryInitials, or |
[out][optional] |
value_3gpp_eons_plmn_name_short_name_spare_bits |
a placeholder for the output QmiNasPlmnNameSpareBits, or |
[out][optional] |
value_3gpp_eons_plmn_name_short_name |
a placeholder for the output GArray of guint8 elements, or |
[out][optional][element-type guint8][transfer none] |
value_3gpp_eons_plmn_name_long_name_encoding |
a placeholder for the output QmiNasNetworkDescriptionEncoding, or |
[out][optional] |
value_3gpp_eons_plmn_name_long_name_country_initials |
a placeholder for the output QmiNasPlmnNameCountryInitials, or |
[out][optional] |
value_3gpp_eons_plmn_name_long_name_spare_bits |
a placeholder for the output QmiNasPlmnNameSpareBits, or |
[out][optional] |
value_3gpp_eons_plmn_name_long_name |
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.28
gboolean qmi_message_nas_get_plmn_name_output_get_result (QmiMessageNasGetPlmnNameOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.28
QmiMessageNasGetPlmnNameOutput * qmi_message_nas_get_plmn_name_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasGetPlmnNameOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasGetPlmnNameOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_plmn_name_output_unref()
.
Since: 1.34
void qmi_client_nas_get_plmn_name (QmiClientNas *self
,QmiMessageNasGetPlmnNameInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get PLMN Name 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_plmn_name_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.28
QmiMessageNasGetPlmnNameOutput * qmi_client_nas_get_plmn_name_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_plmn_name()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetPlmnNameOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_plmn_name_output_unref()
.
Since: 1.28
typedef struct _QmiMessageNasGetPlmnNameInput QmiMessageNasGetPlmnNameInput;
The QmiMessageNasGetPlmnNameInput structure contains private data and should only be accessed using the provided API.
Since: 1.28
typedef struct _QmiMessageNasGetPlmnNameOutput QmiMessageNasGetPlmnNameOutput;
The QmiMessageNasGetPlmnNameOutput structure contains private data and should only be accessed using the provided API.
Since: 1.28
typedef struct { GArray *long_name; GArray *short_name; QmiNasPlmnLanguageId language_id; } QmiMessageNasGetPlmnNameOutputPlmnNameWithLanguageIdElement;
A QmiMessageNasGetPlmnNameOutputPlmnNameWithLanguageIdElement struct.
Since: 1.28