![]() |
![]() |
![]() |
libqmi-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageWdaGetDataFormatOutput; QmiMessageWdaGetDataFormatOutput * qmi_message_wda_get_data_format_output_ref (QmiMessageWdaGetDataFormatOutput *self
); void qmi_message_wda_get_data_format_output_unref (QmiMessageWdaGetDataFormatOutput *self
); gboolean qmi_message_wda_get_data_format_output_get_result (QmiMessageWdaGetDataFormatOutput *self
,GError **error
); gboolean qmi_message_wda_get_data_format_output_get_qos_format (QmiMessageWdaGetDataFormatOutput *self
,gboolean *qos_format
,GError **error
); gboolean qmi_message_wda_get_data_format_output_get_link_layer_protocol (QmiMessageWdaGetDataFormatOutput *self
,QmiWdaLinkLayerProtocol *link_layer_protocol
,GError **error
); gboolean qmi_message_wda_get_data_format_output_get_uplink_data_aggregation_protocol (QmiMessageWdaGetDataFormatOutput *self
,QmiWdaDataAggregationProtocol *uplink_data_aggregation_protocol
,GError **error
); gboolean qmi_message_wda_get_data_format_output_get_downlink_data_aggregation_protocol (QmiMessageWdaGetDataFormatOutput *self
,QmiWdaDataAggregationProtocol *downlink_data_aggregation_protocol
,GError **error
); gboolean qmi_message_wda_get_data_format_output_get_ndp_signature (QmiMessageWdaGetDataFormatOutput *self
,guint32 *ndp_signature
,GError **error
); gboolean qmi_message_wda_get_data_format_output_get_uplink_data_aggregation_max_size (QmiMessageWdaGetDataFormatOutput *self
,guint32 *uplink_data_aggregation_max_size
,GError **error
); gboolean qmi_message_wda_get_data_format_output_get_downlink_data_aggregation_max_size (QmiMessageWdaGetDataFormatOutput *self
,guint32 *downlink_data_aggregation_max_size
,GError **error
); void qmi_client_wda_get_data_format (QmiClientWda *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageWdaGetDataFormatOutput * qmi_client_wda_get_data_format_finish (QmiClientWda *self
,GAsyncResult *res
,GError **error
);
typedef struct _QmiMessageWdaGetDataFormatOutput QmiMessageWdaGetDataFormatOutput;
The QmiMessageWdaGetDataFormatOutput structure contains private data and should only be accessed using the provided API.
QmiMessageWdaGetDataFormatOutput * qmi_message_wda_get_data_format_output_ref
(QmiMessageWdaGetDataFormatOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdaGetDataFormatOutput. |
Returns : |
the new reference to self . |
void qmi_message_wda_get_data_format_output_unref
(QmiMessageWdaGetDataFormatOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdaGetDataFormatOutput. |
gboolean qmi_message_wda_get_data_format_output_get_result (QmiMessageWdaGetDataFormatOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_wda_get_data_format_output_get_qos_format (QmiMessageWdaGetDataFormatOutput *self
,gboolean *qos_format
,GError **error
);
Get the 'QoS Format' field from self
.
gboolean qmi_message_wda_get_data_format_output_get_link_layer_protocol (QmiMessageWdaGetDataFormatOutput *self
,QmiWdaLinkLayerProtocol *link_layer_protocol
,GError **error
);
Get the 'Link Layer Protocol' field from self
.
|
a QmiMessageWdaGetDataFormatOutput. |
|
a placeholder for the output QmiWdaLinkLayerProtocol, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wda_get_data_format_output_get_uplink_data_aggregation_protocol (QmiMessageWdaGetDataFormatOutput *self
,QmiWdaDataAggregationProtocol *uplink_data_aggregation_protocol
,GError **error
);
Get the 'Uplink Data Aggregation Protocol' field from self
.
|
a QmiMessageWdaGetDataFormatOutput. |
|
a placeholder for the output QmiWdaDataAggregationProtocol, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wda_get_data_format_output_get_downlink_data_aggregation_protocol (QmiMessageWdaGetDataFormatOutput *self
,QmiWdaDataAggregationProtocol *downlink_data_aggregation_protocol
,GError **error
);
Get the 'Downlink Data Aggregation Protocol' field from self
.
|
a QmiMessageWdaGetDataFormatOutput. |
|
a placeholder for the output QmiWdaDataAggregationProtocol, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wda_get_data_format_output_get_ndp_signature (QmiMessageWdaGetDataFormatOutput *self
,guint32 *ndp_signature
,GError **error
);
Get the 'NDP Signature' field from self
.
|
a QmiMessageWdaGetDataFormatOutput. |
|
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_wda_get_data_format_output_get_uplink_data_aggregation_max_size (QmiMessageWdaGetDataFormatOutput *self
,guint32 *uplink_data_aggregation_max_size
,GError **error
);
Get the 'Uplink Data Aggregation Max Size' field from self
.
|
a QmiMessageWdaGetDataFormatOutput. |
|
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_wda_get_data_format_output_get_downlink_data_aggregation_max_size (QmiMessageWdaGetDataFormatOutput *self
,guint32 *downlink_data_aggregation_max_size
,GError **error
);
Get the 'Downlink Data Aggregation Max Size' field from self
.
|
a QmiMessageWdaGetDataFormatOutput. |
|
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. |
void qmi_client_wda_get_data_format (QmiClientWda *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Data Format 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_wda_get_data_format_finish()
to get the result of the operation.
|
a QmiClientWda. |
|
NULL . This message doesn't have any input bundle. |
|
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 . |
QmiMessageWdaGetDataFormatOutput * qmi_client_wda_get_data_format_finish (QmiClientWda *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wda_get_data_format()
.
|
a QmiClientWda. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wda_get_data_format() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageWdaGetDataFormatOutput, or NULL if error is set. The returned value should be freed with qmi_message_wda_get_data_format_output_unref() . |