![]() |
![]() |
![]() |
libqmi-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageNasGetCellLocationInfoOutput; QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringLteFrequencyElement; QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement; QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElement; QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElementCellElement; QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElement; QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement; QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElement; QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement; QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement; QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement; QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement; QmiMessageNasGetCellLocationInfoOutput * qmi_message_nas_get_cell_location_info_output_ref (QmiMessageNasGetCellLocationInfoOutput *self
); void qmi_message_nas_get_cell_location_info_output_unref (QmiMessageNasGetCellLocationInfoOutput *self
); gboolean qmi_message_nas_get_cell_location_info_output_get_result (QmiMessageNasGetCellLocationInfoOutput *self
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_umts_info_neighboring_lte (QmiMessageNasGetCellLocationInfoOutput *self
,QmiNasWcdmaRrcState *umts_info_neighboring_lte_rrc_state
,GArray **umts_info_neighboring_lte_frequency
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_umts_cell_id (QmiMessageNasGetCellLocationInfoOutput *self
,guint32 *umts_cell_id
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_lte_info_neighboring_wcdma (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *lte_info_neighboring_wcdma_ue_in_idle
,GArray **lte_info_neighboring_wcdma_frequency
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_lte_info_neighboring_gsm (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *lte_info_neighboring_gsm_ue_in_idle
,GArray **lte_info_neighboring_gsm_frequency
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_interfrequency_lte_info (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *interfrequency_lte_info_ue_in_idle
,GArray **interfrequency_lte_info_frequency
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_intrafrequency_lte_info (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *intrafrequency_lte_info_ue_in_idle
,const gchar **intrafrequency_lte_info_plmn
,guint16 *intrafrequency_lte_info_tracking_area_code
,guint32 *intrafrequency_lte_info_global_cell_id
,guint16 *intrafrequency_lte_info_eutra_absolute_rf_channel_number
,guint16 *intrafrequency_lte_info_serving_cell_id
,guint8 *intrafrequency_lte_info_cell_reselection_priority
,guint8 *intrafrequency_lte_info_s_non_intra_search_threshold
,guint8 *intrafrequency_lte_info_serving_cell_low_threshold
,guint8 *intrafrequency_lte_info_s_intra_search_threshold
,GArray **intrafrequency_lte_info_cell
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_cdma_info (QmiMessageNasGetCellLocationInfoOutput *self
,guint16 *cdma_info_system_id
,guint16 *cdma_info_network_id
,guint16 *cdma_info_base_station_id
,guint16 *cdma_info_reference_pn
,guint32 *cdma_info_latitude
,guint32 *cdma_info_longitude
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_umts_info (QmiMessageNasGetCellLocationInfoOutput *self
,guint16 *umts_info_cell_id
,const gchar **umts_info_plmn
,guint16 *umts_info_lac
,guint16 *umts_info_utra_absolute_rf_channel_number
,guint16 *umts_info_primary_scrambling_code
,gint16 *umts_info_rscp
,gint16 *umts_info_ecio
,GArray **umts_info_cell
,GArray **umts_info_neighboring_geran
,GError **error
); gboolean qmi_message_nas_get_cell_location_info_output_get_geran_info (QmiMessageNasGetCellLocationInfoOutput *self
,guint32 *geran_info_cell_id
,const gchar **geran_info_plmn
,guint16 *geran_info_lac
,guint16 *geran_info_geran_absolute_rf_channel_number
,guint8 *geran_info_base_station_identity_code
,guint32 *geran_info_timing_advance
,guint16 *geran_info_rx_level
,GArray **geran_info_cell
,GError **error
); void qmi_client_nas_get_cell_location_info (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageNasGetCellLocationInfoOutput * qmi_client_nas_get_cell_location_info_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
typedef struct _QmiMessageNasGetCellLocationInfoOutput QmiMessageNasGetCellLocationInfoOutput;
The QmiMessageNasGetCellLocationInfoOutput structure contains private data and should only be accessed using the provided API.
typedef struct { guint16 eutra_absolute_rf_channel_number; guint16 physical_cell_id; gfloat rsrp; gfloat rsrq; gint16 cell_selection_rx_level; gboolean is_tdd; } QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringLteFrequencyElement;
A QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringLteFrequencyElement struct.
typedef struct { guint16 primary_scrambling_code; gint16 cpich_rscp; gint16 cpich_ecno; gint16 cell_selection_rx_level; } QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement;
A QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement struct.
typedef struct { guint16 utra_absolute_rf_channel_number; guint8 cell_reselection_priority; guint16 cell_reselection_high_threshold; guint16 cell_reselection_low_threshold; GArray *cell; } QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElement;
A QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElement struct.
a guint16. | |
a guint8. | |
a guint16. | |
a guint16. | |
a GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement elements. |
typedef struct { guint16 geran_absolute_rf_channel_number; gboolean band_is_1900; gboolean cell_id_valid; guint8 base_station_identity_code; gint16 rssi; gint16 cell_selection_rx_level; } QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElementCellElement;
A QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElementCellElement struct.
typedef struct { guint8 cell_reselection_priority; guint8 cell_reselection_high_threshold; guint8 cell_reselection_low_threshold; guint8 ncc_permitted; GArray *cell; } QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElement;
A QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElement struct.
a guint8. | |
a guint8. | |
a guint8. | |
a guint8. | |
a GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElementCellElement elements. |
typedef struct { guint16 physical_cell_id; gint16 rsrq; gint16 rsrp; gint16 rssi; gint16 cell_selection_rx_level; } QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement;
A QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement struct.
typedef struct { guint16 eutra_absolute_rf_channel_number; guint8 cell_selection_rx_level_low_threshold; guint8 cell_selection_rx_level_high_threshold; guint8 cell_reselection_priority; GArray *cell; } QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElement;
A QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElement struct.
a guint16. | |
a guint8. | |
a guint8. | |
a guint8. | |
a GArray of QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement elements. |
typedef struct { guint16 physical_cell_id; gint16 rsrq; gint16 rsrp; gint16 rssi; gint16 cell_selection_rx_level; } QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement;
A QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement struct.
typedef struct { guint16 utra_absolute_rf_channel_number; guint16 primary_scrambling_code; gint16 rscp; gint16 ecio; } QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement;
A QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement struct.
typedef struct { guint16 geran_absolute_rf_channel_number; guint8 network_color_code; guint8 base_station_color_code; gint16 rssi; } QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement;
A QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement struct.
typedef struct { guint32 cell_id; gchar *plmn; guint16 lac; guint16 geran_absolute_rf_channel_number; guint8 base_station_identity_code; guint16 rx_level; } QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement;
A QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement struct.
QmiMessageNasGetCellLocationInfoOutput * qmi_message_nas_get_cell_location_info_output_ref
(QmiMessageNasGetCellLocationInfoOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasGetCellLocationInfoOutput. |
Returns : |
the new reference to self . |
void qmi_message_nas_get_cell_location_info_output_unref
(QmiMessageNasGetCellLocationInfoOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageNasGetCellLocationInfoOutput. |
gboolean qmi_message_nas_get_cell_location_info_output_get_result (QmiMessageNasGetCellLocationInfoOutput *self
,GError **error
);
Get the result of the QMI operation.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
Return location for error or NULL . |
Returns : |
TRUE if the QMI operation succeeded, FALSE if error is set. |
gboolean qmi_message_nas_get_cell_location_info_output_get_umts_info_neighboring_lte (QmiMessageNasGetCellLocationInfoOutput *self
,QmiNasWcdmaRrcState *umts_info_neighboring_lte_rrc_state
,GArray **umts_info_neighboring_lte_frequency
,GError **error
);
Get the 'UMTS Info Neighboring LTE' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output QmiNasWcdmaRrcState, or NULL if not required. |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringLteFrequencyElement 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_cell_location_info_output_get_umts_cell_id (QmiMessageNasGetCellLocationInfoOutput *self
,guint32 *umts_cell_id
,GError **error
);
Get the 'UMTS Cell ID' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output guint32, 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_cell_location_info_output_get_lte_info_neighboring_wcdma (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *lte_info_neighboring_wcdma_ue_in_idle
,GArray **lte_info_neighboring_wcdma_frequency
,GError **error
);
Get the 'LTE Info Neighboring WCDMA' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElement 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_cell_location_info_output_get_lte_info_neighboring_gsm (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *lte_info_neighboring_gsm_ue_in_idle
,GArray **lte_info_neighboring_gsm_frequency
,GError **error
);
Get the 'LTE Info Neighboring GSM' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElement 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_cell_location_info_output_get_interfrequency_lte_info (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *interfrequency_lte_info_ue_in_idle
,GArray **interfrequency_lte_info_frequency
,GError **error
);
Get the 'Interfrequency LTE Info' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElement 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_cell_location_info_output_get_intrafrequency_lte_info (QmiMessageNasGetCellLocationInfoOutput *self
,gboolean *intrafrequency_lte_info_ue_in_idle
,const gchar **intrafrequency_lte_info_plmn
,guint16 *intrafrequency_lte_info_tracking_area_code
,guint32 *intrafrequency_lte_info_global_cell_id
,guint16 *intrafrequency_lte_info_eutra_absolute_rf_channel_number
,guint16 *intrafrequency_lte_info_serving_cell_id
,guint8 *intrafrequency_lte_info_cell_reselection_priority
,guint8 *intrafrequency_lte_info_s_non_intra_search_threshold
,guint8 *intrafrequency_lte_info_serving_cell_low_threshold
,guint8 *intrafrequency_lte_info_s_intra_search_threshold
,GArray **intrafrequency_lte_info_cell
,GError **error
);
Get the 'Intrafrequency LTE Info' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
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 guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement 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_cell_location_info_output_get_cdma_info (QmiMessageNasGetCellLocationInfoOutput *self
,guint16 *cdma_info_system_id
,guint16 *cdma_info_network_id
,guint16 *cdma_info_base_station_id
,guint16 *cdma_info_reference_pn
,guint32 *cdma_info_latitude
,guint32 *cdma_info_longitude
,GError **error
);
Get the 'CDMA Info' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
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 guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, 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_cell_location_info_output_get_umts_info (QmiMessageNasGetCellLocationInfoOutput *self
,guint16 *umts_info_cell_id
,const gchar **umts_info_plmn
,guint16 *umts_info_lac
,guint16 *umts_info_utra_absolute_rf_channel_number
,guint16 *umts_info_primary_scrambling_code
,gint16 *umts_info_rscp
,gint16 *umts_info_ecio
,GArray **umts_info_cell
,GArray **umts_info_neighboring_geran
,GError **error
);
Get the 'UMTS Info' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
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 guint16, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement elements, or NULL if not required. Do not free it, it is owned by self . |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement 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_cell_location_info_output_get_geran_info (QmiMessageNasGetCellLocationInfoOutput *self
,guint32 *geran_info_cell_id
,const gchar **geran_info_plmn
,guint16 *geran_info_lac
,guint16 *geran_info_geran_absolute_rf_channel_number
,guint8 *geran_info_base_station_identity_code
,guint32 *geran_info_timing_advance
,guint16 *geran_info_rx_level
,GArray **geran_info_cell
,GError **error
);
Get the 'GERAN Info' field from self
.
|
a QmiMessageNasGetCellLocationInfoOutput. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
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 guint8, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement 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_cell_location_info (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Cell Location Info 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_cell_location_info_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 . |
QmiMessageNasGetCellLocationInfoOutput * qmi_client_nas_get_cell_location_info_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_cell_location_info()
.
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_cell_location_info() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageNasGetCellLocationInfoOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_get_cell_location_info_output_unref() . |