mirror of
https://git.proxmox.com/git/fwupd
synced 2026-02-01 19:01:29 +00:00
Based on a patch by Twain Byrnes <binarynewts@google.com>, many thanks. Use this to test: sudo FWUPD_TEST_PLUGIN_XML="<config><delay_decompress_ms>100</delay_decompress_ms></config>" \ ./src/fwupdtool --plugins test get-devices -v |
||
|---|---|---|
| .. | ||
| 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.