| Top |  |  |  |  | 
QmiMessageDpmOpenPortInput *
qmi_message_dpm_open_port_input_new (void);
Allocates a new QmiMessageDpmOpenPortInput.
 the newly created QmiMessageDpmOpenPortInput. The returned value should be freed with qmi_message_dpm_open_port_input_unref().
Since: 1.30
QmiMessageDpmOpenPortInput *
qmi_message_dpm_open_port_input_ref (QmiMessageDpmOpenPortInput *self);
Atomically increments the reference count of self
 by one.
Since: 1.30
void
qmi_message_dpm_open_port_input_unref (QmiMessageDpmOpenPortInput *self);
Atomically decrements the reference count of self
 by one.
If the reference count drops to 0, self
 is completely disposed.
Since: 1.30
gboolean qmi_message_dpm_open_port_input_get_software_data_ports (QmiMessageDpmOpenPortInput *self,GArray **value_software_data_ports,GError **error);
Get the 'Software Data Ports' field from self
.
| self | ||
| value_software_data_ports | a placeholder for the output GArray of QmiMessageDpmOpenPortInputSoftwareDataPortsElement elements, or  | [out][optional][element-type QmiMessageDpmOpenPortInputSoftwareDataPortsElement][transfer none] | 
| error | Return location for error or  | 
Since: 1.30
gboolean qmi_message_dpm_open_port_input_set_software_data_ports (QmiMessageDpmOpenPortInput *self,GArray *value_software_data_ports,GError **error);
Set the 'Software Data Ports' field in the message.
| self | ||
| value_software_data_ports | a GArray of QmiMessageDpmOpenPortInputSoftwareDataPortsElement elements. A new reference to  | [in][element-type QmiMessageDpmOpenPortInputSoftwareDataPortsElement] | 
| error | Return location for error or  | 
Since: 1.30
gboolean qmi_message_dpm_open_port_input_get_hardware_data_ports (QmiMessageDpmOpenPortInput *self,GArray **value_hardware_data_ports,GError **error);
Get the 'Hardware Data Ports' field from self
.
| self | ||
| value_hardware_data_ports | a placeholder for the output GArray of QmiMessageDpmOpenPortInputHardwareDataPortsElement elements, or  | [out][optional][element-type QmiMessageDpmOpenPortInputHardwareDataPortsElement][transfer none] | 
| error | Return location for error or  | 
Since: 1.30
gboolean qmi_message_dpm_open_port_input_set_hardware_data_ports (QmiMessageDpmOpenPortInput *self,GArray *value_hardware_data_ports,GError **error);
Set the 'Hardware Data Ports' field in the message.
| self | ||
| value_hardware_data_ports | a GArray of QmiMessageDpmOpenPortInputHardwareDataPortsElement elements. A new reference to  | [in][element-type QmiMessageDpmOpenPortInputHardwareDataPortsElement] | 
| error | Return location for error or  | 
Since: 1.30
gboolean qmi_message_dpm_open_port_input_get_control_ports (QmiMessageDpmOpenPortInput *self,GArray **value_control_ports,GError **error);
Get the 'Control Ports' field from self
.
| self | ||
| value_control_ports | a placeholder for the output GArray of QmiMessageDpmOpenPortInputControlPortsElement elements, or  | [out][optional][element-type QmiMessageDpmOpenPortInputControlPortsElement][transfer none] | 
| error | Return location for error or  | 
Since: 1.30
gboolean qmi_message_dpm_open_port_input_set_control_ports (QmiMessageDpmOpenPortInput *self,GArray *value_control_ports,GError **error);
Set the 'Control Ports' field in the message.
| self | ||
| value_control_ports | a GArray of QmiMessageDpmOpenPortInputControlPortsElement elements. A new reference to  | [in][element-type QmiMessageDpmOpenPortInputControlPortsElement] | 
| error | Return location for error or  | 
Since: 1.30
QmiMessageDpmOpenPortOutput *
qmi_message_dpm_open_port_output_ref (QmiMessageDpmOpenPortOutput *self);
Atomically increments the reference count of self
 by one.
Since: 1.30
void
qmi_message_dpm_open_port_output_unref
                               (QmiMessageDpmOpenPortOutput *self);
Atomically decrements the reference count of self
 by one.
If the reference count drops to 0, self
 is completely disposed.
Since: 1.30
gboolean qmi_message_dpm_open_port_output_get_result (QmiMessageDpmOpenPortOutput *self,GError **error);
Get the result of the QMI operation.
Since: 1.30
void qmi_client_dpm_open_port (QmiClientDpm *self,QmiMessageDpmOpenPortInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Open Port 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_dpm_open_port_finish() to get the result of the operation.
| self | a QmiClientDpm. | |
| 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.30
QmiMessageDpmOpenPortOutput * qmi_client_dpm_open_port_finish (QmiClientDpm *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_dpm_open_port().
| self | a QmiClientDpm. | |
| res | the GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
 a QmiMessageDpmOpenPortOutput, or NULL if error
is set. The returned value should be freed with qmi_message_dpm_open_port_output_unref().
Since: 1.30
typedef struct _QmiMessageDpmOpenPortInput QmiMessageDpmOpenPortInput;
The QmiMessageDpmOpenPortInput structure contains private data and should only be accessed using the provided API.
Since: 1.30
typedef struct {
    QmiDataEndpointType endpoint_type;
    guint32 interface_number;
    gchar *port_name;
} QmiMessageDpmOpenPortInputSoftwareDataPortsElement;
A QmiMessageDpmOpenPortInputSoftwareDataPortsElement struct.
| QmiDataEndpointType  | ||
| guint32  | a guint32. | |
| gchar * | a string. | 
Since: 1.30
typedef struct {
    QmiDataEndpointType endpoint_type;
    guint32 interface_number;
    guint32 rx_endpoint_number;
    guint32 tx_endpoint_number;
} QmiMessageDpmOpenPortInputHardwareDataPortsElement;
A QmiMessageDpmOpenPortInputHardwareDataPortsElement struct.
Since: 1.30
typedef struct {
    gchar *port_name;
    QmiDataEndpointType endpoint_type;
    guint32 interface_number;
} QmiMessageDpmOpenPortInputControlPortsElement;
A QmiMessageDpmOpenPortInputControlPortsElement struct.
| gchar * | a string. | |
| QmiDataEndpointType  | ||
| guint32  | a guint32. | 
Since: 1.30
typedef struct _QmiMessageDpmOpenPortOutput QmiMessageDpmOpenPortOutput;
The QmiMessageDpmOpenPortOutput structure contains private data and should only be accessed using the provided API.
Since: 1.30