Method

FwupdDeviceset_protocol

Declaration [src]

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

Description [src]

Sets the protocol name that is used to update the device.

Available since:1.3.6
Deprecated since:1.5.8

Use fwupd_device_add_protocol() instead.

Sets propertyFwupd.Device:protocol

Parameters

protocol const gchar*
 

The protocol name, e.g. com.hughski.colorhug

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