Method

FwupdPluginDeviceget_pid

since: 2.0.0

Declaration [src]

guint16
fu_device_get_pid (
  FuDevice* self
)

Description [src]

Gets the device product code.

Available since: 2.0.0

Gets propertyFwupdPlugin.Device:pid

Return value

Type: guint16

A product code, or 0 if unset or invalid.