API Version: 2.0
Library Version: 1.9.5
#define FWUPD_DEVICE_FLAG_SELF_RECOVERY 268435456
In flashing mode, the device will only accept intended payloads and will revert back to a valid firmware image if an invalid or incomplete payload was sent.