Method

QmiMessagePdcLoadConfigInputset_config_chunk

since: 1.18

Declaration [src]

gboolean
qmi_message_pdc_load_config_input_set_config_chunk (
  QmiMessagePdcLoadConfigInput* self,
  QmiPdcConfigurationType value_config_chunk_type,
  GArray* value_config_chunk_id,
  guint32 value_config_chunk_total_size,
  GArray* value_config_chunk_chunk,
  GError** error
)

Description [src]

Set the ‘Config Chunk’ field in the message.

Available since: 1.18

Parameters

value_config_chunk_type

Type: QmiPdcConfigurationType

A QmiPdcConfigurationType.

value_config_chunk_id

Type: An array of guint8

A GArray of #guint8 elements. A new reference to value_config_chunk_id will be taken, so the caller must make sure the array was created with the correct GDestroyNotify as clear function for each element in the array.

The data is owned by the caller of the method.
value_config_chunk_total_size

Type: guint32

A #guint32.

value_config_chunk_chunk

Type: An array of guint8

A GArray of #guint8 elements. A new reference to value_config_chunk_chunk will be taken, so the caller must make sure the array was created with the correct GDestroyNotify as clear function for each element in the array.

The data is owned by the caller of the method.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: gboolean

TRUE if value was successfully set, FALSE otherwise.