Method

HinawaSndEfwtransaction_async

deprecated: 2.5. since: 2.1.

Declaration [src]

void
hinawa_snd_efw_transaction_async (
  HinawaSndEfw* self,
  guint category,
  guint command,
  const guint32* args,
  gsize arg_count,
  guint32* resp_seqnum,
  GError** error
)

Description [src]

Transfer asynchronous transaction for command frame of Echo Fireworks protocol. When receiving asynchronous transaction for response frame, HinawaSndEfw::responded GObject signal is emitted.

Available since: 2.1.

Deprecated since: 2.5.

Use implementation of Hitaki.EfwProtocol.transmit_request in Hitaki.SndEfw instead.

Parameters

category

Type: guint

One of category for the transaction.

command

Type: guint

One of commands for the transaction.

args

Type: An array of guint32

An array with elements for quadlet data as arguments for command.

The argument can be NULL.
The length of the array is specified in the arg_count argument.
The data is owned by the caller of the function.
arg_count

Type: gsize

The number of quadlets in the args array.

resp_seqnum

Type: guint32*

The sequence number for response transaction;

The argument will be set by the function.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.