Top |
QmiMessageNasGetTxRxInfoInput *
qmi_message_nas_get_tx_rx_info_input_new
(void
);
Allocates a new QmiMessageNasGetTxRxInfoInput.
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.
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.
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 |
||
radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
|
error |
Return location for error or |
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.
QmiMessageNasGetTxRxInfoOutput *
qmi_message_nas_get_tx_rx_info_output_ref
(QmiMessageNasGetTxRxInfoOutput *self
);
Atomically increments the reference count of self
by one.
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.
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
.
self |
||
rx_chain_0_info_is_radio_tuned |
a placeholder for the output gboolean, or |
|
rx_chain_0_info_rx_power |
a placeholder for the output gint32, or |
|
rx_chain_0_info_ecio |
a placeholder for the output gint32, or |
|
rx_chain_0_info_rscp |
a placeholder for the output gint32, or |
|
rx_chain_0_info_rsrp |
a placeholder for the output gint32, or |
|
rx_chain_0_info_phase |
a placeholder for the output guint32, or |
|
error |
Return location for error or |
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 |
||
rx_chain_1_info_is_radio_tuned |
a placeholder for the output gboolean, or |
|
rx_chain_1_info_rx_power |
a placeholder for the output gint32, or |
|
rx_chain_1_info_ecio |
a placeholder for the output gint32, or |
|
rx_chain_1_info_rscp |
a placeholder for the output gint32, or |
|
rx_chain_1_info_rsrp |
a placeholder for the output gint32, or |
|
rx_chain_1_info_phase |
a placeholder for the output guint32, or |
|
error |
Return location for error or |
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
.
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 |
||
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
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 |
|
error |
Return location for error or |
a QmiMessageNasGetTxRxInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_tx_rx_info_output_unref()
.
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.