libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageWdsStartNetworkInput; QmiMessageWdsStartNetworkOutput; QmiMessageWdsStartNetworkInput * qmi_message_wds_start_network_input_new (void
); QmiMessageWdsStartNetworkInput * qmi_message_wds_start_network_input_ref (QmiMessageWdsStartNetworkInput *self
); void qmi_message_wds_start_network_input_unref (QmiMessageWdsStartNetworkInput *self
); gboolean qmi_message_wds_start_network_input_get_call_type (QmiMessageWdsStartNetworkInput *self
,QmiWdsCallType *call_type
,GError **error
); gboolean qmi_message_wds_start_network_input_set_call_type (QmiMessageWdsStartNetworkInput *self
,QmiWdsCallType call_type
,GError **error
); gboolean qmi_message_wds_start_network_input_get_extended_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsExtendedTechnologyPreference *extended_technology_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_extended_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsExtendedTechnologyPreference extended_technology_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_enable_autoconnect (QmiMessageWdsStartNetworkInput *self
,gboolean *enable_autoconnect
,GError **error
); gboolean qmi_message_wds_start_network_input_set_enable_autoconnect (QmiMessageWdsStartNetworkInput *self
,gboolean enable_autoconnect
,GError **error
); gboolean qmi_message_wds_start_network_input_get_profile_index_3gpp2 (QmiMessageWdsStartNetworkInput *self
,guint8 *profile_index_3gpp2
,GError **error
); gboolean qmi_message_wds_start_network_input_set_profile_index_3gpp2 (QmiMessageWdsStartNetworkInput *self
,guint8 profile_index_3gpp2
,GError **error
); gboolean qmi_message_wds_start_network_input_get_profile_index_3gpp (QmiMessageWdsStartNetworkInput *self
,guint8 *profile_index_3gpp
,GError **error
); gboolean qmi_message_wds_start_network_input_set_profile_index_3gpp (QmiMessageWdsStartNetworkInput *self
,guint8 profile_index_3gpp
,GError **error
); gboolean qmi_message_wds_start_network_input_get_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsTechnologyPreference *technology_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsTechnologyPreference technology_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_ip_family_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsIpFamily *ip_family_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_ip_family_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsIpFamily ip_family_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_password (QmiMessageWdsStartNetworkInput *self
,const gchar **password
,GError **error
); gboolean qmi_message_wds_start_network_input_set_password (QmiMessageWdsStartNetworkInput *self
,const gchar *password
,GError **error
); gboolean qmi_message_wds_start_network_input_get_username (QmiMessageWdsStartNetworkInput *self
,const gchar **username
,GError **error
); gboolean qmi_message_wds_start_network_input_set_username (QmiMessageWdsStartNetworkInput *self
,const gchar *username
,GError **error
); gboolean qmi_message_wds_start_network_input_get_authentication_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsAuthentication *authentication_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_authentication_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsAuthentication authentication_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_ipv4_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *ipv4_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_ipv4_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 ipv4_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_apn (QmiMessageWdsStartNetworkInput *self
,const gchar **apn
,GError **error
); gboolean qmi_message_wds_start_network_input_set_apn (QmiMessageWdsStartNetworkInput *self
,const gchar *apn
,GError **error
); gboolean qmi_message_wds_start_network_input_get_secondary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *secondary_nbns_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_secondary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 secondary_nbns_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_primary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *primary_nbns_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_primary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 primary_nbns_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_secondary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *secondary_dns_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_secondary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 secondary_dns_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_get_primary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *primary_dns_address_preference
,GError **error
); gboolean qmi_message_wds_start_network_input_set_primary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 primary_dns_address_preference
,GError **error
); QmiMessageWdsStartNetworkOutput * qmi_message_wds_start_network_output_ref (QmiMessageWdsStartNetworkOutput *self
); void qmi_message_wds_start_network_output_unref (QmiMessageWdsStartNetworkOutput *self
); gboolean qmi_message_wds_start_network_output_get_result (QmiMessageWdsStartNetworkOutput *self
,GError **error
); gboolean qmi_message_wds_start_network_output_get_packet_data_handle (QmiMessageWdsStartNetworkOutput *self
,guint32 *packet_data_handle
,GError **error
); gboolean qmi_message_wds_start_network_output_get_call_end_reason (QmiMessageWdsStartNetworkOutput *self
,QmiWdsCallEndReason *call_end_reason
,GError **error
); gboolean qmi_message_wds_start_network_output_get_verbose_call_end_reason (QmiMessageWdsStartNetworkOutput *self
,QmiWdsVerboseCallEndReasonType *verbose_call_end_reason_type
,gint16 *verbose_call_end_reason_reason
,GError **error
); void qmi_client_wds_start_network (QmiClientWds *self
,QmiMessageWdsStartNetworkInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageWdsStartNetworkOutput * qmi_client_wds_start_network_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageWdsStartNetworkInput
GBoxed +----QmiMessageWdsStartNetworkOutput
typedef struct _QmiMessageWdsStartNetworkInput QmiMessageWdsStartNetworkInput;
The QmiMessageWdsStartNetworkInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWdsStartNetworkOutput QmiMessageWdsStartNetworkOutput;
The QmiMessageWdsStartNetworkOutput structure contains private data and should only be accessed using the provided API.
QmiMessageWdsStartNetworkInput * qmi_message_wds_start_network_input_new
(void
);
Allocates a new QmiMessageWdsStartNetworkInput.
Returns : |
the newly created QmiMessageWdsStartNetworkInput. The returned value should be freed with qmi_message_wds_start_network_input_unref() . |
QmiMessageWdsStartNetworkInput * qmi_message_wds_start_network_input_ref
(QmiMessageWdsStartNetworkInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsStartNetworkInput. |
Returns : |
the new reference to self . |
void qmi_message_wds_start_network_input_unref
(QmiMessageWdsStartNetworkInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsStartNetworkInput. |
gboolean qmi_message_wds_start_network_input_get_call_type (QmiMessageWdsStartNetworkInput *self
,QmiWdsCallType *call_type
,GError **error
);
Get the 'Call Type' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output QmiWdsCallType, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_call_type (QmiMessageWdsStartNetworkInput *self
,QmiWdsCallType call_type
,GError **error
);
Set the 'Call Type' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a QmiWdsCallType. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_extended_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsExtendedTechnologyPreference *extended_technology_preference
,GError **error
);
Get the 'Extended Technology Preference' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output QmiWdsExtendedTechnologyPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_extended_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsExtendedTechnologyPreference extended_technology_preference
,GError **error
);
Set the 'Extended Technology Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a QmiWdsExtendedTechnologyPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_enable_autoconnect (QmiMessageWdsStartNetworkInput *self
,gboolean *enable_autoconnect
,GError **error
);
Get the 'Enable Autoconnect' field from self
.
gboolean qmi_message_wds_start_network_input_set_enable_autoconnect (QmiMessageWdsStartNetworkInput *self
,gboolean enable_autoconnect
,GError **error
);
Set the 'Enable Autoconnect' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_profile_index_3gpp2 (QmiMessageWdsStartNetworkInput *self
,guint8 *profile_index_3gpp2
,GError **error
);
Get the 'Profile Index 3GPP2' field from self
.
gboolean qmi_message_wds_start_network_input_set_profile_index_3gpp2 (QmiMessageWdsStartNetworkInput *self
,guint8 profile_index_3gpp2
,GError **error
);
Set the 'Profile Index 3GPP2' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a guint8. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_profile_index_3gpp (QmiMessageWdsStartNetworkInput *self
,guint8 *profile_index_3gpp
,GError **error
);
Get the 'Profile Index 3GPP' field from self
.
gboolean qmi_message_wds_start_network_input_set_profile_index_3gpp (QmiMessageWdsStartNetworkInput *self
,guint8 profile_index_3gpp
,GError **error
);
Set the 'Profile Index 3GPP' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a guint8. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsTechnologyPreference *technology_preference
,GError **error
);
Get the 'Technology Preference' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output QmiWdsTechnologyPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_technology_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsTechnologyPreference technology_preference
,GError **error
);
Set the 'Technology Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a QmiWdsTechnologyPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_ip_family_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsIpFamily *ip_family_preference
,GError **error
);
Get the 'IP Family Preference' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output QmiWdsIpFamily, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_ip_family_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsIpFamily ip_family_preference
,GError **error
);
Set the 'IP Family Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a QmiWdsIpFamily. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_password (QmiMessageWdsStartNetworkInput *self
,const gchar **password
,GError **error
);
Get the 'Password' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_password (QmiMessageWdsStartNetworkInput *self
,const gchar *password
,GError **error
);
Set the 'Password' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a constant string. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_username (QmiMessageWdsStartNetworkInput *self
,const gchar **username
,GError **error
);
Get the 'Username' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_username (QmiMessageWdsStartNetworkInput *self
,const gchar *username
,GError **error
);
Set the 'Username' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a constant string. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_authentication_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsAuthentication *authentication_preference
,GError **error
);
Get the 'Authentication Preference' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output QmiWdsAuthentication, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_authentication_preference (QmiMessageWdsStartNetworkInput *self
,QmiWdsAuthentication authentication_preference
,GError **error
);
Set the 'Authentication Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a QmiWdsAuthentication. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_ipv4_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *ipv4_address_preference
,GError **error
);
Get the 'IPv4 Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_ipv4_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 ipv4_address_preference
,GError **error
);
Set the 'IPv4 Address Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a guint32. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_apn (QmiMessageWdsStartNetworkInput *self
,const gchar **apn
,GError **error
);
Get the 'APN' field from self
.
|
a QmiMessageWdsStartNetworkInput. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_set_apn (QmiMessageWdsStartNetworkInput *self
,const gchar *apn
,GError **error
);
Set the 'APN' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a constant string. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_secondary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *secondary_nbns_address_preference
,GError **error
);
Get the 'Secondary NBNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_secondary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 secondary_nbns_address_preference
,GError **error
);
Set the 'Secondary NBNS Address Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a guint32. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_primary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *primary_nbns_address_preference
,GError **error
);
Get the 'Primary NBNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_primary_nbns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 primary_nbns_address_preference
,GError **error
);
Set the 'Primary NBNS Address Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a guint32. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_secondary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *secondary_dns_address_preference
,GError **error
);
Get the 'Secondary DNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_secondary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 secondary_dns_address_preference
,GError **error
);
Set the 'Secondary DNS Address Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a guint32. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wds_start_network_input_get_primary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 *primary_dns_address_preference
,GError **error
);
Get the 'Primary DNS Address Preference' field from self
.
gboolean qmi_message_wds_start_network_input_set_primary_dns_address_preference (QmiMessageWdsStartNetworkInput *self
,guint32 primary_dns_address_preference
,GError **error
);
Set the 'Primary DNS Address Preference' field in the message.
|
a QmiMessageWdsStartNetworkInput. |
|
a guint32. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageWdsStartNetworkOutput * qmi_message_wds_start_network_output_ref
(QmiMessageWdsStartNetworkOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsStartNetworkOutput. |
Returns : |
the new reference to self . |
void qmi_message_wds_start_network_output_unref
(QmiMessageWdsStartNetworkOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsStartNetworkOutput. |
gboolean qmi_message_wds_start_network_output_get_result (QmiMessageWdsStartNetworkOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_wds_start_network_output_get_packet_data_handle (QmiMessageWdsStartNetworkOutput *self
,guint32 *packet_data_handle
,GError **error
);
Get the 'Packet Data Handle' field from self
.
gboolean qmi_message_wds_start_network_output_get_call_end_reason (QmiMessageWdsStartNetworkOutput *self
,QmiWdsCallEndReason *call_end_reason
,GError **error
);
Get the 'Call End Reason' field from self
.
|
a QmiMessageWdsStartNetworkOutput. |
|
a placeholder for the output QmiWdsCallEndReason, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_start_network_output_get_verbose_call_end_reason (QmiMessageWdsStartNetworkOutput *self
,QmiWdsVerboseCallEndReasonType *verbose_call_end_reason_type
,gint16 *verbose_call_end_reason_reason
,GError **error
);
Get the 'Verbose Call End Reason' field from self
.
|
a QmiMessageWdsStartNetworkOutput. |
|
a placeholder for the output QmiWdsVerboseCallEndReasonType, or NULL if not required. |
|
a placeholder for the output gint16, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
void qmi_client_wds_start_network (QmiClientWds *self
,QmiMessageWdsStartNetworkInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Start Network 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_wds_start_network_finish()
to get the result of the operation.
|
a QmiClientWds. |
|
a QmiMessageWdsStartNetworkInput. |
|
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 . |
QmiMessageWdsStartNetworkOutput * qmi_client_wds_start_network_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_start_network()
.
|
a QmiClientWds. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wds_start_network() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageWdsStartNetworkOutput, or NULL if error is set. The returned value should be freed with qmi_message_wds_start_network_output_unref() . |