NAS Get Serving System

NAS Get Serving System

Functions

QmiMessageNasGetServingSystemOutput * qmi_message_nas_get_serving_system_output_ref ()
void qmi_message_nas_get_serving_system_output_unref ()
gboolean qmi_message_nas_get_serving_system_output_get_result ()
gboolean qmi_message_nas_get_serving_system_output_get_mnc_pcs_digit_include_status ()
gboolean qmi_message_nas_get_serving_system_output_get_umts_primary_scrambling_code ()
gboolean qmi_message_nas_get_serving_system_output_get_call_barring_status ()
gboolean qmi_message_nas_get_serving_system_output_get_lte_tac ()
gboolean qmi_message_nas_get_serving_system_output_get_hdr_personality ()
gboolean qmi_message_nas_get_serving_system_output_get_cdma_system_info ()
gboolean qmi_message_nas_get_serving_system_output_get_detailed_service_status ()
gboolean qmi_message_nas_get_serving_system_output_get_dtm_support ()
gboolean qmi_message_nas_get_serving_system_output_get_prl_indicator_3gpp2 ()
gboolean qmi_message_nas_get_serving_system_output_get_concurrent_service_info_3gpp2 ()
gboolean qmi_message_nas_get_serving_system_output_get_cid_3gpp ()
gboolean qmi_message_nas_get_serving_system_output_get_lac_3gpp ()
gboolean qmi_message_nas_get_serving_system_output_get_daylight_saving_time_adjustment_3gpp ()
gboolean qmi_message_nas_get_serving_system_output_get_time_zone_3gpp ()
gboolean qmi_message_nas_get_serving_system_output_get_cdma_p_rev ()
gboolean qmi_message_nas_get_serving_system_output_get_time_zone_3gpp2 ()
gboolean qmi_message_nas_get_serving_system_output_get_default_roaming_indicator ()
gboolean qmi_message_nas_get_serving_system_output_get_roaming_indicator_list ()
gboolean qmi_message_nas_get_serving_system_output_get_cdma_base_station_info ()
gboolean qmi_message_nas_get_serving_system_output_get_cdma_system_id ()
gboolean qmi_message_nas_get_serving_system_output_get_current_plmn ()
gboolean qmi_message_nas_get_serving_system_output_get_data_service_capability ()
gboolean qmi_message_nas_get_serving_system_output_get_roaming_indicator ()
gboolean qmi_message_nas_get_serving_system_output_get_serving_system ()
void qmi_client_nas_get_serving_system ()
QmiMessageNasGetServingSystemOutput * qmi_client_nas_get_serving_system_finish ()

Types and Values

Object Hierarchy

    GBoxed
    ╰── QmiMessageNasGetServingSystemOutput

Description

Functions

qmi_message_nas_get_serving_system_output_ref ()

QmiMessageNasGetServingSystemOutput *
qmi_message_nas_get_serving_system_output_ref
                               (QmiMessageNasGetServingSystemOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .


qmi_message_nas_get_serving_system_output_unref ()

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.

Parameters


qmi_message_nas_get_serving_system_output_get_result ()

gboolean
qmi_message_nas_get_serving_system_output_get_result
                               (QmiMessageNasGetServingSystemOutput *self,
                                GError **error);

Get the result of the QMI operation.

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

error

Return location for error or NULL.

 

Returns

TRUE if the QMI operation succeeded, FALSE if error is set.


qmi_message_nas_get_serving_system_output_get_mnc_pcs_digit_include_status ()

gboolean
qmi_message_nas_get_serving_system_output_get_mnc_pcs_digit_include_status
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *mnc_pcs_digit_include_status_mcc,
                                guint16 *mnc_pcs_digit_include_status_mnc,
                                gboolean *mnc_pcs_digit_include_status_includes_pcs_digit,
                                GError **error);

Get the 'MNC PCS Digit Include Status' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

mnc_pcs_digit_include_status_mcc

a placeholder for the output guint16, or NULL if not required.

 

mnc_pcs_digit_include_status_mnc

a placeholder for the output guint16, or NULL if not required.

 

mnc_pcs_digit_include_status_includes_pcs_digit

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_umts_primary_scrambling_code ()

gboolean
qmi_message_nas_get_serving_system_output_get_umts_primary_scrambling_code
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *umts_primary_scrambling_code,
                                GError **error);

Get the 'UMTS Primary Scrambling Code' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

umts_primary_scrambling_code

a placeholder for the output guint16, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_call_barring_status ()

gboolean
qmi_message_nas_get_serving_system_output_get_call_barring_status
                               (QmiMessageNasGetServingSystemOutput *self,
                                QmiNasCallBarringStatus *call_barring_status_cs_status,
                                QmiNasCallBarringStatus *call_barring_status_ps_status,
                                GError **error);

Get the 'Call Barring Status' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

call_barring_status_cs_status

a placeholder for the output QmiNasCallBarringStatus, or NULL if not required.

 

call_barring_status_ps_status

a placeholder for the output QmiNasCallBarringStatus, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_lte_tac ()

gboolean
qmi_message_nas_get_serving_system_output_get_lte_tac
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *lte_tac,
                                GError **error);

Get the 'LTE TAC' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

lte_tac

a placeholder for the output guint16, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_hdr_personality ()

gboolean
qmi_message_nas_get_serving_system_output_get_hdr_personality
                               (QmiMessageNasGetServingSystemOutput *self,
                                QmiNasHdrPersonality *hdr_personality,
                                GError **error);

Get the 'HDR Personality' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

hdr_personality

a placeholder for the output QmiNasHdrPersonality, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_cdma_system_info ()

gboolean
qmi_message_nas_get_serving_system_output_get_cdma_system_info
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *cdma_system_info_mcc,
                                guint8 *cdma_system_info_imsi_11_12,
                                GError **error);

Get the 'CDMA System Info' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

cdma_system_info_mcc

a placeholder for the output guint16, or NULL if not required.

 

cdma_system_info_imsi_11_12

a placeholder for the output guint8, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_detailed_service_status ()

gboolean
qmi_message_nas_get_serving_system_output_get_detailed_service_status
                               (QmiMessageNasGetServingSystemOutput *self,
                                QmiNasServiceStatus *detailed_service_status_status,
                                QmiNasNetworkServiceDomain *detailed_service_status_capability,
                                QmiNasServiceStatus *detailed_service_status_hdr_status,
                                gboolean *detailed_service_status_hdr_hybrid,
                                gboolean *detailed_service_status_forbidden,
                                GError **error);

Get the 'Detailed Service Status' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

detailed_service_status_status

a placeholder for the output QmiNasServiceStatus, or NULL if not required.

 

detailed_service_status_capability

a placeholder for the output QmiNasNetworkServiceDomain, or NULL if not required.

 

detailed_service_status_hdr_status

a placeholder for the output QmiNasServiceStatus, or NULL if not required.

 

detailed_service_status_hdr_hybrid

a placeholder for the output gboolean, or NULL if not required.

 

detailed_service_status_forbidden

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_dtm_support ()

gboolean
qmi_message_nas_get_serving_system_output_get_dtm_support
                               (QmiMessageNasGetServingSystemOutput *self,
                                gboolean *dtm_support,
                                GError **error);

Get the 'DTM Support' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

dtm_support

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_prl_indicator_3gpp2 ()

gboolean
qmi_message_nas_get_serving_system_output_get_prl_indicator_3gpp2
                               (QmiMessageNasGetServingSystemOutput *self,
                                gboolean *prl_indicator_3gpp2,
                                GError **error);

Get the 'PRL Indicator 3GPP2' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

prl_indicator_3gpp2

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_concurrent_service_info_3gpp2 ()

gboolean
qmi_message_nas_get_serving_system_output_get_concurrent_service_info_3gpp2
                               (QmiMessageNasGetServingSystemOutput *self,
                                gboolean *concurrent_service_info_3gpp2,
                                GError **error);

Get the 'Concurrent Service Info 3GPP2' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

concurrent_service_info_3gpp2

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_cid_3gpp ()

gboolean
qmi_message_nas_get_serving_system_output_get_cid_3gpp
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint32 *cid_3gpp,
                                GError **error);

Get the 'CID 3GPP' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

cid_3gpp

a placeholder for the output guint32, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_lac_3gpp ()

gboolean
qmi_message_nas_get_serving_system_output_get_lac_3gpp
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *lac_3gpp,
                                GError **error);

Get the 'LAC 3GPP' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

lac_3gpp

a placeholder for the output guint16, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_daylight_saving_time_adjustment_3gpp ()

gboolean
qmi_message_nas_get_serving_system_output_get_daylight_saving_time_adjustment_3gpp
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint8 *daylight_saving_time_adjustment_3gpp,
                                GError **error);

Get the 'Daylight Saving Time Adjustment 3GPP' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

daylight_saving_time_adjustment_3gpp

a placeholder for the output guint8, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_time_zone_3gpp ()

gboolean
qmi_message_nas_get_serving_system_output_get_time_zone_3gpp
                               (QmiMessageNasGetServingSystemOutput *self,
                                gint8 *time_zone_3gpp,
                                GError **error);

Get the 'Time Zone 3GPP' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

time_zone_3gpp

a placeholder for the output gint8, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_cdma_p_rev ()

gboolean
qmi_message_nas_get_serving_system_output_get_cdma_p_rev
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint8 *cdma_p_rev,
                                GError **error);

Get the 'CDMA P Rev' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

cdma_p_rev

a placeholder for the output guint8, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_time_zone_3gpp2 ()

gboolean
qmi_message_nas_get_serving_system_output_get_time_zone_3gpp2
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint8 *time_zone_3gpp2_leap_seconds,
                                gint8 *time_zone_3gpp2_local_time_offset,
                                gboolean *time_zone_3gpp2_daylight_saving_time,
                                GError **error);

Get the 'Time Zone 3GPP2' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

time_zone_3gpp2_leap_seconds

a placeholder for the output guint8, or NULL if not required.

 

time_zone_3gpp2_local_time_offset

a placeholder for the output gint8, or NULL if not required.

 

time_zone_3gpp2_daylight_saving_time

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_default_roaming_indicator ()

gboolean
qmi_message_nas_get_serving_system_output_get_default_roaming_indicator
                               (QmiMessageNasGetServingSystemOutput *self,
                                QmiNasRoamingIndicatorStatus *default_roaming_indicator,
                                GError **error);

Get the 'Default Roaming Indicator' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

default_roaming_indicator

a placeholder for the output QmiNasRoamingIndicatorStatus, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_roaming_indicator_list ()

gboolean
qmi_message_nas_get_serving_system_output_get_roaming_indicator_list
                               (QmiMessageNasGetServingSystemOutput *self,
                                GArray **roaming_indicator_list,
                                GError **error);

Get the 'Roaming Indicator List' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

roaming_indicator_list

a placeholder for the output GArray of QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement elements, or NULL if not required. Do not free it, it is owned by self .

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_cdma_base_station_info ()

gboolean
qmi_message_nas_get_serving_system_output_get_cdma_base_station_info
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *cdma_base_station_info_base_station_id,
                                gint32 *cdma_base_station_info_base_station_latitude,
                                gint32 *cdma_base_station_info_base_station_longitude,
                                GError **error);

Get the 'CDMA Base Station Info' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

cdma_base_station_info_base_station_id

a placeholder for the output guint16, or NULL if not required.

 

cdma_base_station_info_base_station_latitude

a placeholder for the output gint32, or NULL if not required.

 

cdma_base_station_info_base_station_longitude

a placeholder for the output gint32, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_cdma_system_id ()

gboolean
qmi_message_nas_get_serving_system_output_get_cdma_system_id
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *cdma_system_id_sid,
                                guint16 *cdma_system_id_nid,
                                GError **error);

Get the 'CDMA System ID' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

cdma_system_id_sid

a placeholder for the output guint16, or NULL if not required.

 

cdma_system_id_nid

a placeholder for the output guint16, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_current_plmn ()

gboolean
qmi_message_nas_get_serving_system_output_get_current_plmn
                               (QmiMessageNasGetServingSystemOutput *self,
                                guint16 *current_plmn_mcc,
                                guint16 *current_plmn_mnc,
                                const gchar **current_plmn_description,
                                GError **error);

Get the 'Current PLMN' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

current_plmn_mcc

a placeholder for the output guint16, or NULL if not required.

 

current_plmn_mnc

a placeholder for the output guint16, or NULL if not required.

 

current_plmn_description

a placeholder for the output constant string, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_data_service_capability ()

gboolean
qmi_message_nas_get_serving_system_output_get_data_service_capability
                               (QmiMessageNasGetServingSystemOutput *self,
                                GArray **data_service_capability,
                                GError **error);

Get the 'Data Service Capability' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

data_service_capability

a placeholder for the output GArray of QmiNasDataCapability elements, or NULL if not required. Do not free it, it is owned by self .

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_roaming_indicator ()

gboolean
qmi_message_nas_get_serving_system_output_get_roaming_indicator
                               (QmiMessageNasGetServingSystemOutput *self,
                                QmiNasRoamingIndicatorStatus *roaming_indicator,
                                GError **error);

Get the 'Roaming Indicator' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

roaming_indicator

a placeholder for the output QmiNasRoamingIndicatorStatus, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_get_serving_system_output_get_serving_system ()

gboolean
qmi_message_nas_get_serving_system_output_get_serving_system
                               (QmiMessageNasGetServingSystemOutput *self,
                                QmiNasRegistrationState *serving_system_registration_state,
                                QmiNasAttachState *serving_system_cs_attach_state,
                                QmiNasAttachState *serving_system_ps_attach_state,
                                QmiNasNetworkType *serving_system_selected_network,
                                GArray **serving_system_radio_interfaces,
                                GError **error);

Get the 'Serving System' field from self .

Parameters

self

a QmiMessageNasGetServingSystemOutput.

 

serving_system_registration_state

a placeholder for the output QmiNasRegistrationState, or NULL if not required.

 

serving_system_cs_attach_state

a placeholder for the output QmiNasAttachState, or NULL if not required.

 

serving_system_ps_attach_state

a placeholder for the output QmiNasAttachState, or NULL if not required.

 

serving_system_selected_network

a placeholder for the output QmiNasNetworkType, or NULL if not required.

 

serving_system_radio_interfaces

a placeholder for the output GArray of QmiNasRadioInterface elements, or NULL if not required. Do not free it, it is owned by self .

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_client_nas_get_serving_system ()

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.

Parameters

self

a QmiClientNas.

 

unused

NULL. This message doesn't have any input bundle.

 

timeout

maximum time to wait for the method to complete, in seconds.

 

cancellable

a GCancellable or NULL.

 

callback

a GAsyncReadyCallback to call when the request is satisfied.

 

user_data

user data to pass to callback .

 

qmi_client_nas_get_serving_system_finish ()

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().

Parameters

self

a QmiClientNas.

 

res

the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_serving_system().

 

error

Return location for error or NULL.

 

Returns

a QmiMessageNasGetServingSystemOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_get_serving_system_output_unref().

Types and Values

QmiMessageNasGetServingSystemOutput

typedef struct _QmiMessageNasGetServingSystemOutput QmiMessageNasGetServingSystemOutput;

The QmiMessageNasGetServingSystemOutput structure contains private data and should only be accessed using the provided API.


QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement

typedef struct {
    QmiNasRadioInterface radio_interface;
    QmiNasRoamingIndicatorStatus roaming_indicator;
} QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement;

A QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement struct.