FwupdPlugin.Backend.lookup_by_id

### Method

# FwupdPlugin Backendlookup_by_id

#### Declaration [src]

    FuDevice*
    fu_backend_lookup_by_id (
      FuBackend* self,
      const gchar* device_id
    )

#### Description [src]

Gets a device previously added by the backend.

Available since: | 1.6.1

#### Parameters

`device_id` | `const gchar*`
| A DeviceID.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.

#### Return value

Returns: | `FuDevice`
| Device, or `NULL` if not found.
| The data is owned by the instance.