Top |
NAS Get Serving System responseNAS Get Serving System response — Methods to manage the NAS Get Serving System response. |
GBoxed ├── QmiMessageNasGetServingSystemOutput ╰── QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement
Collection of methods to create requests and parse responses of the NAS Get Serving System message.
QmiMessageNasGetServingSystemOutput *
qmi_message_nas_get_serving_system_output_ref
(QmiMessageNasGetServingSystemOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_nas_get_serving_system_output_unref
(QmiMessageNasGetServingSystemOutput *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_serving_system_output_get_network_name_source (QmiMessageNasGetServingSystemOutput *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.24
gboolean qmi_message_nas_get_serving_system_output_get_mnc_pcs_digit_include_status (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_mnc_pcs_digit_include_status_mcc
,guint16 *value_mnc_pcs_digit_include_status_mnc
,gboolean *value_mnc_pcs_digit_include_status_includes_pcs_digit
,GError **error
);
Get the 'MNC PCS Digit Include Status' field from self
.
self |
||
value_mnc_pcs_digit_include_status_mcc |
a placeholder for the output guint16, or |
[out][optional] |
value_mnc_pcs_digit_include_status_mnc |
a placeholder for the output guint16, or |
[out][optional] |
value_mnc_pcs_digit_include_status_includes_pcs_digit |
a placeholder for the output gboolean, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_umts_primary_scrambling_code (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_umts_primary_scrambling_code
,GError **error
);
Get the 'UMTS Primary Scrambling Code' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_call_barring_status (QmiMessageNasGetServingSystemOutput *self
,QmiNasCallBarringStatus *value_call_barring_status_cs_status
,QmiNasCallBarringStatus *value_call_barring_status_ps_status
,GError **error
);
Get the 'Call Barring Status' field from self
.
self |
||
value_call_barring_status_cs_status |
a placeholder for the output QmiNasCallBarringStatus, or |
[out][optional] |
value_call_barring_status_ps_status |
a placeholder for the output QmiNasCallBarringStatus, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_lte_tac (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_lte_tac
,GError **error
);
Get the 'LTE TAC' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_hdr_personality (QmiMessageNasGetServingSystemOutput *self
,QmiNasHdrPersonality *value_hdr_personality
,GError **error
);
Get the 'HDR Personality' field from self
.
self |
||
value_hdr_personality |
a placeholder for the output QmiNasHdrPersonality, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_cdma_system_info (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_cdma_system_info_mcc
,guint8 *value_cdma_system_info_imsi_11_12
,GError **error
);
Get the 'CDMA System Info' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_detailed_service_status (QmiMessageNasGetServingSystemOutput *self
,QmiNasServiceStatus *value_detailed_service_status_status
,QmiNasNetworkServiceDomain *value_detailed_service_status_capability
,QmiNasServiceStatus *value_detailed_service_status_hdr_status
,gboolean *value_detailed_service_status_hdr_hybrid
,gboolean *value_detailed_service_status_forbidden
,GError **error
);
Get the 'Detailed Service Status' field from self
.
self |
||
value_detailed_service_status_status |
a placeholder for the output QmiNasServiceStatus, or |
[out][optional] |
value_detailed_service_status_capability |
a placeholder for the output QmiNasNetworkServiceDomain, or |
[out][optional] |
value_detailed_service_status_hdr_status |
a placeholder for the output QmiNasServiceStatus, or |
[out][optional] |
value_detailed_service_status_hdr_hybrid |
a placeholder for the output gboolean, or |
[out][optional] |
value_detailed_service_status_forbidden |
a placeholder for the output gboolean, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_dtm_support (QmiMessageNasGetServingSystemOutput *self
,gboolean *value_dtm_support
,GError **error
);
Get the 'DTM Support' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_prl_indicator_3gpp2 (QmiMessageNasGetServingSystemOutput *self
,gboolean *value_prl_indicator_3gpp2
,GError **error
);
Get the 'PRL Indicator 3GPP2' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_concurrent_service_info_3gpp2 (QmiMessageNasGetServingSystemOutput *self
,gboolean *value_concurrent_service_info_3gpp2
,GError **error
);
Get the 'Concurrent Service Info 3GPP2' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_cid_3gpp (QmiMessageNasGetServingSystemOutput *self
,guint32 *value_cid_3gpp
,GError **error
);
Get the 'CID 3GPP' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_lac_3gpp (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_lac_3gpp
,GError **error
);
Get the 'LAC 3GPP' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_daylight_saving_time_adjustment_3gpp (QmiMessageNasGetServingSystemOutput *self
,guint8 *value_daylight_saving_time_adjustment_3gpp
,GError **error
);
Get the 'Daylight Saving Time Adjustment 3GPP' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_time_zone_3gpp (QmiMessageNasGetServingSystemOutput *self
,gint8 *value_time_zone_3gpp
,GError **error
);
Get the 'Time Zone 3GPP' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_cdma_p_rev (QmiMessageNasGetServingSystemOutput *self
,guint8 *value_cdma_p_rev
,GError **error
);
Get the 'CDMA P Rev' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_time_zone_3gpp2 (QmiMessageNasGetServingSystemOutput *self
,guint8 *value_time_zone_3gpp2_leap_seconds
,gint8 *value_time_zone_3gpp2_local_time_offset
,gboolean *value_time_zone_3gpp2_daylight_saving_time
,GError **error
);
Get the 'Time Zone 3GPP2' field from self
.
self |
||
value_time_zone_3gpp2_leap_seconds |
a placeholder for the output guint8, or |
[out][optional] |
value_time_zone_3gpp2_local_time_offset |
a placeholder for the output gint8, or |
[out][optional] |
value_time_zone_3gpp2_daylight_saving_time |
a placeholder for the output gboolean, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_default_roaming_indicator (QmiMessageNasGetServingSystemOutput *self
,QmiNasRoamingIndicatorStatus *value_default_roaming_indicator
,GError **error
);
Get the 'Default Roaming Indicator' field from self
.
self |
||
value_default_roaming_indicator |
a placeholder for the output QmiNasRoamingIndicatorStatus, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_roaming_indicator_list (QmiMessageNasGetServingSystemOutput *self
,GArray **value_roaming_indicator_list
,GError **error
);
Get the 'Roaming Indicator List' field from self
.
[skip]
self |
||
value_roaming_indicator_list |
a placeholder for the output GArray of QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement elements, or |
[out][optional][element-type QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_roaming_indicator_list_gir (QmiMessageNasGetServingSystemOutput *self
,GPtrArray **value_roaming_indicator_list_ptr
,GError **error
);
Get the 'Roaming Indicator List' field from self
.
Version of qmi_message_nas_get_serving_system_output_get_roaming_indicator_list()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_nas_get_serving_system_output_get_roaming_indicator_list]
self |
||
value_roaming_indicator_list_ptr |
a placeholder for the output array of QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement elements, or |
[out][optional][element-type QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_get_serving_system_output_get_cdma_base_station_info (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_cdma_base_station_info_base_station_id
,gint32 *value_cdma_base_station_info_base_station_latitude
,gint32 *value_cdma_base_station_info_base_station_longitude
,GError **error
);
Get the 'CDMA Base Station Info' field from self
.
self |
||
value_cdma_base_station_info_base_station_id |
a placeholder for the output guint16, or |
[out][optional] |
value_cdma_base_station_info_base_station_latitude |
a placeholder for the output gint32, or |
[out][optional] |
value_cdma_base_station_info_base_station_longitude |
a placeholder for the output gint32, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_cdma_system_id (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_cdma_system_id_sid
,guint16 *value_cdma_system_id_nid
,GError **error
);
Get the 'CDMA System ID' field from self
.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_current_plmn (QmiMessageNasGetServingSystemOutput *self
,guint16 *value_current_plmn_mcc
,guint16 *value_current_plmn_mnc
,const gchar **value_current_plmn_description
,GError **error
);
Get the 'Current PLMN' field from self
.
self |
||
value_current_plmn_mcc |
a placeholder for the output guint16, or |
[out][optional] |
value_current_plmn_mnc |
a placeholder for the output guint16, or |
[out][optional] |
value_current_plmn_description |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_data_service_capability (QmiMessageNasGetServingSystemOutput *self
,GArray **value_data_service_capability
,GError **error
);
Get the 'Data Service Capability' field from self
.
self |
||
value_data_service_capability |
a placeholder for the output GArray of QmiNasDataCapability elements, or |
[out][optional][element-type QmiNasDataCapability][transfer none] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_roaming_indicator (QmiMessageNasGetServingSystemOutput *self
,QmiNasRoamingIndicatorStatus *value_roaming_indicator
,GError **error
);
Get the 'Roaming Indicator' field from self
.
self |
||
value_roaming_indicator |
a placeholder for the output QmiNasRoamingIndicatorStatus, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_result (QmiMessageNasGetServingSystemOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
gboolean qmi_message_nas_get_serving_system_output_get_serving_system (QmiMessageNasGetServingSystemOutput *self
,QmiNasRegistrationState *value_serving_system_registration_state
,QmiNasAttachState *value_serving_system_cs_attach_state
,QmiNasAttachState *value_serving_system_ps_attach_state
,QmiNasNetworkType *value_serving_system_selected_network
,GArray **value_serving_system_radio_interfaces
,GError **error
);
Get the 'Serving System' field from self
.
self |
||
value_serving_system_registration_state |
a placeholder for the output QmiNasRegistrationState, or |
[out][optional] |
value_serving_system_cs_attach_state |
a placeholder for the output QmiNasAttachState, or |
[out][optional] |
value_serving_system_ps_attach_state |
a placeholder for the output QmiNasAttachState, or |
[out][optional] |
value_serving_system_selected_network |
a placeholder for the output QmiNasNetworkType, or |
[out][optional] |
value_serving_system_radio_interfaces |
a placeholder for the output GArray of QmiNasRadioInterface elements, or |
[out][optional][element-type QmiNasRadioInterface][transfer none] |
error |
Return location for error or |
Since: 1.0
QmiMessageNasGetServingSystemOutput * qmi_message_nas_get_serving_system_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasGetServingSystemOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasGetServingSystemOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_serving_system_output_unref()
.
Since: 1.34
void qmi_client_nas_get_serving_system (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Serving System 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_serving_system_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
QmiMessageNasGetServingSystemOutput * qmi_client_nas_get_serving_system_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_serving_system()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetServingSystemOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_serving_system_output_unref()
.
Since: 1.0
typedef struct _QmiMessageNasGetServingSystemOutput QmiMessageNasGetServingSystemOutput;
The QmiMessageNasGetServingSystemOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct { QmiNasRadioInterface radio_interface; QmiNasRoamingIndicatorStatus roaming_indicator; } QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement;
A QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement struct.
Since: 1.0