Method

FwupdPluginMeiDeviceread

Declaration [src]

gboolean
fu_mei_device_read (
  FuMeiDevice* self,
  guint8* buf,
  gsize bufsz,
  gsize* bytes_read,
  guint timeout_ms,
  GError** error
)

Description [src]

Read raw bytes from the device.

Available since:1.8.2

Parameters

buf guint8*
 

Data.

 The argument will be set by the function.
bufsz gsize
 

Size of data.

bytes_read gsize*
 

Bytes read.

 The argument can be NULL.
 The data is owned by the caller of the function.
timeout_ms guint
 

Timeout.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE for success.