Method
HinawaFwFcptransaction
deprecated: 2.1 since: 1.4.
Declaration [src]
void
hinawa_fw_fcp_transaction (
HinawaFwFcp* self,
const guint8* req_frame,
gsize req_frame_size,
guint8* const* resp_frame,
gsize* resp_frame_size,
GError** error
)
Description [src]
Finish the pair of command and response transactions for FCP. The value of
HinawaFwFcp:timeout
property is used to wait for response transaction since the command
transaction is initiated.
Available since: 1.4.
Deprecated since: 2.1
Use hinawa_fw_fcp_avc_transaction()
, instead.
Parameters
req_frame
-
Type: An array of
guint8
An array with elements for request byte data. The value of this argument should point to the array and immutable.
The length of the array is specified in the req_frame_size
argument.The data is owned by the caller of the function. req_frame_size
-
Type:
gsize
The size of array for request in byte unit.
resp_frame
-
Type: An array of
guint8*
An array with elements for response byte data. Callers should give it for buffer with enough space against the request since this library performs no reallocation. Due to the reason, the value of this argument should point to the pointer to the array and immutable. The content of array is mutable.
The argument will be modified by the function. The length of the array is specified in the resp_frame_size
argument.The instance takes ownership of the data, and is responsible for freeing it. resp_frame_size
-
Type:
gsize*
The size of array for response in byte unit. The value of this argument should point to the numerical number and mutable.
The argument will be modified 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 aNULL
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.