Method

QmiClientWdsstart_network

since: 1.0

Declaration [src]

void
qmi_client_wds_start_network (
  QmiClientWds* self,
  QmiMessageWdsStartNetworkInput* input,
  guint timeout,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously sends a Start Network request to the device.

This message is abortable. If cancellable is cancelled or if timeout expires, an abort request will be sent to the device, and the asynchronous operation will not return until the abort response is received. It is not an error if a successful response is returned for the asynchronous operation even after the user has cancelled the cancellable, because it may happen that the response is received before the modem had a chance to run the abort.

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.

Available since: 1.0

This method completes asynchronously. Use qmi_client_wds_start_network_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

input

Type: QmiMessageWdsStartNetworkInput

A QmiMessageWdsStartNetworkInput.

The data is owned by the caller of the method.
timeout

Type: guint

Maximum time to wait for the method to complete, in seconds.

cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

The argument can be NULL.
user_data

Type: gpointer

User data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.