fwupd/plugins/test/fu-test-ble-device.c
Richard Hughes d86b8bc794 Show devices that are updatable and payload signing is still unknown
But, ignore devices like UEFI, NVMe and Redfish as this is specified in
the firmware metadata.
2022-03-02 15:33:42 +00:00

29 lines
640 B
C

/*
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#include "config.h"
#include "fu-test-ble-device.h"
struct _FuTestBleDevice {
FuBluezDevice parent_instance;
};
G_DEFINE_TYPE(FuTestBleDevice, fu_test_ble_device, FU_TYPE_BLUEZ_DEVICE)
static void
fu_test_ble_device_init(FuTestBleDevice *self)
{
fu_device_add_protocol(FU_DEVICE(self), "org.test.testble");
fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_UPDATABLE);
fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_UNSIGNED_PAYLOAD);
}
static void
fu_test_ble_device_class_init(FuTestBleDeviceClass *klass)
{
}