| Top |  |  |  |  | 
Collection of methods to create requests and parse responses of the SSC Control message.
QmiMessageSscControlInput *
qmi_message_ssc_control_input_new (void);
Allocates a new QmiMessageSscControlInput.
 the newly created QmiMessageSscControlInput. The returned value should be freed with qmi_message_ssc_control_input_unref().
Since: 1.34
QmiMessageSscControlInput *
qmi_message_ssc_control_input_ref (QmiMessageSscControlInput *self);
Atomically increments the reference count of self
 by one.
Since: 1.34
void
qmi_message_ssc_control_input_unref (QmiMessageSscControlInput *self);
Atomically decrements the reference count of self
 by one.
If the reference count drops to 0, self
 is completely disposed.
Since: 1.34
gboolean qmi_message_ssc_control_input_get_report_type (QmiMessageSscControlInput *self,QmiSscReportType *value_report_type,GError **error);
Get the 'Report Type' field from self
.
| self | ||
| value_report_type | a placeholder for the output QmiSscReportType, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.34
gboolean qmi_message_ssc_control_input_set_report_type (QmiMessageSscControlInput *self,QmiSscReportType value_report_type,GError **error);
Set the 'Report Type' field in the message.
Since: 1.34
gboolean qmi_message_ssc_control_input_get_data (QmiMessageSscControlInput *self,GArray **value_data,GError **error);
Get the 'Data' field from self
.
| self | ||
| value_data | a placeholder for the output GArray of guint8 elements, or  | [out][optional][element-type guint8][transfer none] | 
| error | Return location for error or  | 
Since: 1.34
gboolean qmi_message_ssc_control_input_set_data (QmiMessageSscControlInput *self,GArray *value_data,GError **error);
Set the 'Data' field in the message.
| self | ||
| value_data | a GArray of guint8 elements. A new reference to  | [in][element-type guint8][transfer none] | 
| error | Return location for error or  | 
Since: 1.34
QmiMessageSscControlOutput *
qmi_message_ssc_control_output_ref (QmiMessageSscControlOutput *self);
Atomically increments the reference count of self
 by one.
Since: 1.34
void
qmi_message_ssc_control_output_unref (QmiMessageSscControlOutput *self);
Atomically decrements the reference count of self
 by one.
If the reference count drops to 0, self
 is completely disposed.
Since: 1.34
gboolean qmi_message_ssc_control_output_get_result (QmiMessageSscControlOutput *self,GError **error);
Get the result of the QMI operation.
Since: 1.34
gboolean qmi_message_ssc_control_output_get_client_id (QmiMessageSscControlOutput *self,guint64 *value_client_id,GError **error);
Get the 'Client ID' field from self
.
| self | ||
| value_client_id | a placeholder for the output guint64, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.34
gboolean qmi_message_ssc_control_output_get_response (QmiMessageSscControlOutput *self,guint32 *value_response,GError **error);
Get the 'Response' field from self
.
| self | ||
| value_response | a placeholder for the output guint32, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.34
QmiMessageSscControlOutput * qmi_message_ssc_control_response_parse (QmiMessage *message,GError **error);
Parses a QmiMessage and builds a QmiMessageSscControlOutput out of it. The operation fails if the message is of the wrong type.
 a QmiMessageSscControlOutput, or NULL if error
is set. The returned value should be freed with qmi_message_ssc_control_output_unref().
Since: 1.34
void qmi_client_ssc_control (QmiClientSsc *self,QmiMessageSscControlInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Control 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_ssc_control_finish() to get the result of the operation.
| self | a QmiClientSsc. | |
| 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  | 
Since: 1.34
QmiMessageSscControlOutput * qmi_client_ssc_control_finish (QmiClientSsc *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_ssc_control().
| self | a QmiClientSsc. | |
| res | the GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
 a QmiMessageSscControlOutput, or NULL if error
is set. The returned value should be freed with qmi_message_ssc_control_output_unref().
Since: 1.34
typedef struct _QmiMessageSscControlInput QmiMessageSscControlInput;
The QmiMessageSscControlInput structure contains private data and should only be accessed using the provided API.
Since: 1.34
typedef struct _QmiMessageSscControlOutput QmiMessageSscControlOutput;
The QmiMessageSscControlOutput structure contains private data and should only be accessed using the provided API.
Since: 1.34