Method

FwupdDeviceadd_protocol

Declaration [src]

void
fwupd_device_add_protocol (
  FwupdDevice* self,
  const gchar* protocol
)

Description [src]

Adds a device protocol.

Available since:1.5.8

Parameters

protocol const gchar*
 

The ID, e.g. ‘USB:0x1234’

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.