Top | ![]() |
![]() |
![]() |
![]() |
NAS Get Network Time responseNAS Get Network Time response — Methods to manage the NAS Get Network Time response. |
Collection of methods to create requests and parse responses of the NAS Get Network Time message.
QmiMessageNasGetNetworkTimeOutput *
qmi_message_nas_get_network_time_output_ref
(QmiMessageNasGetNetworkTimeOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.36
void
qmi_message_nas_get_network_time_output_unref
(QmiMessageNasGetNetworkTimeOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.36
gboolean qmi_message_nas_get_network_time_output_get_3gpp_time (QmiMessageNasGetNetworkTimeOutput *self
,guint16 *value_3gpp_time_universal_time_year
,guint8 *value_3gpp_time_universal_time_month
,guint8 *value_3gpp_time_universal_time_day
,guint8 *value_3gpp_time_universal_time_hour
,guint8 *value_3gpp_time_universal_time_minute
,guint8 *value_3gpp_time_universal_time_second
,QmiNasDayOfWeek *value_3gpp_time_universal_time_day_of_week
,gint8 *value_3gpp_time_timezone_offset
,QmiNasDaylightSavingsAdjustment *value_3gpp_time_daylight_savings_adjustment
,QmiNasRadioInterface *value_3gpp_time_radio_interface
,GError **error
);
Get the '3GPP Time' field from self
.
self |
||
value_3gpp_time_universal_time_year |
a placeholder for the output guint16, or |
[out][optional] |
value_3gpp_time_universal_time_month |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp_time_universal_time_day |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp_time_universal_time_hour |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp_time_universal_time_minute |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp_time_universal_time_second |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp_time_universal_time_day_of_week |
a placeholder for the output QmiNasDayOfWeek, or |
[out][optional] |
value_3gpp_time_timezone_offset |
a placeholder for the output gint8, or |
[out][optional] |
value_3gpp_time_daylight_savings_adjustment |
a placeholder for the output QmiNasDaylightSavingsAdjustment, or |
[out][optional] |
value_3gpp_time_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
[out][optional] |
error |
Return location for error or |
Since: 1.36
gboolean qmi_message_nas_get_network_time_output_get_3gpp2_time (QmiMessageNasGetNetworkTimeOutput *self
,guint16 *value_3gpp2_time_universal_time_year
,guint8 *value_3gpp2_time_universal_time_month
,guint8 *value_3gpp2_time_universal_time_day
,guint8 *value_3gpp2_time_universal_time_hour
,guint8 *value_3gpp2_time_universal_time_minute
,guint8 *value_3gpp2_time_universal_time_second
,QmiNasDayOfWeek *value_3gpp2_time_universal_time_day_of_week
,gint8 *value_3gpp2_time_timezone_offset
,QmiNasDaylightSavingsAdjustment *value_3gpp2_time_daylight_savings_adjustment
,QmiNasRadioInterface *value_3gpp2_time_radio_interface
,GError **error
);
Get the '3GPP2 Time' field from self
.
self |
||
value_3gpp2_time_universal_time_year |
a placeholder for the output guint16, or |
[out][optional] |
value_3gpp2_time_universal_time_month |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp2_time_universal_time_day |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp2_time_universal_time_hour |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp2_time_universal_time_minute |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp2_time_universal_time_second |
a placeholder for the output guint8, or |
[out][optional] |
value_3gpp2_time_universal_time_day_of_week |
a placeholder for the output QmiNasDayOfWeek, or |
[out][optional] |
value_3gpp2_time_timezone_offset |
a placeholder for the output gint8, or |
[out][optional] |
value_3gpp2_time_daylight_savings_adjustment |
a placeholder for the output QmiNasDaylightSavingsAdjustment, or |
[out][optional] |
value_3gpp2_time_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
[out][optional] |
error |
Return location for error or |
Since: 1.36
gboolean qmi_message_nas_get_network_time_output_get_result (QmiMessageNasGetNetworkTimeOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.36
QmiMessageNasGetNetworkTimeOutput * qmi_message_nas_get_network_time_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasGetNetworkTimeOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasGetNetworkTimeOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_network_time_output_unref()
.
Since: 1.36
void qmi_client_nas_get_network_time (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Network Time 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_network_time_finish()
to get the result of the operation.
self |
a QmiClientNas. |
|
unused |
|
|
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 |
Since: 1.36
QmiMessageNasGetNetworkTimeOutput * qmi_client_nas_get_network_time_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_network_time()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetNetworkTimeOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_network_time_output_unref()
.
Since: 1.36
typedef struct _QmiMessageNasGetNetworkTimeOutput QmiMessageNasGetNetworkTimeOutput;
The QmiMessageNasGetNetworkTimeOutput structure contains private data and should only be accessed using the provided API.
Since: 1.36