| Top |
QmiMessageWmsRawWriteInput *
qmi_message_wms_raw_write_input_new (void);
Allocates a new QmiMessageWmsRawWriteInput.
the newly created QmiMessageWmsRawWriteInput. The returned value should be freed with qmi_message_wms_raw_write_input_unref().
QmiMessageWmsRawWriteInput *
qmi_message_wms_raw_write_input_ref (QmiMessageWmsRawWriteInput *self);
Atomically increments the reference count of self
by one.
void
qmi_message_wms_raw_write_input_unref (QmiMessageWmsRawWriteInput *self);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_wms_raw_write_input_get_raw_message_data (QmiMessageWmsRawWriteInput *self,QmiWmsStorageType *raw_message_data_storage_type,QmiWmsMessageFormat *raw_message_data_format,GArray **raw_message_data_raw_data,GError **error);
Get the 'Raw Message Data' field from self
.
self |
||
raw_message_data_storage_type |
a placeholder for the output QmiWmsStorageType, or |
|
raw_message_data_format |
a placeholder for the output QmiWmsMessageFormat, or |
|
raw_message_data_raw_data |
a placeholder for the output GArray of guint8 elements, or |
|
error |
Return location for error or |
gboolean qmi_message_wms_raw_write_input_set_raw_message_data (QmiMessageWmsRawWriteInput *self,QmiWmsStorageType raw_message_data_storage_type,QmiWmsMessageFormat raw_message_data_format,GArray *raw_message_data_raw_data,GError **error);
Set the 'Raw Message Data' field in the message.
QmiMessageWmsRawWriteOutput *
qmi_message_wms_raw_write_output_ref (QmiMessageWmsRawWriteOutput *self);
Atomically increments the reference count of self
by one.
void
qmi_message_wms_raw_write_output_unref
(QmiMessageWmsRawWriteOutput *self);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_wms_raw_write_output_get_result (QmiMessageWmsRawWriteOutput *self,GError **error);
Get the result of the QMI operation.
gboolean qmi_message_wms_raw_write_output_get_memory_index (QmiMessageWmsRawWriteOutput *self,guint32 *memory_index,GError **error);
Get the 'Memory Index' field from self
.
void qmi_client_wms_raw_write (QmiClientWms *self,QmiMessageWmsRawWriteInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Raw Write 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_wms_raw_write_finish() to get the result of the operation.
self |
a QmiClientWms. |
|
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 |
QmiMessageWmsRawWriteOutput * qmi_client_wms_raw_write_finish (QmiClientWms *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_wms_raw_write().
self |
a QmiClientWms. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWmsRawWriteOutput, or NULL if error
is set. The returned value should be freed with qmi_message_wms_raw_write_output_unref().
typedef struct _QmiMessageWmsRawWriteInput QmiMessageWmsRawWriteInput;
The QmiMessageWmsRawWriteInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWmsRawWriteOutput QmiMessageWmsRawWriteOutput;
The QmiMessageWmsRawWriteOutput structure contains private data and should only be accessed using the provided API.