NAS Get Tx Rx Info

NAS Get Tx Rx Info

Synopsis

                    QmiMessageNasGetTxRxInfoInput;
                    QmiMessageNasGetTxRxInfoOutput;

QmiMessageNasGetTxRxInfoInput * qmi_message_nas_get_tx_rx_info_input_new
                                                        (void);
QmiMessageNasGetTxRxInfoInput * qmi_message_nas_get_tx_rx_info_input_ref
                                                        (QmiMessageNasGetTxRxInfoInput *self);
void                qmi_message_nas_get_tx_rx_info_input_unref
                                                        (QmiMessageNasGetTxRxInfoInput *self);
gboolean            qmi_message_nas_get_tx_rx_info_input_get_radio_interface
                                                        (QmiMessageNasGetTxRxInfoInput *self,
                                                         QmiNasRadioInterface *radio_interface,
                                                         GError **error);
gboolean            qmi_message_nas_get_tx_rx_info_input_set_radio_interface
                                                        (QmiMessageNasGetTxRxInfoInput *self,
                                                         QmiNasRadioInterface radio_interface,
                                                         GError **error);

QmiMessageNasGetTxRxInfoOutput * qmi_message_nas_get_tx_rx_info_output_ref
                                                        (QmiMessageNasGetTxRxInfoOutput *self);
void                qmi_message_nas_get_tx_rx_info_output_unref
                                                        (QmiMessageNasGetTxRxInfoOutput *self);
gboolean            qmi_message_nas_get_tx_rx_info_output_get_result
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         GError **error);
gboolean            qmi_message_nas_get_tx_rx_info_output_get_rx_chain_0_info
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         gboolean *rx_chain_0_info_is_radio_tuned,
                                                         gint32 *rx_chain_0_info_rx_power,
                                                         gint32 *rx_chain_0_info_ecio,
                                                         gint32 *rx_chain_0_info_rscp,
                                                         gint32 *rx_chain_0_info_rsrp,
                                                         guint32 *rx_chain_0_info_phase,
                                                         GError **error);
gboolean            qmi_message_nas_get_tx_rx_info_output_get_rx_chain_1_info
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         gboolean *rx_chain_1_info_is_radio_tuned,
                                                         gint32 *rx_chain_1_info_rx_power,
                                                         gint32 *rx_chain_1_info_ecio,
                                                         gint32 *rx_chain_1_info_rscp,
                                                         gint32 *rx_chain_1_info_rsrp,
                                                         guint32 *rx_chain_1_info_phase,
                                                         GError **error);
gboolean            qmi_message_nas_get_tx_rx_info_output_get_tx_info
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         gboolean *tx_info_is_in_traffic,
                                                         gint32 *tx_info_tx_power,
                                                         GError **error);

void                qmi_client_nas_get_tx_rx_info       (QmiClientNas *self,
                                                         QmiMessageNasGetTxRxInfoInput *input,
                                                         guint timeout,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
QmiMessageNasGetTxRxInfoOutput * qmi_client_nas_get_tx_rx_info_finish
                                                        (QmiClientNas *self,
                                                         GAsyncResult *res,
                                                         GError **error);

Object Hierarchy

  GBoxed
   +----QmiMessageNasGetTxRxInfoInput
  GBoxed
   +----QmiMessageNasGetTxRxInfoOutput

Description

Details

QmiMessageNasGetTxRxInfoInput

typedef struct _QmiMessageNasGetTxRxInfoInput QmiMessageNasGetTxRxInfoInput;

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


QmiMessageNasGetTxRxInfoOutput

typedef struct _QmiMessageNasGetTxRxInfoOutput QmiMessageNasGetTxRxInfoOutput;

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


qmi_message_nas_get_tx_rx_info_input_new ()

QmiMessageNasGetTxRxInfoInput * qmi_message_nas_get_tx_rx_info_input_new
                                                        (void);

Allocates a new QmiMessageNasGetTxRxInfoInput.

Returns :

the newly created QmiMessageNasGetTxRxInfoInput. The returned value should be freed with qmi_message_nas_get_tx_rx_info_input_unref().

qmi_message_nas_get_tx_rx_info_input_ref ()

QmiMessageNasGetTxRxInfoInput * qmi_message_nas_get_tx_rx_info_input_ref
                                                        (QmiMessageNasGetTxRxInfoInput *self);

Atomically increments the reference count of self by one.

self :

a QmiMessageNasGetTxRxInfoInput.

Returns :

the new reference to self.

qmi_message_nas_get_tx_rx_info_input_unref ()

void                qmi_message_nas_get_tx_rx_info_input_unref
                                                        (QmiMessageNasGetTxRxInfoInput *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_tx_rx_info_input_get_radio_interface ()

gboolean            qmi_message_nas_get_tx_rx_info_input_get_radio_interface
                                                        (QmiMessageNasGetTxRxInfoInput *self,
                                                         QmiNasRadioInterface *radio_interface,
                                                         GError **error);

Get the 'Radio Interface' field from self.

self :

a QmiMessageNasGetTxRxInfoInput.

radio_interface :

a placeholder for the output QmiNasRadioInterface, 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_tx_rx_info_input_set_radio_interface ()

gboolean            qmi_message_nas_get_tx_rx_info_input_set_radio_interface
                                                        (QmiMessageNasGetTxRxInfoInput *self,
                                                         QmiNasRadioInterface radio_interface,
                                                         GError **error);

Set the 'Radio Interface' field in the message.

self :

a QmiMessageNasGetTxRxInfoInput.

radio_interface :

a QmiNasRadioInterface.

error :

Return location for error or NULL.

Returns :

TRUE if value was successfully set, FALSE otherwise.

qmi_message_nas_get_tx_rx_info_output_ref ()

QmiMessageNasGetTxRxInfoOutput * qmi_message_nas_get_tx_rx_info_output_ref
                                                        (QmiMessageNasGetTxRxInfoOutput *self);

Atomically increments the reference count of self by one.

self :

a QmiMessageNasGetTxRxInfoOutput.

Returns :

the new reference to self.

qmi_message_nas_get_tx_rx_info_output_unref ()

void                qmi_message_nas_get_tx_rx_info_output_unref
                                                        (QmiMessageNasGetTxRxInfoOutput *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_tx_rx_info_output_get_result ()

gboolean            qmi_message_nas_get_tx_rx_info_output_get_result
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         GError **error);

Get the result of the QMI operation.

self :

a QmiMessageNasGetTxRxInfoOutput.

error :

Return location for error or NULL.

Returns :

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

qmi_message_nas_get_tx_rx_info_output_get_rx_chain_0_info ()

gboolean            qmi_message_nas_get_tx_rx_info_output_get_rx_chain_0_info
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         gboolean *rx_chain_0_info_is_radio_tuned,
                                                         gint32 *rx_chain_0_info_rx_power,
                                                         gint32 *rx_chain_0_info_ecio,
                                                         gint32 *rx_chain_0_info_rscp,
                                                         gint32 *rx_chain_0_info_rsrp,
                                                         guint32 *rx_chain_0_info_phase,
                                                         GError **error);

Get the 'Rx Chain 0 Info' field from self.

self :

a QmiMessageNasGetTxRxInfoOutput.

rx_chain_0_info_is_radio_tuned :

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

rx_chain_0_info_rx_power :

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

rx_chain_0_info_ecio :

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

rx_chain_0_info_rscp :

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

rx_chain_0_info_rsrp :

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

rx_chain_0_info_phase :

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

gboolean            qmi_message_nas_get_tx_rx_info_output_get_rx_chain_1_info
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         gboolean *rx_chain_1_info_is_radio_tuned,
                                                         gint32 *rx_chain_1_info_rx_power,
                                                         gint32 *rx_chain_1_info_ecio,
                                                         gint32 *rx_chain_1_info_rscp,
                                                         gint32 *rx_chain_1_info_rsrp,
                                                         guint32 *rx_chain_1_info_phase,
                                                         GError **error);

Get the 'Rx Chain 1 Info' field from self.

self :

a QmiMessageNasGetTxRxInfoOutput.

rx_chain_1_info_is_radio_tuned :

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

rx_chain_1_info_rx_power :

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

rx_chain_1_info_ecio :

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

rx_chain_1_info_rscp :

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

rx_chain_1_info_rsrp :

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

rx_chain_1_info_phase :

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

gboolean            qmi_message_nas_get_tx_rx_info_output_get_tx_info
                                                        (QmiMessageNasGetTxRxInfoOutput *self,
                                                         gboolean *tx_info_is_in_traffic,
                                                         gint32 *tx_info_tx_power,
                                                         GError **error);

Get the 'Tx Info' field from self.

self :

a QmiMessageNasGetTxRxInfoOutput.

tx_info_is_in_traffic :

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

tx_info_tx_power :

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

void                qmi_client_nas_get_tx_rx_info       (QmiClientNas *self,
                                                         QmiMessageNasGetTxRxInfoInput *input,
                                                         guint timeout,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

Asynchronously sends a Get Tx Rx 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_tx_rx_info_finish() to get the result of the operation.

self :

a QmiClientNas.

input :

a QmiMessageNasGetTxRxInfoInput.

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

QmiMessageNasGetTxRxInfoOutput * qmi_client_nas_get_tx_rx_info_finish
                                                        (QmiClientNas *self,
                                                         GAsyncResult *res,
                                                         GError **error);

Finishes an async operation started with qmi_client_nas_get_tx_rx_info().

self :

a QmiClientNas.

res :

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

error :

Return location for error or NULL.

Returns :

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