Method

FwupdPluginI2cDevicewrite_full

Declaration [src]

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

Description [src]

Write multiple bytes to the I²C device.

Available since:1.6.2

Parameters

buf const guint8*
 

Data.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
bufsz gsize
 

Size of data.

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

Return value

Returns: gboolean
 

TRUE for success.