Top | ![]() |
![]() |
![]() |
![]() |
FuFirmware * | fu_dfu_firmware_new () |
guint16 | fu_dfu_firmware_get_vid () |
guint16 | fu_dfu_firmware_get_pid () |
guint16 | fu_dfu_firmware_get_release () |
guint16 | fu_dfu_firmware_get_version () |
void | fu_dfu_firmware_set_vid () |
void | fu_dfu_firmware_set_pid () |
void | fu_dfu_firmware_set_release () |
void | fu_dfu_firmware_set_version () |
#define | FU_TYPE_DFU_FIRMWARE |
struct | FuDfuFirmwareClass |
#define | FU_DFU_FIRMARE_VERSION_UNKNOWN |
#define | FU_DFU_FIRMARE_VERSION_DFU_1_0 |
#define | FU_DFU_FIRMARE_VERSION_DFU_1_1 |
#define | FU_DFU_FIRMARE_VERSION_DFUSE |
#define | FU_DFU_FIRMARE_VERSION_ATMEL_AVR |
FuDfuFirmware |
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
#define FU_DFU_FIRMARE_VERSION_UNKNOWN (0u)
Unknown version of the DFU standard in BCD format.
Since: 1.6.1
#define FU_DFU_FIRMARE_VERSION_DFU_1_0 (0x0100)
The 1.0 version of the DFU standard in BCD format.
Since: 1.6.1
#define FU_DFU_FIRMARE_VERSION_DFU_1_1 (0x0110)
The 1.1 version of the DFU standard in BCD format.
Since: 1.6.1
#define FU_DFU_FIRMARE_VERSION_DFUSE (0x011a)
The DfuSe version of the DFU standard in BCD format, defined by ST.
Since: 1.6.1
#define FU_DFU_FIRMARE_VERSION_ATMEL_AVR (0xff01)
The Atmel AVR version of the DFU standard in BCD format.
Since: 1.6.1