Top |
WDS Get Current Settings responseWDS Get Current Settings response — Methods to manage the WDS Get Current Settings response. |
GBoxed ├── QmiMessageWdsGetCurrentSettingsInput ╰── QmiMessageWdsGetCurrentSettingsOutput
Collection of methods to create requests and parse responses of the WDS Get Current Settings message.
QmiMessageWdsGetCurrentSettingsInput *
qmi_message_wds_get_current_settings_input_new
(void
);
Allocates a new QmiMessageWdsGetCurrentSettingsInput.
the newly created QmiMessageWdsGetCurrentSettingsInput. The returned value should be freed with qmi_message_wds_get_current_settings_input_unref()
.
Since: 1.0
QmiMessageWdsGetCurrentSettingsInput *
qmi_message_wds_get_current_settings_input_ref
(QmiMessageWdsGetCurrentSettingsInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
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.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_input_get_requested_settings (QmiMessageWdsGetCurrentSettingsInput *self
,QmiWdsRequestedSettings *value_requested_settings
,GError **error
);
Get the 'Requested Settings' field from self
.
self |
||
value_requested_settings |
a placeholder for the output QmiWdsRequestedSettings, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_input_set_requested_settings (QmiMessageWdsGetCurrentSettingsInput *self
,QmiWdsRequestedSettings value_requested_settings
,GError **error
);
Set the 'Requested Settings' field in the message.
Since: 1.0
QmiMessageWdsGetCurrentSettingsOutput *
qmi_message_wds_get_current_settings_output_ref
(QmiMessageWdsGetCurrentSettingsOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
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.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_result (QmiMessageWdsGetCurrentSettingsOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_profile_name (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **value_profile_name
,GError **error
);
Get the 'Profile Name' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_pdp_type (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsPdpType *value_pdp_type
,GError **error
);
Get the 'PDP Type' field from self
.
self |
||
value_pdp_type |
a placeholder for the output QmiWdsPdpType, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_apn_name (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **value_apn_name
,GError **error
);
Get the 'APN Name' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_primary_ipv4_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *value_primary_ipv4_dns_address
,GError **error
);
Get the 'Primary IPv4 DNS Address' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_secondary_ipv4_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *value_secondary_ipv4_dns_address
,GError **error
);
Get the 'Secondary IPv4 DNS Address' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_umts_granted_qos (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsTrafficClass *value_umts_granted_qos_traffic_class
,guint32 *value_umts_granted_qos_max_uplink_bitrate
,guint32 *value_umts_granted_qos_max_downlink_bitrate
,guint32 *value_umts_granted_qos_guaranteed_uplink_bitrate
,guint32 *value_umts_granted_qos_guaranteed_downlink_bitrate
,QmiWdsDeliveryOrder *value_umts_granted_qos_qos_delivery_order
,guint32 *value_umts_granted_qos_maximum_sdu_size
,QmiWdsSduErrorRatio *value_umts_granted_qos_sdu_error_ratio
,QmiWdsSduResidualBitErrorRatio *value_umts_granted_qos_residual_bit_error_ratio
,QmiWdsSduErroneousDelivery *value_umts_granted_qos_delivery_erroneous_sdu
,guint32 *value_umts_granted_qos_transfer_delay
,guint32 *value_umts_granted_qos_traffic_handling_priority
,GError **error
);
Get the 'UMTS Granted QoS' field from self
.
self |
||
value_umts_granted_qos_traffic_class |
a placeholder for the output QmiWdsTrafficClass, or |
[out][optional] |
value_umts_granted_qos_max_uplink_bitrate |
a placeholder for the output guint32, or |
[out][optional] |
value_umts_granted_qos_max_downlink_bitrate |
a placeholder for the output guint32, or |
[out][optional] |
value_umts_granted_qos_guaranteed_uplink_bitrate |
a placeholder for the output guint32, or |
[out][optional] |
value_umts_granted_qos_guaranteed_downlink_bitrate |
a placeholder for the output guint32, or |
[out][optional] |
value_umts_granted_qos_qos_delivery_order |
a placeholder for the output QmiWdsDeliveryOrder, or |
[out][optional] |
value_umts_granted_qos_maximum_sdu_size |
a placeholder for the output guint32, or |
[out][optional] |
value_umts_granted_qos_sdu_error_ratio |
a placeholder for the output QmiWdsSduErrorRatio, or |
[out][optional] |
value_umts_granted_qos_residual_bit_error_ratio |
a placeholder for the output QmiWdsSduResidualBitErrorRatio, or |
[out][optional] |
value_umts_granted_qos_delivery_erroneous_sdu |
a placeholder for the output QmiWdsSduErroneousDelivery, or |
[out][optional] |
value_umts_granted_qos_transfer_delay |
a placeholder for the output guint32, or |
[out][optional] |
value_umts_granted_qos_traffic_handling_priority |
a placeholder for the output guint32, or |
[out][optional] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_wds_get_current_settings_output_get_gprs_granted_qos (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *value_gprs_granted_qos_precedence_class
,guint32 *value_gprs_granted_qos_delay_class
,guint32 *value_gprs_granted_qos_reliability_class
,guint32 *value_gprs_granted_qos_peak_throughput_class
,guint32 *value_gprs_granted_qos_mean_throughput_class
,GError **error
);
Get the 'GPRS Granted QoS' field from self
.
self |
||
value_gprs_granted_qos_precedence_class |
a placeholder for the output guint32, or |
[out][optional] |
value_gprs_granted_qos_delay_class |
a placeholder for the output guint32, or |
[out][optional] |
value_gprs_granted_qos_reliability_class |
a placeholder for the output guint32, or |
[out][optional] |
value_gprs_granted_qos_peak_throughput_class |
a placeholder for the output guint32, or |
[out][optional] |
value_gprs_granted_qos_mean_throughput_class |
a placeholder for the output guint32, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_username (QmiMessageWdsGetCurrentSettingsOutput *self
,const gchar **value_username
,GError **error
);
Get the 'Username' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_authentication (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsAuthentication *value_authentication
,GError **error
);
Get the 'Authentication' field from self
.
self |
||
value_authentication |
a placeholder for the output QmiWdsAuthentication, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ipv4_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *value_ipv4_address
,GError **error
);
Get the 'IPv4 Address' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_profile_id (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsProfileType *value_profile_id_profile_type
,guint8 *value_profile_id_profile_index
,GError **error
);
Get the 'Profile ID' field from self
.
self |
||
value_profile_id_profile_type |
a placeholder for the output QmiWdsProfileType, or |
[out][optional] |
value_profile_id_profile_index |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ipv4_gateway_address (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *value_ipv4_gateway_address
,GError **error
);
Get the 'IPv4 Gateway Address' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ipv4_gateway_subnet_mask (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *value_ipv4_gateway_subnet_mask
,GError **error
);
Get the 'IPv4 Gateway Subnet Mask' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_pcscf_address_using_pco (QmiMessageWdsGetCurrentSettingsOutput *self
,guint8 *value_pcscf_address_using_pco
,GError **error
);
Get the 'PCSCF Address Using PCO' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_pcscf_server_address_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **value_pcscf_server_address_list
,GError **error
);
Get the 'PCSCF Server Address List' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_pcscf_domain_name_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **value_pcscf_domain_name_list
,GError **error
);
Get the 'PCSCF Domain Name List' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ipv6_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **value_ipv6_address_address
,guint8 *value_ipv6_address_prefix_length
,GError **error
);
Get the 'IPv6 Address' field from self
.
self |
||
value_ipv6_address_address |
a placeholder for the output GArray of guint16 elements, or |
[out][optional][element-type guint16][transfer none] |
value_ipv6_address_prefix_length |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ipv6_gateway_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **value_ipv6_gateway_address_address
,guint8 *value_ipv6_gateway_address_prefix_length
,GError **error
);
Get the 'IPv6 Gateway Address' field from self
.
self |
||
value_ipv6_gateway_address_address |
a placeholder for the output GArray of guint16 elements, or |
[out][optional][element-type guint16][transfer none] |
value_ipv6_gateway_address_prefix_length |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ipv6_primary_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **value_ipv6_primary_dns_address
,GError **error
);
Get the 'IPv6 Primary DNS Address' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ipv6_secondary_dns_address (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **value_ipv6_secondary_dns_address
,GError **error
);
Get the 'IPv6 Secondary DNS Address' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_mtu (QmiMessageWdsGetCurrentSettingsOutput *self
,guint32 *value_mtu
,GError **error
);
Get the 'MTU' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_domain_name_list (QmiMessageWdsGetCurrentSettingsOutput *self
,GArray **value_domain_name_list
,GError **error
);
Get the 'Domain Name List' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_ip_family (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsIpFamily *value_ip_family
,GError **error
);
Get the 'IP Family' field from self
.
self |
||
value_ip_family |
a placeholder for the output QmiWdsIpFamily, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_imcn_flag (QmiMessageWdsGetCurrentSettingsOutput *self
,gint8 *value_imcn_flag
,GError **error
);
Get the 'IMCN Flag' field from self
.
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_extended_technology_preference (QmiMessageWdsGetCurrentSettingsOutput *self
,QmiWdsExtendedTechnologyPreference *value_extended_technology_preference
,GError **error
);
Get the 'Extended Technology Preference' field from self
.
self |
||
value_extended_technology_preference |
a placeholder for the output QmiWdsExtendedTechnologyPreference, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wds_get_current_settings_output_get_operator_reserved_pco (QmiMessageWdsGetCurrentSettingsOutput *self
,guint16 *value_operator_reserved_pco_mcc
,guint16 *value_operator_reserved_pco_mnc
,gboolean *value_operator_reserved_pco_mnc_includes_pcs_digit
,GArray **value_operator_reserved_pco_app_specific_info
,guint16 *value_operator_reserved_pco_container_id
,GError **error
);
Get the 'Operator Reserved PCO' field from self
.
self |
||
value_operator_reserved_pco_mcc |
a placeholder for the output guint16, or |
[out][optional] |
value_operator_reserved_pco_mnc |
a placeholder for the output guint16, or |
[out][optional] |
value_operator_reserved_pco_mnc_includes_pcs_digit |
a placeholder for the output gboolean, or |
[out][optional] |
value_operator_reserved_pco_app_specific_info |
a placeholder for the output GArray of guint8 elements, or |
[out][optional][element-type guint8][transfer none] |
value_operator_reserved_pco_container_id |
a placeholder for the output guint16, or |
[out][optional] |
error |
Return location for error or |
Since: 1.32
QmiMessageWdsGetCurrentSettingsOutput * qmi_message_wds_get_current_settings_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageWdsGetCurrentSettingsOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageWdsGetCurrentSettingsOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_get_current_settings_output_unref()
.
Since: 1.34
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.
self |
a QmiClientWds. |
|
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.0
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()
.
self |
a QmiClientWds. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdsGetCurrentSettingsOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_get_current_settings_output_unref()
.
Since: 1.0
typedef struct _QmiMessageWdsGetCurrentSettingsInput QmiMessageWdsGetCurrentSettingsInput;
The QmiMessageWdsGetCurrentSettingsInput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct _QmiMessageWdsGetCurrentSettingsOutput QmiMessageWdsGetCurrentSettingsOutput;
The QmiMessageWdsGetCurrentSettingsOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0