libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageWdsGetDefaultSettingsInput; QmiMessageWdsGetDefaultSettingsOutput; QmiMessageWdsGetDefaultSettingsInput * qmi_message_wds_get_default_settings_input_new (void
); QmiMessageWdsGetDefaultSettingsInput * qmi_message_wds_get_default_settings_input_ref (QmiMessageWdsGetDefaultSettingsInput *self
); void qmi_message_wds_get_default_settings_input_unref (QmiMessageWdsGetDefaultSettingsInput *self
); gboolean qmi_message_wds_get_default_settings_input_get_profile_type (QmiMessageWdsGetDefaultSettingsInput *self
,QmiWdsProfileType *profile_type
,GError **error
); gboolean qmi_message_wds_get_default_settings_input_set_profile_type (QmiMessageWdsGetDefaultSettingsInput *self
,QmiWdsProfileType profile_type
,GError **error
); QmiMessageWdsGetDefaultSettingsOutput * qmi_message_wds_get_default_settings_output_ref (QmiMessageWdsGetDefaultSettingsOutput *self
); void qmi_message_wds_get_default_settings_output_unref (QmiMessageWdsGetDefaultSettingsOutput *self
); gboolean qmi_message_wds_get_default_settings_output_get_result (QmiMessageWdsGetDefaultSettingsOutput *self
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_ipv6_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,GArray **ipv6_address_preference_address
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_profile_name (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **profile_name
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_pdp_type (QmiMessageWdsGetDefaultSettingsOutput *self
,QmiWdsPdpType *pdp_type
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_apn_name (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **apn_name
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_primary_ipv4_dns_address (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *primary_ipv4_dns_address
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_secondary_ipv4_dns_address (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *secondary_ipv4_dns_address
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_gprs_requested_qos (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *gprs_requested_qos_precedence_class
,guint32 *gprs_requested_qos_delay_class
,guint32 *gprs_requested_qos_reliability_class
,guint32 *gprs_requested_qos_peak_throughput_class
,guint32 *gprs_requested_qos_mean_throughput_class
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_gprs_minimum_qos (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *gprs_minimum_qos_precedence_class
,guint32 *gprs_minimum_qos_delay_class
,guint32 *gprs_minimum_qos_reliability_class
,guint32 *gprs_minimum_qos_peak_throughput_class
,guint32 *gprs_minimum_qos_mean_throughput_class
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_username (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **username
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_password (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **password
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_authentication (QmiMessageWdsGetDefaultSettingsOutput *self
,QmiWdsAuthentication *authentication
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_ipv4_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *ipv4_address_preference
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_pcscf_address_using_pco (QmiMessageWdsGetDefaultSettingsOutput *self
,gboolean *pcscf_address_using_pco
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_pcscf_address_using_dhcp (QmiMessageWdsGetDefaultSettingsOutput *self
,gboolean *pcscf_address_using_dhcp
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_imcn_flag (QmiMessageWdsGetDefaultSettingsOutput *self
,gboolean *imcn_flag
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_ipv6_primary_dns_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,GArray **ipv6_primary_dns_address_preference
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_ipv6_secondary_dns_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,GArray **ipv6_secondary_dns_address_preference
,GError **error
); gboolean qmi_message_wds_get_default_settings_output_get_extended_error_code (QmiMessageWdsGetDefaultSettingsOutput *self
,QmiWdsDsProfileError *extended_error_code
,GError **error
); void qmi_client_wds_get_default_settings (QmiClientWds *self
,QmiMessageWdsGetDefaultSettingsInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageWdsGetDefaultSettingsOutput * qmi_client_wds_get_default_settings_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageWdsGetDefaultSettingsInput
GBoxed +----QmiMessageWdsGetDefaultSettingsOutput
typedef struct _QmiMessageWdsGetDefaultSettingsInput QmiMessageWdsGetDefaultSettingsInput;
The QmiMessageWdsGetDefaultSettingsInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWdsGetDefaultSettingsOutput QmiMessageWdsGetDefaultSettingsOutput;
The QmiMessageWdsGetDefaultSettingsOutput structure contains private data and should only be accessed using the provided API.
QmiMessageWdsGetDefaultSettingsInput * qmi_message_wds_get_default_settings_input_new
(void
);
Allocates a new QmiMessageWdsGetDefaultSettingsInput.
Returns : |
the newly created QmiMessageWdsGetDefaultSettingsInput. The returned value should be freed with qmi_message_wds_get_default_settings_input_unref() . |
QmiMessageWdsGetDefaultSettingsInput * qmi_message_wds_get_default_settings_input_ref
(QmiMessageWdsGetDefaultSettingsInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsGetDefaultSettingsInput. |
Returns : |
the new reference to self . |
void qmi_message_wds_get_default_settings_input_unref
(QmiMessageWdsGetDefaultSettingsInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsGetDefaultSettingsInput. |
gboolean qmi_message_wds_get_default_settings_input_get_profile_type (QmiMessageWdsGetDefaultSettingsInput *self
,QmiWdsProfileType *profile_type
,GError **error
);
Get the 'Profile Type' field from self
.
|
a QmiMessageWdsGetDefaultSettingsInput. |
|
a placeholder for the output QmiWdsProfileType, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_default_settings_input_set_profile_type (QmiMessageWdsGetDefaultSettingsInput *self
,QmiWdsProfileType profile_type
,GError **error
);
Set the 'Profile Type' field in the message.
|
a QmiMessageWdsGetDefaultSettingsInput. |
|
a QmiWdsProfileType. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageWdsGetDefaultSettingsOutput * qmi_message_wds_get_default_settings_output_ref
(QmiMessageWdsGetDefaultSettingsOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
Returns : |
the new reference to self . |
void qmi_message_wds_get_default_settings_output_unref
(QmiMessageWdsGetDefaultSettingsOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
gboolean qmi_message_wds_get_default_settings_output_get_result (QmiMessageWdsGetDefaultSettingsOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_wds_get_default_settings_output_get_ipv6_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,GArray **ipv6_address_preference_address
,GError **error
);
Get the 'IPv6 Address Preference' field from self
.
gboolean qmi_message_wds_get_default_settings_output_get_profile_name (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **profile_name
,GError **error
);
Get the 'Profile Name' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
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_get_default_settings_output_get_pdp_type (QmiMessageWdsGetDefaultSettingsOutput *self
,QmiWdsPdpType *pdp_type
,GError **error
);
Get the 'PDP Type' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
a placeholder for the output QmiWdsPdpType, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_default_settings_output_get_apn_name (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **apn_name
,GError **error
);
Get the 'APN Name' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
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_get_default_settings_output_get_primary_ipv4_dns_address (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *primary_ipv4_dns_address
,GError **error
);
Get the 'Primary IPv4 DNS Address' field from self
.
gboolean qmi_message_wds_get_default_settings_output_get_secondary_ipv4_dns_address (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *secondary_ipv4_dns_address
,GError **error
);
Get the 'Secondary IPv4 DNS Address' field from self
.
gboolean qmi_message_wds_get_default_settings_output_get_gprs_requested_qos (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *gprs_requested_qos_precedence_class
,guint32 *gprs_requested_qos_delay_class
,guint32 *gprs_requested_qos_reliability_class
,guint32 *gprs_requested_qos_peak_throughput_class
,guint32 *gprs_requested_qos_mean_throughput_class
,GError **error
);
Get the 'GPRS Requested QoS' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_default_settings_output_get_gprs_minimum_qos (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *gprs_minimum_qos_precedence_class
,guint32 *gprs_minimum_qos_delay_class
,guint32 *gprs_minimum_qos_reliability_class
,guint32 *gprs_minimum_qos_peak_throughput_class
,guint32 *gprs_minimum_qos_mean_throughput_class
,GError **error
);
Get the 'GPRS Minimum QoS' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_default_settings_output_get_username (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **username
,GError **error
);
Get the 'Username' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
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_get_default_settings_output_get_password (QmiMessageWdsGetDefaultSettingsOutput *self
,const gchar **password
,GError **error
);
Get the 'Password' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
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_get_default_settings_output_get_authentication (QmiMessageWdsGetDefaultSettingsOutput *self
,QmiWdsAuthentication *authentication
,GError **error
);
Get the 'Authentication' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
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_get_default_settings_output_get_ipv4_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,guint32 *ipv4_address_preference
,GError **error
);
Get the 'IPv4 Address Preference' field from self
.
gboolean qmi_message_wds_get_default_settings_output_get_pcscf_address_using_pco (QmiMessageWdsGetDefaultSettingsOutput *self
,gboolean *pcscf_address_using_pco
,GError **error
);
Get the 'PCSCF Address Using PCO' field from self
.
gboolean qmi_message_wds_get_default_settings_output_get_pcscf_address_using_dhcp (QmiMessageWdsGetDefaultSettingsOutput *self
,gboolean *pcscf_address_using_dhcp
,GError **error
);
Get the 'PCSCF Address Using DHCP' field from self
.
gboolean qmi_message_wds_get_default_settings_output_get_imcn_flag (QmiMessageWdsGetDefaultSettingsOutput *self
,gboolean *imcn_flag
,GError **error
);
Get the 'IMCN Flag' field from self
.
gboolean qmi_message_wds_get_default_settings_output_get_ipv6_primary_dns_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,GArray **ipv6_primary_dns_address_preference
,GError **error
);
Get the 'IPv6 Primary DNS Address Preference' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
a placeholder for the output GArray of guint16 elements, or NULL if not required. Do not free it, it is owned by self . |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_default_settings_output_get_ipv6_secondary_dns_address_preference (QmiMessageWdsGetDefaultSettingsOutput *self
,GArray **ipv6_secondary_dns_address_preference
,GError **error
);
Get the 'IPv6 Secondary DNS Address Preference' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
a placeholder for the output GArray of guint16 elements, or NULL if not required. Do not free it, it is owned by self . |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_default_settings_output_get_extended_error_code (QmiMessageWdsGetDefaultSettingsOutput *self
,QmiWdsDsProfileError *extended_error_code
,GError **error
);
Get the 'Extended Error Code' field from self
.
|
a QmiMessageWdsGetDefaultSettingsOutput. |
|
a placeholder for the output QmiWdsDsProfileError, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
void qmi_client_wds_get_default_settings (QmiClientWds *self
,QmiMessageWdsGetDefaultSettingsInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Default Settings 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_get_default_settings_finish()
to get the result of the operation.
|
a QmiClientWds. |
|
a QmiMessageWdsGetDefaultSettingsInput. |
|
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 . |
QmiMessageWdsGetDefaultSettingsOutput * qmi_client_wds_get_default_settings_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_get_default_settings()
.
|
a QmiClientWds. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wds_get_default_settings() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageWdsGetDefaultSettingsOutput, or NULL if error is set. The returned value should be freed with qmi_message_wds_get_default_settings_output_unref() . |