FwupdPlugin.Device.setup

### Method

# FwupdPlugin Devicesetup

since: 1.1.2

#### Declaration [src]

    gboolean
    fu_device_setup (
      FuDevice* self
      GError** error
    )

#### Description [src]

Sets up a device, setting parameters on the object that requires the device to be open and have the interface claimed. If the device is not compatible then an error should be returned.

Available since: 1.1.2

#### Return value

Type: `gboolean`

`TRUE` for success.