|  |  |  | libqmi-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageWmsRawWriteInput; QmiMessageWmsRawWriteOutput; QmiMessageWmsRawWriteInput * qmi_message_wms_raw_write_input_new (void); QmiMessageWmsRawWriteInput * qmi_message_wms_raw_write_input_ref (QmiMessageWmsRawWriteInput *self); void qmi_message_wms_raw_write_input_unref (QmiMessageWmsRawWriteInput *self); 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); 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); QmiMessageWmsRawWriteOutput * qmi_message_wms_raw_write_output_ref (QmiMessageWmsRawWriteOutput *self); void qmi_message_wms_raw_write_output_unref (QmiMessageWmsRawWriteOutput *self); gboolean qmi_message_wms_raw_write_output_get_result (QmiMessageWmsRawWriteOutput *self,GError **error); gboolean qmi_message_wms_raw_write_output_get_memory_index (QmiMessageWmsRawWriteOutput *self,guint32 *memory_index,GError **error); void qmi_client_wms_raw_write (QmiClientWms *self,QmiMessageWmsRawWriteInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageWmsRawWriteOutput * qmi_client_wms_raw_write_finish (QmiClientWms *self,GAsyncResult *res,GError **error);
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.
QmiMessageWmsRawWriteInput * qmi_message_wms_raw_write_input_new
                                                        (void);
Allocates a new QmiMessageWmsRawWriteInput.
| Returns : | 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.
| 
 | a QmiMessageWmsRawWriteInput. | 
| Returns : | the new reference to self. | 
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.
| 
 | a QmiMessageWmsRawWriteInput. | 
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.
| 
 | a QmiMessageWmsRawWriteInput. | 
| 
 | a placeholder for the output QmiWmsStorageType, or NULLif not required. | 
| 
 | a placeholder for the output QmiWmsMessageFormat, or NULLif not required. | 
| 
 | a placeholder for the output GArray of guint8 elements, or NULLif not required. Do not free it, it is owned byself. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
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.
| 
 | a QmiMessageWmsRawWriteInput. | 
| 
 | a QmiWmsStorageType. | 
| 
 | a QmiWmsMessageFormat. | 
| 
 | a GArray of guint8 elements. A new reference to raw_message_data_raw_datawill be taken. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEifvaluewas successfully set,FALSEotherwise. | 
QmiMessageWmsRawWriteOutput * qmi_message_wms_raw_write_output_ref
                                                        (QmiMessageWmsRawWriteOutput *self);
Atomically increments the reference count of self by one.
| 
 | a QmiMessageWmsRawWriteOutput. | 
| Returns : | the new reference to self. | 
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.
| 
 | a QmiMessageWmsRawWriteOutput. | 
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.
| 
 | a QmiClientWms. | 
| 
 | a QmiMessageWmsRawWriteInput. | 
| 
 | 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. | 
QmiMessageWmsRawWriteOutput * qmi_client_wms_raw_write_finish (QmiClientWms *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_wms_raw_write().
| 
 | a QmiClientWms. | 
| 
 | the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wms_raw_write(). | 
| 
 | Return location for error or NULL. | 
| Returns : | a QmiMessageWmsRawWriteOutput, or NULLiferroris set. The returned value should be freed withqmi_message_wms_raw_write_output_unref(). |