Method

HitakiEfwProtocoltransmit_request

Declaration [src]

gboolean
hitaki_efw_protocol_transmit_request (
  HitakiEfwProtocol* self,
  guint category,
  guint command,
  const guint32* args,
  gsize arg_count,
  guint32* resp_seqnum,
  GError** error
)

Description [src]

Transfer asynchronous transaction for request frame of Fireworks transaction. It calls Hitaki.EfwProtocolInterface.transmit_request internally after composing request frame. It results in HitakiEfwProtocol::responded signal with response parameters when receiving response for the transaction.

Parameters

category guint
 

One of category for the transaction.

command guint
 

One of commands for the transaction.

args An array of guint32
 

An array with elements of quadlet data for arguments of 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 gsize
 

The number of quadlets in the args array.

resp_seqnum guint32*
 

The sequence number to match response.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the overall operation finished successfully, else FALSE.