libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageWdsGetCurrentSettingsInput; QmiMessageWdsGetCurrentSettingsOutput; QmiMessageWdsGetCurrentSettingsInput * qmi_message_wds_get_current_settings_input_new (void
); QmiMessageWdsGetCurrentSettingsInput * qmi_message_wds_get_current_settings_input_ref (QmiMessageWdsGetCurrentSettingsInput *self
); void qmi_message_wds_get_current_settings_input_unref (QmiMessageWdsGetCurrentSettingsInput *self
); gboolean qmi_message_wds_get_current_settings_input_get_requested_settings (QmiMessageWdsGetCurrentSettingsInput *self
,QmiWdsGetCurrentSettingsRequestedSettings *requested_settings
,GError **error
); gboolean qmi_message_wds_get_current_settings_input_set_requested_settings (QmiMessageWdsGetCurrentSettingsInput *self
,QmiWdsGetCurrentSettingsRequestedSettings requested_settings
,GError **error
); QmiMessageWdsGetCurrentSettingsOutput * qmi_message_wds_get_current_settings_output_ref (QmiMessageWdsGetCurrentSettingsOutput *self
); void qmi_message_wds_get_current_settings_output_unref (QmiMessageWdsGetCurrentSettingsOutput *self
); gboolean qmi_message_wds_get_current_settings_output_get_result (QmiMessageWdsGetCurrentSettingsOutput *self
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_profile_name (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **profile_name
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_pdp_type (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsPdpType *pdp_type
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_apn_name (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **apn_name
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_primary_ipv4_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *primary_ipv4_dns_address
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_secondary_ipv4_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *secondary_ipv4_dns_address
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_gprs_granted_qos (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *gprs_granted_qos_precedence_class
,guint32 *gprs_granted_qos_delay_class
,guint32 *gprs_granted_qos_reliability_class
,guint32 *gprs_granted_qos_peak_throughput_class
,guint32 *gprs_granted_qos_mean_throughput_class
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_username (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **username
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_authentication (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsAuthentication *authentication
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ipv4_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *ipv4_address
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_profile_id (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsProfileType *profile_id_profile_type
,guint8 *profile_id_profile_index
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ipv4_gateway_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *ipv4_gateway_address
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ipv4_gateway_subnet_mask (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *ipv4_gateway_subnet_mask
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_pcscf_address_using_pco (QmiMessageWdsGetCurrentSettingsOutput *self
,guint8 *pcscf_address_using_pco
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_pcscf_server_address_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **pcscf_server_address_list
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_pcscf_domain_name_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **pcscf_domain_name_list
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ipv6_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_address_address
,guint8 *ipv6_address_prefix_length
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ipv6_gateway_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_gateway_address_address
,guint8 *ipv6_gateway_address_prefix_length
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ipv6_primary_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_primary_dns_address
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ipv6_secondary_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_secondary_dns_address
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_mtu (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *mtu
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_domain_name_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **domain_name_list
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_ip_family (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsIpFamily *ip_family
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_imcn_flag (QmiMessageWdsGetCurrentSettingsOutput *self
,gint8 *imcn_flag
,GError **error
); gboolean qmi_message_wds_get_current_settings_output_get_extended_technology_preference (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsExtendedTechnologyPreference *extended_technology_preference
,GError **error
); void qmi_client_wds_get_current_settings (QmiClientWds *self
,QmiMessageWdsGetCurrentSettingsInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageWdsGetCurrentSettingsOutput * qmi_client_wds_get_current_settings_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageWdsGetCurrentSettingsInput
GBoxed +----QmiMessageWdsGetCurrentSettingsOutput
typedef struct _QmiMessageWdsGetCurrentSettingsInput QmiMessageWdsGetCurrentSettingsInput;
The QmiMessageWdsGetCurrentSettingsInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWdsGetCurrentSettingsOutput QmiMessageWdsGetCurrentSettingsOutput;
The QmiMessageWdsGetCurrentSettingsOutput structure contains private data and should only be accessed using the provided API.
QmiMessageWdsGetCurrentSettingsInput * qmi_message_wds_get_current_settings_input_new
(void
);
Allocates a new QmiMessageWdsGetCurrentSettingsInput.
Returns : |
the newly created QmiMessageWdsGetCurrentSettingsInput. The returned value should be freed with qmi_message_wds_get_current_settings_input_unref() . |
QmiMessageWdsGetCurrentSettingsInput * qmi_message_wds_get_current_settings_input_ref
(QmiMessageWdsGetCurrentSettingsInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsGetCurrentSettingsInput. |
Returns : |
the new reference to self . |
void qmi_message_wds_get_current_settings_input_unref
(QmiMessageWdsGetCurrentSettingsInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsGetCurrentSettingsInput. |
gboolean qmi_message_wds_get_current_settings_input_get_requested_settings (QmiMessageWdsGetCurrentSettingsInput *self
,QmiWdsGetCurrentSettingsRequestedSettings *requested_settings
,GError **error
);
Get the 'Requested Settings' field from self
.
|
a QmiMessageWdsGetCurrentSettingsInput. |
|
a placeholder for the output QmiWdsGetCurrentSettingsRequestedSettings, 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_current_settings_input_set_requested_settings (QmiMessageWdsGetCurrentSettingsInput *self
,QmiWdsGetCurrentSettingsRequestedSettings requested_settings
,GError **error
);
Set the 'Requested Settings' field in the message.
|
a QmiMessageWdsGetCurrentSettingsInput. |
|
a QmiWdsGetCurrentSettingsRequestedSettings. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageWdsGetCurrentSettingsOutput * qmi_message_wds_get_current_settings_output_ref
(QmiMessageWdsGetCurrentSettingsOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
Returns : |
the new reference to self . |
void qmi_message_wds_get_current_settings_output_unref
(QmiMessageWdsGetCurrentSettingsOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
gboolean qmi_message_wds_get_current_settings_output_get_result (QmiMessageWdsGetCurrentSettingsOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_wds_get_current_settings_output_get_profile_name (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **profile_name
,GError **error
);
Get the 'Profile Name' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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_current_settings_output_get_pdp_type (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsPdpType *pdp_type
,GError **error
);
Get the 'PDP Type' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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_current_settings_output_get_apn_name (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **apn_name
,GError **error
);
Get the 'APN Name' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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_current_settings_output_get_primary_ipv4_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *primary_ipv4_dns_address
,GError **error
);
Get the 'Primary IPv4 DNS Address' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_secondary_ipv4_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *secondary_ipv4_dns_address
,GError **error
);
Get the 'Secondary IPv4 DNS Address' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_gprs_granted_qos (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *gprs_granted_qos_precedence_class
,guint32 *gprs_granted_qos_delay_class
,guint32 *gprs_granted_qos_reliability_class
,guint32 *gprs_granted_qos_peak_throughput_class
,guint32 *gprs_granted_qos_mean_throughput_class
,GError **error
);
Get the 'GPRS Granted QoS' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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_current_settings_output_get_username (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **username
,GError **error
);
Get the 'Username' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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_current_settings_output_get_authentication (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsAuthentication *authentication
,GError **error
);
Get the 'Authentication' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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_current_settings_output_get_ipv4_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *ipv4_address
,GError **error
);
Get the 'IPv4 Address' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_profile_id (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsProfileType *profile_id_profile_type
,guint8 *profile_id_profile_index
,GError **error
);
Get the 'Profile ID' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
a placeholder for the output QmiWdsProfileType, or NULL if not required. |
|
a placeholder for the output guint8, 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_current_settings_output_get_ipv4_gateway_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *ipv4_gateway_address
,GError **error
);
Get the 'IPv4 Gateway Address' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_ipv4_gateway_subnet_mask (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *ipv4_gateway_subnet_mask
,GError **error
);
Get the 'IPv4 Gateway Subnet Mask' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_pcscf_address_using_pco (QmiMessageWdsGetCurrentSettingsOutput *self
,guint8 *pcscf_address_using_pco
,GError **error
);
Get the 'PCSCF Address Using PCO' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_pcscf_server_address_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **pcscf_server_address_list
,GError **error
);
Get the 'PCSCF Server Address List' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_pcscf_domain_name_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **pcscf_domain_name_list
,GError **error
);
Get the 'PCSCF Domain Name List' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_ipv6_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_address_address
,guint8 *ipv6_address_prefix_length
,GError **error
);
Get the 'IPv6 Address' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
a placeholder for the output GArray of guint16 elements, or NULL if not required. Do not free it, it is owned by self . |
|
a placeholder for the output guint8, 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_current_settings_output_get_ipv6_gateway_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_gateway_address_address
,guint8 *ipv6_gateway_address_prefix_length
,GError **error
);
Get the 'IPv6 Gateway Address' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
a placeholder for the output GArray of guint16 elements, or NULL if not required. Do not free it, it is owned by self . |
|
a placeholder for the output guint8, 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_current_settings_output_get_ipv6_primary_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_primary_dns_address
,GError **error
);
Get the 'IPv6 Primary DNS Address' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_ipv6_secondary_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **ipv6_secondary_dns_address
,GError **error
);
Get the 'IPv6 Secondary DNS Address' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_mtu (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *mtu
,GError **error
);
Get the 'MTU' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_domain_name_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **domain_name_list
,GError **error
);
Get the 'Domain Name List' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_ip_family (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsIpFamily *ip_family
,GError **error
);
Get the 'IP Family' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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_get_current_settings_output_get_imcn_flag (QmiMessageWdsGetCurrentSettingsOutput *self
,gint8 *imcn_flag
,GError **error
);
Get the 'IMCN Flag' field from self
.
gboolean qmi_message_wds_get_current_settings_output_get_extended_technology_preference (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsExtendedTechnologyPreference *extended_technology_preference
,GError **error
);
Get the 'Extended Technology Preference' field from self
.
|
a QmiMessageWdsGetCurrentSettingsOutput. |
|
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. |
void qmi_client_wds_get_current_settings (QmiClientWds *self
,QmiMessageWdsGetCurrentSettingsInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Current 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_current_settings_finish()
to get the result of the operation.
|
a QmiClientWds. |
|
a QmiMessageWdsGetCurrentSettingsInput. |
|
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 . |
QmiMessageWdsGetCurrentSettingsOutput * qmi_client_wds_get_current_settings_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_get_current_settings()
.
|
a QmiClientWds. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wds_get_current_settings() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageWdsGetCurrentSettingsOutput, or NULL if error is set. The returned value should be freed with qmi_message_wds_get_current_settings_output_unref() . |