mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-25 18:44:54 +00:00
![]() It's actually quite hard to build a front-end for fwupd at the moment as you're never sure when the progress bar is going to zip back to 0% and start all over again. Some plugins go 0..100% for write, others go 0..100% for erase, then again for write, then *again* for verify. By creating a helper object we can easily split up the progress of the specific task, e.g. write_firmware(). We can encode at the plugin level "the erase takes 50% of the time, the write takes 40% and the read takes 10%". This means we can have a progressbar which goes up just once at a consistent speed. |
||
---|---|---|
.. | ||
fu-plugin-invalid.c | ||
fu-plugin-test-ble.c | ||
fu-plugin-test.c | ||
fu-test-ble-device.c | ||
fu-test-ble-device.h | ||
meson.build | ||
README.md | ||
test-ble.quirk |
Test
Introduction
This plugin is used when running the self tests in the fwupd project.
GUID Generation
The devices created by this plugin use hardcoded GUIDs that do not correspond to any kind of DeviceInstanceId values.
In other cases devices use the standard BLE DeviceInstanceId values, e.g.
USB\VID_2DC8&PID_AB11
Vendor ID Security
The fake device is only for local testing and thus requires no vendor ID set.
External Interface Access
This plugin requires no extra access.