Method

FwupdPluginI2cDeviceread

Declaration [src]

gboolean
fu_i2c_device_read (
  FuI2cDevice* self,
  guint8* data,
  GError** error
)

Description [src]

Read a single byte from the I²C device.

Available since:1.6.1

Parameters

data guint8*
 

Value.

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

Return value

Returns: gboolean
 

TRUE for success.