| Top |
FuFirmware *
fu_dfu_firmware_new (void);
Creates a new FuFirmware of sub type Dfu
Since: 1.3.3
guint16
fu_dfu_firmware_get_vid (FuDfuFirmware *self);
Gets the vendor ID, or 0xffff for no restriction.
Since: 1.3.3
guint16
fu_dfu_firmware_get_pid (FuDfuFirmware *self);
Gets the product ID, or 0xffff for no restriction.
Since: 1.3.3
guint16
fu_dfu_firmware_get_release (FuDfuFirmware *self);
Gets the device ID, or 0xffff for no restriction.
Since: 1.3.3
guint16
fu_dfu_firmware_get_version (FuDfuFirmware *self);
Gets the file format version with is 0x0100 by default.
Since: 1.3.3
void fu_dfu_firmware_set_vid (FuDfuFirmware *self,guint16 vid);
Sets the vendor ID.
Since: 1.3.3
void fu_dfu_firmware_set_pid (FuDfuFirmware *self,guint16 pid);
Sets the product ID.
Since: 1.3.3
void fu_dfu_firmware_set_release (FuDfuFirmware *self,guint16 release);
Sets the release for the dfu firmware.
Since: 1.3.3
void fu_dfu_firmware_set_version (FuDfuFirmware *self,guint16 version);
Sets the file format version.
Since: 1.3.3