Method

FwupdPluginMeiDevicewrite

Declaration [src]

gboolean
fu_mei_device_write (
  FuMeiDevice* self,
  const guint8* buf,
  gsize bufsz,
  guint timeout_ms,
  GError** error
)

Description [src]

Write raw bytes to the device.

Available since:1.8.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.

timeout_ms guint
 

Timeout.

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

Return value

Returns: gboolean
 

TRUE for success.