Top |
WDS Swi Create Profile Indexed responseWDS Swi Create Profile Indexed response — Methods to manage the WDS Swi Create Profile Indexed response. |
GBoxed ├── QmiMessageWdsSwiCreateProfileIndexedInput ╰── QmiMessageWdsSwiCreateProfileIndexedOutput
Collection of methods to create requests and parse responses of the WDS Swi Create Profile Indexed message.
QmiMessageWdsSwiCreateProfileIndexedInput *
qmi_message_wds_swi_create_profile_indexed_input_new
(void
);
Allocates a new QmiMessageWdsSwiCreateProfileIndexedInput.
the newly created QmiMessageWdsSwiCreateProfileIndexedInput. The returned value should be freed with qmi_message_wds_swi_create_profile_indexed_input_unref()
.
Since: 1.22
QmiMessageWdsSwiCreateProfileIndexedInput *
qmi_message_wds_swi_create_profile_indexed_input_ref
(QmiMessageWdsSwiCreateProfileIndexedInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_wds_swi_create_profile_indexed_input_unref
(QmiMessageWdsSwiCreateProfileIndexedInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_roaming_disallowed_flag (QmiMessageWdsSwiCreateProfileIndexedInput *self
,gboolean *value_roaming_disallowed_flag
,GError **error
);
Get the 'Roaming Disallowed Flag' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_roaming_disallowed_flag (QmiMessageWdsSwiCreateProfileIndexedInput *self
,gboolean value_roaming_disallowed_flag
,GError **error
);
Set the 'Roaming Disallowed Flag' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_apn_disabled_flag (QmiMessageWdsSwiCreateProfileIndexedInput *self
,gboolean *value_apn_disabled_flag
,GError **error
);
Get the 'APN Disabled Flag' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_apn_disabled_flag (QmiMessageWdsSwiCreateProfileIndexedInput *self
,gboolean value_apn_disabled_flag
,GError **error
);
Set the 'APN Disabled Flag' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_pdp_context_number (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint8 *value_pdp_context_number
,GError **error
);
Get the 'PDP Context Number' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_pdp_context_number (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint8 value_pdp_context_number
,GError **error
);
Set the 'PDP Context Number' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_ipv4_address_preference (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint32 *value_ipv4_address_preference
,GError **error
);
Get the 'IPv4 Address Preference' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_ipv4_address_preference (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint32 value_ipv4_address_preference
,GError **error
);
Set the 'IPv4 Address Preference' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_authentication (QmiMessageWdsSwiCreateProfileIndexedInput *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.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_authentication (QmiMessageWdsSwiCreateProfileIndexedInput *self
,QmiWdsAuthentication value_authentication
,GError **error
);
Set the 'Authentication' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_password (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar **value_password
,GError **error
);
Get the 'Password' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_password (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar *value_password
,GError **error
);
Set the 'Password' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_username (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar **value_username
,GError **error
);
Get the 'Username' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_username (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar *value_username
,GError **error
);
Set the 'Username' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_secondary_ipv4_dns_address (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint32 *value_secondary_ipv4_dns_address
,GError **error
);
Get the 'Secondary IPv4 DNS Address' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_secondary_ipv4_dns_address (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint32 value_secondary_ipv4_dns_address
,GError **error
);
Set the 'Secondary IPv4 DNS Address' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_primary_ipv4_dns_address (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint32 *value_primary_ipv4_dns_address
,GError **error
);
Get the 'Primary IPv4 DNS Address' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_primary_ipv4_dns_address (QmiMessageWdsSwiCreateProfileIndexedInput *self
,guint32 value_primary_ipv4_dns_address
,GError **error
);
Set the 'Primary IPv4 DNS Address' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_apn_name (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar **value_apn_name
,GError **error
);
Get the 'APN Name' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_apn_name (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar *value_apn_name
,GError **error
);
Set the 'APN Name' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_pdp_type (QmiMessageWdsSwiCreateProfileIndexedInput *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.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_pdp_type (QmiMessageWdsSwiCreateProfileIndexedInput *self
,QmiWdsPdpType value_pdp_type
,GError **error
);
Set the 'PDP Type' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_profile_name (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar **value_profile_name
,GError **error
);
Get the 'Profile Name' field from self
.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_profile_name (QmiMessageWdsSwiCreateProfileIndexedInput *self
,const gchar *value_profile_name
,GError **error
);
Set the 'Profile Name' field in the message.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_get_profile_identifier (QmiMessageWdsSwiCreateProfileIndexedInput *self
,QmiWdsProfileType *value_profile_identifier_profile_type
,guint8 *value_profile_identifier_profile_index
,GError **error
);
Get the 'Profile Identifier' field from self
.
self |
||
value_profile_identifier_profile_type |
a placeholder for the output QmiWdsProfileType, or |
[out][optional] |
value_profile_identifier_profile_index |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_input_set_profile_identifier (QmiMessageWdsSwiCreateProfileIndexedInput *self
,QmiWdsProfileType value_profile_identifier_profile_type
,guint8 value_profile_identifier_profile_index
,GError **error
);
Set the 'Profile Identifier' field in the message.
Since: 1.22
QmiMessageWdsSwiCreateProfileIndexedOutput *
qmi_message_wds_swi_create_profile_indexed_output_ref
(QmiMessageWdsSwiCreateProfileIndexedOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_wds_swi_create_profile_indexed_output_unref
(QmiMessageWdsSwiCreateProfileIndexedOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_output_get_result (QmiMessageWdsSwiCreateProfileIndexedOutput *self
,GError **error
);
Get the result of the QMI operation.
self |
a QmiMessageWdsSwiCreateProfileIndexedOutput. |
|
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_wds_swi_create_profile_indexed_output_get_profile_identifier (QmiMessageWdsSwiCreateProfileIndexedOutput *self
,QmiWdsProfileType *value_profile_identifier_profile_type
,guint8 *value_profile_identifier_profile_index
,GError **error
);
Get the 'Profile Identifier' field from self
.
self |
||
value_profile_identifier_profile_type |
a placeholder for the output QmiWdsProfileType, or |
[out][optional] |
value_profile_identifier_profile_index |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.22
QmiMessageWdsSwiCreateProfileIndexedOutput * qmi_message_wds_swi_create_profile_indexed_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageWdsSwiCreateProfileIndexedOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageWdsSwiCreateProfileIndexedOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_swi_create_profile_indexed_output_unref()
.
Since: 1.34
void qmi_client_wds_swi_create_profile_indexed (QmiClientWds *self
,QmiMessageWdsSwiCreateProfileIndexedInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Swi Create Profile Indexed 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_swi_create_profile_indexed_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.22
QmiMessageWdsSwiCreateProfileIndexedOutput * qmi_client_wds_swi_create_profile_indexed_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_swi_create_profile_indexed()
.
self |
a QmiClientWds. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdsSwiCreateProfileIndexedOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_swi_create_profile_indexed_output_unref()
.
Since: 1.22
typedef struct _QmiMessageWdsSwiCreateProfileIndexedInput QmiMessageWdsSwiCreateProfileIndexedInput;
The QmiMessageWdsSwiCreateProfileIndexedInput structure contains private data and should only be accessed using the provided API.
Since: 1.22
typedef struct _QmiMessageWdsSwiCreateProfileIndexedOutput QmiMessageWdsSwiCreateProfileIndexedOutput;
The QmiMessageWdsSwiCreateProfileIndexedOutput structure contains private data and should only be accessed using the provided API.
Since: 1.22