| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
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);
GBoxed +----QmiMessageNasGetTxRxInfoInput
GBoxed +----QmiMessageNasGetTxRxInfoOutput
typedef struct _QmiMessageNasGetTxRxInfoInput QmiMessageNasGetTxRxInfoInput;
The QmiMessageNasGetTxRxInfoInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageNasGetTxRxInfoOutput QmiMessageNasGetTxRxInfoOutput;
The QmiMessageNasGetTxRxInfoOutput structure contains private data and should only be accessed using the provided API.
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(). |
QmiMessageNasGetTxRxInfoInput * qmi_message_nas_get_tx_rx_info_input_ref
(QmiMessageNasGetTxRxInfoInput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageNasGetTxRxInfoInput. |
Returns : |
the new reference to self. |
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.
|
a QmiMessageNasGetTxRxInfoInput. |
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.
|
a QmiMessageNasGetTxRxInfoInput. |
|
a placeholder for the output QmiNasRadioInterface, 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_tx_rx_info_input_set_radio_interface (QmiMessageNasGetTxRxInfoInput *self,QmiNasRadioInterface radio_interface,GError **error);
Set the 'Radio Interface' field in the message.
|
a QmiMessageNasGetTxRxInfoInput. |
|
a QmiNasRadioInterface. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageNasGetTxRxInfoOutput * qmi_message_nas_get_tx_rx_info_output_ref
(QmiMessageNasGetTxRxInfoOutput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageNasGetTxRxInfoOutput. |
Returns : |
the new reference to self. |
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.
|
a QmiMessageNasGetTxRxInfoOutput. |
gboolean qmi_message_nas_get_tx_rx_info_output_get_result (QmiMessageNasGetTxRxInfoOutput *self,GError **error);
Get the result of the QMI operation.
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.
|
a QmiMessageNasGetTxRxInfoOutput. |
|
a placeholder for the output gboolean, 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. |
|
a placeholder for the output gint32, or NULL if not required. |
|
a placeholder for the output gint32, 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_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.
|
a QmiMessageNasGetTxRxInfoOutput. |
|
a placeholder for the output gboolean, 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. |
|
a placeholder for the output gint32, or NULL if not required. |
|
a placeholder for the output gint32, 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_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.
|
a QmiMessageNasGetTxRxInfoOutput. |
|
a placeholder for the output gboolean, 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. |
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.
|
a QmiClientNas. |
|
a QmiMessageNasGetTxRxInfoInput. |
|
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. |
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().
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_tx_rx_info(). |
|
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(). |