Top |
QmiMessageWmsRawReadInput *
qmi_message_wms_raw_read_input_new (void
);
Allocates a new QmiMessageWmsRawReadInput.
the newly created QmiMessageWmsRawReadInput. The returned value should be freed with qmi_message_wms_raw_read_input_unref()
.
QmiMessageWmsRawReadInput *
qmi_message_wms_raw_read_input_ref (QmiMessageWmsRawReadInput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_wms_raw_read_input_unref (QmiMessageWmsRawReadInput *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_read_input_get_sms_on_ims (QmiMessageWmsRawReadInput *self
,gboolean *sms_on_ims
,GError **error
);
Get the 'SMS on IMS' field from self
.
gboolean qmi_message_wms_raw_read_input_set_sms_on_ims (QmiMessageWmsRawReadInput *self
,gboolean sms_on_ims
,GError **error
);
Set the 'SMS on IMS' field in the message.
gboolean qmi_message_wms_raw_read_input_get_message_mode (QmiMessageWmsRawReadInput *self
,QmiWmsMessageMode *message_mode
,GError **error
);
Get the 'Message Mode' field from self
.
self |
||
message_mode |
a placeholder for the output QmiWmsMessageMode, or |
|
error |
Return location for error or |
gboolean qmi_message_wms_raw_read_input_set_message_mode (QmiMessageWmsRawReadInput *self
,QmiWmsMessageMode message_mode
,GError **error
);
Set the 'Message Mode' field in the message.
gboolean qmi_message_wms_raw_read_input_get_message_memory_storage_id (QmiMessageWmsRawReadInput *self
,QmiWmsStorageType *message_memory_storage_id_storage_type
,guint32 *message_memory_storage_id_memory_index
,GError **error
);
Get the 'Message Memory Storage ID' field from self
.
self |
||
message_memory_storage_id_storage_type |
a placeholder for the output QmiWmsStorageType, or |
|
message_memory_storage_id_memory_index |
a placeholder for the output guint32, or |
|
error |
Return location for error or |
gboolean qmi_message_wms_raw_read_input_set_message_memory_storage_id (QmiMessageWmsRawReadInput *self
,QmiWmsStorageType message_memory_storage_id_storage_type
,guint32 message_memory_storage_id_memory_index
,GError **error
);
Set the 'Message Memory Storage ID' field in the message.
QmiMessageWmsRawReadOutput *
qmi_message_wms_raw_read_output_ref (QmiMessageWmsRawReadOutput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_wms_raw_read_output_unref (QmiMessageWmsRawReadOutput *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_read_output_get_result (QmiMessageWmsRawReadOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_wms_raw_read_output_get_raw_message_data (QmiMessageWmsRawReadOutput *self
,QmiWmsMessageTagType *raw_message_data_message_tag
,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_message_tag |
a placeholder for the output QmiWmsMessageTagType, 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 |
void qmi_client_wms_raw_read (QmiClientWms *self
,QmiMessageWmsRawReadInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Raw Read 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_read_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 |
QmiMessageWmsRawReadOutput * qmi_client_wms_raw_read_finish (QmiClientWms *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wms_raw_read()
.
self |
a QmiClientWms. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWmsRawReadOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wms_raw_read_output_unref()
.
typedef struct _QmiMessageWmsRawReadInput QmiMessageWmsRawReadInput;
The QmiMessageWmsRawReadInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWmsRawReadOutput QmiMessageWmsRawReadOutput;
The QmiMessageWmsRawReadOutput structure contains private data and should only be accessed using the provided API.