Function rs2_loopback_is_enabled

Function Documentation

int rs2_loopback_is_enabled(const rs2_device *device, rs2_error **error)

Checks if the device is in loopback mode or not

Parameters:
  • device[in] Device to check for operation mode

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

true if the device is in loopback operation mode