Method

AravisInterfaceget_device_protocol

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 unsigned int
 

Device index.

Return value

Returns: const char*
 

The device protocol as a string, NULL on error.

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