Class

FwupdPluginUsbEndpoint

Description [src]

final class FwupdPlugin.UsbEndpoint : FwupdPlugin.Firmware
  implements Fwupd.Codec {
  /* No available fields */
}

This object is a thin glib wrapper around a libusb_endpoint_descriptor.

All the data is copied when the object is created and the original descriptor can be destroyed any at point.

Ancestors

Implements

Constructors

fu_usb_endpoint_new
No description available.

since: 2.0.0

Functions

fu_usb_endpoint_hdr_get_attributes
No description available.

fu_usb_endpoint_hdr_get_descriptor_type
No description available.

fu_usb_endpoint_hdr_get_endpoint_address
No description available.

fu_usb_endpoint_hdr_get_interval
No description available.

fu_usb_endpoint_hdr_get_length
No description available.

fu_usb_endpoint_hdr_get_max_packet_size
No description available.

fu_usb_endpoint_hdr_parse_stream
No description available.

Instance methods

fu_usb_endpoint_get_address

Gets the address of the endpoint.

since: 2.0.0

fu_usb_endpoint_get_direction

Gets the direction of the endpoint.

since: 2.0.0

fu_usb_endpoint_get_maximum_packet_size

Gets the maximum packet size this endpoint is capable of sending/receiving.

since: 2.0.0

fu_usb_endpoint_get_number

Gets the number part of endpoint address.

since: 2.0.0

fu_usb_endpoint_get_polling_interval

Gets the endpoint polling interval.

since: 2.0.0

Methods inherited from FuFirmware (67)

Please see FuFirmware for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from FwupdCodec (8)
fwupd_codec_add_string

Converts an object that implements FwupdCodec to a debug string, appending it to str.

fwupd_codec_from_json

Converts an object that implements FwupdCodec from a JSON object.

fwupd_codec_from_json_string

Converts an object that implements FwupdCodec from a JSON string.

fwupd_codec_from_variant

Converts an object that implements FwupdCodec from a GVariant value.

fwupd_codec_to_json

Converts an object that implements FwupdCodec to a JSON builder object.

fwupd_codec_to_json_string

Converts an object that implements FwupdCodec to a JSON string.

fwupd_codec_to_string

Converts an object that implements FwupdCodec to a debug string.

fwupd_codec_to_variant

Converts an object that implements FwupdCodec to a GVariant.

Properties

Properties inherited from FuFirmware (1)
FwupdPlugin.Firmware:parent

The firmware parent.

since: 1.8.2

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FwupdPluginUsbEndpointClass {
  FuUsbDescriptorClass parent_class;
  
}

No description available.

Class members
parent_class: FuUsbDescriptorClass

No description available.