Method

AravisInterfaceget_device_protocol

since: 0.6.0

Declaration [src]

const char*
arv_interface_get_device_protocol (
  ArvInterface* iface,
  unsigned int index
)

Description [src]

Queries the device protocol. Possible values are ‘USB3Vision’, ‘GigEVision’ and ‘Fake’.

Prior to this call the arv_interface_update_device_list() function must be called.

Available since: 0.6.0

Parameters

index

Type: unsigned int

Device index.

Return value

Type: const char*

The device protocol as a string, NULL on error.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.