Method

FwupdPluginDeviceget_backend_id

Declaration [src]

const gchar*
fu_device_get_backend_id (
  FuDevice* self
)

Description [src]

Gets the ID set for the device as recognized by the backend. This is typically a Linux sysfs path or USB platform ID. If unset, it also falls back to the physical ID as this may be the same value.

Available since:1.5.8

Return value

Returns: utf8
 

A string value, or NULL if never set.

 The data is owned by the instance.
 The string is a NUL terminated UTF-8 string.