Method

FwupdPluginI2cDeviceread_full

Declaration [src]

gboolean
fu_i2c_device_read_full (
  FuI2cDevice* self,
  guint8* buf,
  gsize bufsz,
  GError** error
)

Description [src]

Read multiple bytes from the I²C device.

Available since:1.6.2

Parameters

buf guint8*
 

Data.

 The argument will be set by the function.
bufsz gsize
 

Size of data.

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

Return value

Returns: gboolean
 

TRUE for success.