| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageNasGetServingSystemOutput; QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement; QmiMessageNasGetServingSystemOutput * qmi_message_nas_get_serving_system_output_ref (QmiMessageNasGetServingSystemOutput *self); void qmi_message_nas_get_serving_system_output_unref (QmiMessageNasGetServingSystemOutput *self); gboolean qmi_message_nas_get_serving_system_output_get_result (QmiMessageNasGetServingSystemOutput *self,GError **error); 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); gboolean qmi_message_nas_get_serving_system_output_get_umts_primary_scrambling_code (QmiMessageNasGetServingSystemOutput *self,guint16 *umts_primary_scrambling_code,GError **error); 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); gboolean qmi_message_nas_get_serving_system_output_get_lte_tac (QmiMessageNasGetServingSystemOutput *self,guint16 *lte_tac,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_hdr_personality (QmiMessageNasGetServingSystemOutput *self,QmiNasHdrPersonality *hdr_personality,GError **error); 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); 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); gboolean qmi_message_nas_get_serving_system_output_get_dtm_support (QmiMessageNasGetServingSystemOutput *self,gboolean *dtm_support,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_prl_indicator_3gpp2 (QmiMessageNasGetServingSystemOutput *self,gboolean *prl_indicator_3gpp2,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_concurrent_service_info_3gpp2 (QmiMessageNasGetServingSystemOutput *self,gboolean *concurrent_service_info_3gpp2,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_cid_3gpp (QmiMessageNasGetServingSystemOutput *self,guint32 *cid_3gpp,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_lac_3gpp (QmiMessageNasGetServingSystemOutput *self,guint16 *lac_3gpp,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_daylight_saving_time_adjustment_3gpp (QmiMessageNasGetServingSystemOutput *self,guint8 *daylight_saving_time_adjustment_3gpp,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_time_zone_3gpp (QmiMessageNasGetServingSystemOutput *self,gint8 *time_zone_3gpp,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_cdma_p_rev (QmiMessageNasGetServingSystemOutput *self,guint8 *cdma_p_rev,GError **error); 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); gboolean qmi_message_nas_get_serving_system_output_get_default_roaming_indicator (QmiMessageNasGetServingSystemOutput *self,QmiNasRoamingIndicatorStatus *default_roaming_indicator,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_roaming_indicator_list (QmiMessageNasGetServingSystemOutput *self,GArray **roaming_indicator_list,GError **error); 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); 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); 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); gboolean qmi_message_nas_get_serving_system_output_get_data_service_capability (QmiMessageNasGetServingSystemOutput *self,GArray **data_service_capability,GError **error); gboolean qmi_message_nas_get_serving_system_output_get_roaming_indicator (QmiMessageNasGetServingSystemOutput *self,QmiNasRoamingIndicatorStatus *roaming_indicator,GError **error); 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); void qmi_client_nas_get_serving_system (QmiClientNas *self,gpointer unused,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageNasGetServingSystemOutput * qmi_client_nas_get_serving_system_finish (QmiClientNas *self,GAsyncResult *res,GError **error);
typedef struct _QmiMessageNasGetServingSystemOutput QmiMessageNasGetServingSystemOutput;
The QmiMessageNasGetServingSystemOutput structure contains private data and should only be accessed using the provided API.
typedef struct {
QmiNasRadioInterface radio_interface;
QmiNasRoamingIndicatorStatus roaming_indicator;
} QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement;
A QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement struct.
QmiNasRadioInterface |
a QmiNasRadioInterface. |
QmiNasRoamingIndicatorStatus |
a QmiNasRoamingIndicatorStatus. |
QmiMessageNasGetServingSystemOutput * qmi_message_nas_get_serving_system_output_ref
(QmiMessageNasGetServingSystemOutput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageNasGetServingSystemOutput. |
Returns : |
the new reference to self. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
gboolean qmi_message_nas_get_serving_system_output_get_result (QmiMessageNasGetServingSystemOutput *self,GError **error);
Get the result of the QMI operation.
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output QmiNasCallBarringStatus, or NULL if not required. |
|
a placeholder for the output QmiNasCallBarringStatus, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output QmiNasHdrPersonality, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output QmiNasServiceStatus, or NULL if not required. |
|
a placeholder for the output QmiNasNetworkServiceDomain, or NULL if not required. |
|
a placeholder for the output QmiNasServiceStatus, or NULL if not required. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
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.
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.
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.
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.
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.
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.
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.
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output gint8, or NULL if not required. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output QmiNasRoamingIndicatorStatus, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output GArray of QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement elements, or NULL if not required. Do not free it, it is owned by self. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output gint32, or NULL if not required. |
|
a placeholder for the output gint32, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output GArray of QmiNasDataCapability elements, or NULL if not required. Do not free it, it is owned by self. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output QmiNasRoamingIndicatorStatus, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessageNasGetServingSystemOutput. |
|
a placeholder for the output QmiNasRegistrationState, or NULL if not required. |
|
a placeholder for the output QmiNasAttachState, or NULL if not required. |
|
a placeholder for the output QmiNasAttachState, or NULL if not required. |
|
a placeholder for the output QmiNasNetworkType, or NULL if not required. |
|
a placeholder for the output GArray of QmiNasRadioInterface elements, or NULL if not required. Do not free it, it is owned by self. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiClientNas. |
|
NULL. This message doesn't have any input bundle. |
|
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. |
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().
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_serving_system(). |
|
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(). |