NAS Get Cell Location Info

NAS Get Cell Location Info

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── QmiMessageNasGetCellLocationInfoOutput

Description

Functions

qmi_message_nas_get_cell_location_info_output_ref ()

QmiMessageNasGetCellLocationInfoOutput *
qmi_message_nas_get_cell_location_info_output_ref
                               (QmiMessageNasGetCellLocationInfoOutput *self);

Atomically increments the reference count of self by one.

Returns

the new reference to self .


qmi_message_nas_get_cell_location_info_output_unref ()

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.


qmi_message_nas_get_cell_location_info_output_get_result ()

gboolean
qmi_message_nas_get_cell_location_info_output_get_result
                               (QmiMessageNasGetCellLocationInfoOutput *self,
                                GError **error);

Get the result of the QMI operation.

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

error

Return location for error or NULL.

 

Returns

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


qmi_message_nas_get_cell_location_info_output_get_umts_info_neighboring_lte ()

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

umts_info_neighboring_lte_rrc_state

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

 

umts_info_neighboring_lte_frequency

a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringLteFrequencyElement 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_cell_location_info_output_get_umts_cell_id ()

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

umts_cell_id

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

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

lte_info_neighboring_wcdma_ue_in_idle

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

 

lte_info_neighboring_wcdma_frequency

a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElement 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_cell_location_info_output_get_lte_info_neighboring_gsm ()

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

lte_info_neighboring_gsm_ue_in_idle

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

 

lte_info_neighboring_gsm_frequency

a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElement 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_cell_location_info_output_get_interfrequency_lte_info ()

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

interfrequency_lte_info_ue_in_idle

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

 

interfrequency_lte_info_frequency

a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElement 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_cell_location_info_output_get_intrafrequency_lte_info ()

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

intrafrequency_lte_info_ue_in_idle

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

 

intrafrequency_lte_info_plmn

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

 

intrafrequency_lte_info_tracking_area_code

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

 

intrafrequency_lte_info_global_cell_id

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

 

intrafrequency_lte_info_eutra_absolute_rf_channel_number

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

 

intrafrequency_lte_info_serving_cell_id

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

 

intrafrequency_lte_info_cell_reselection_priority

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

 

intrafrequency_lte_info_s_non_intra_search_threshold

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

 

intrafrequency_lte_info_serving_cell_low_threshold

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

 

intrafrequency_lte_info_s_intra_search_threshold

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

 

intrafrequency_lte_info_cell

a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement 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_cell_location_info_output_get_cdma_info ()

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

cdma_info_system_id

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

 

cdma_info_network_id

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

 

cdma_info_base_station_id

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

 

cdma_info_reference_pn

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

 

cdma_info_latitude

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

 

cdma_info_longitude

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

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

umts_info_cell_id

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

 

umts_info_plmn

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

 

umts_info_lac

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

 

umts_info_utra_absolute_rf_channel_number

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

 

umts_info_primary_scrambling_code

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

 

umts_info_rscp

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

 

umts_info_ecio

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

 

umts_info_cell

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

 

umts_info_neighboring_geran

a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement 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_cell_location_info_output_get_geran_info ()

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 .

Parameters

self

a QmiMessageNasGetCellLocationInfoOutput.

 

geran_info_cell_id

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

 

geran_info_plmn

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

 

geran_info_lac

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

 

geran_info_geran_absolute_rf_channel_number

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

 

geran_info_base_station_identity_code

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

 

geran_info_timing_advance

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

 

geran_info_rx_level

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

 

geran_info_cell

a placeholder for the output GArray of QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement 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_cell_location_info ()

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.

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

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

Parameters

self

a QmiClientNas.

 

res

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

 

error

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

Types and Values

QmiMessageNasGetCellLocationInfoOutput

typedef struct _QmiMessageNasGetCellLocationInfoOutput QmiMessageNasGetCellLocationInfoOutput;

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


QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringLteFrequencyElement

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.

Members

guint16 eutra_absolute_rf_channel_number;

a guint16.

 

guint16 physical_cell_id;

a guint16.

 

gfloat rsrp;

a gfloat.

 

gfloat rsrq;

a gfloat.

 

gint16 cell_selection_rx_level;

a gint16.

 

gboolean is_tdd;

a gboolean.

 

QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement

typedef struct {
    guint16 primary_scrambling_code;
    gint16 cpich_rscp;
    gint16 cpich_ecno;
    gint16 cell_selection_rx_level;
} QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement;

A QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement struct.

Members

guint16 primary_scrambling_code;

a guint16.

 

gint16 cpich_rscp;

a gint16.

 

gint16 cpich_ecno;

a gint16.

 

gint16 cell_selection_rx_level;

a gint16.

 

QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElement

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.

Members

guint16 utra_absolute_rf_channel_number;

a guint16.

 

guint8 cell_reselection_priority;

a guint8.

 

guint16 cell_reselection_high_threshold;

a guint16.

 

guint16 cell_reselection_low_threshold;

a guint16.

 

GArray *cell;

a GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringWcdmaFrequencyElementCellElement elements.

 

QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElementCellElement

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.

Members

guint16 geran_absolute_rf_channel_number;

a guint16.

 

gboolean band_is_1900;

a gboolean.

 

gboolean cell_id_valid;

a gboolean.

 

guint8 base_station_identity_code;

a guint8.

 

gint16 rssi;

a gint16.

 

gint16 cell_selection_rx_level;

a gint16.

 

QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElement

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.

Members

guint8 cell_reselection_priority;

a guint8.

 

guint8 cell_reselection_high_threshold;

a guint8.

 

guint8 cell_reselection_low_threshold;

a guint8.

 

guint8 ncc_permitted;

a guint8.

 

GArray *cell;

a GArray of QmiMessageNasGetCellLocationInfoOutputLteInfoNeighboringGsmFrequencyElementCellElement elements.

 

QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement

typedef struct {
    guint16 physical_cell_id;
    gint16 rsrq;
    gint16 rsrp;
    gint16 rssi;
    gint16 cell_selection_rx_level;
} QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement;

A QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement struct.

Members

guint16 physical_cell_id;

a guint16.

 

gint16 rsrq;

a gint16.

 

gint16 rsrp;

a gint16.

 

gint16 rssi;

a gint16.

 

gint16 cell_selection_rx_level;

a gint16.

 

QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElement

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.

Members

guint16 eutra_absolute_rf_channel_number;

a guint16.

 

guint8 cell_selection_rx_level_low_threshold;

a guint8.

 

guint8 cell_selection_rx_level_high_threshold;

a guint8.

 

guint8 cell_reselection_priority;

a guint8.

 

GArray *cell;

a GArray of QmiMessageNasGetCellLocationInfoOutputInterfrequencyLteInfoFrequencyElementCellElement elements.

 

QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement

typedef struct {
    guint16 physical_cell_id;
    gint16 rsrq;
    gint16 rsrp;
    gint16 rssi;
    gint16 cell_selection_rx_level;
} QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement;

A QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement struct.

Members

guint16 physical_cell_id;

a guint16.

 

gint16 rsrq;

a gint16.

 

gint16 rsrp;

a gint16.

 

gint16 rssi;

a gint16.

 

gint16 cell_selection_rx_level;

a gint16.

 

QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement

typedef struct {
    guint16 utra_absolute_rf_channel_number;
    guint16 primary_scrambling_code;
    gint16 rscp;
    gint16 ecio;
} QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement;

A QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement struct.

Members

guint16 utra_absolute_rf_channel_number;

a guint16.

 

guint16 primary_scrambling_code;

a guint16.

 

gint16 rscp;

a gint16.

 

gint16 ecio;

a gint16.

 

QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement

typedef struct {
    guint16 geran_absolute_rf_channel_number;
    guint8 network_color_code;
    guint8 base_station_color_code;
    gint16 rssi;
} QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement;

A QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement struct.

Members

guint16 geran_absolute_rf_channel_number;

a guint16.

 

guint8 network_color_code;

a guint8.

 

guint8 base_station_color_code;

a guint8.

 

gint16 rssi;

a gint16.

 

QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement

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.

Members

guint32 cell_id;

a guint32.

 

gchar *plmn;

a string of exactly 3 characters.

 

guint16 lac;

a guint16.

 

guint16 geran_absolute_rf_channel_number;

a guint16.

 

guint8 base_station_identity_code;

a guint8.

 

guint16 rx_level;

a guint16.