Classes | Typedefs | Functions | Variables
diag.c File Reference
#include "libuvc.h"
#include "libuvc_internal.h"
Include dependency graph for diag.c:

Go to the source code of this file.

Classes

struct  _uvc_error_msg

Typedefs

typedef struct _uvc_error_msg _uvc_error_msg_t

Functions

static const char * _uvc_name_for_format_subtype (uint8_t subtype)
void uvc_perror (uvc_error_t err, const char *msg)
 Print a message explaining an error in the UVC driver.
void uvc_print_diag (uvc_device_handle_t *devh, FILE *stream)
 Print camera capabilities and configuration.
void uvc_print_stream_ctrl (uvc_stream_ctrl_t *ctrl, FILE *stream)
 Print the values in a stream control block.
const char * uvc_strerror (uvc_error_t err)
 Return a string explaining an error in the UVC driver.

Variables

static const _uvc_error_msg_t uvc_error_msgs []

Typedef Documentation


Function Documentation

static const char* _uvc_name_for_format_subtype ( uint8_t  subtype) [static]

Definition at line 124 of file diag.c.


Variable Documentation

const _uvc_error_msg_t uvc_error_msgs[] [static]
Initial value:
 {
  {UVC_SUCCESS, "Success"},
  {UVC_ERROR_IO, "I/O error"},
  {UVC_ERROR_INVALID_PARAM, "Invalid parameter"},
  {UVC_ERROR_ACCESS, "Access denied"},
  {UVC_ERROR_NO_DEVICE, "No such device"},
  {UVC_ERROR_NOT_FOUND, "Not found"},
  {UVC_ERROR_BUSY, "Busy"},
  {UVC_ERROR_TIMEOUT, "Timeout"},
  {UVC_ERROR_OVERFLOW, "Overflow"},
  {UVC_ERROR_PIPE, "Pipe"},
  {UVC_ERROR_INTERRUPTED, "Interrupted"},
  {UVC_ERROR_NO_MEM, "Out of memory"},
  {UVC_ERROR_NOT_SUPPORTED, "Not supported"},
  {UVC_ERROR_INVALID_DEVICE, "Invalid device"},
  {UVC_ERROR_INVALID_MODE, "Invalid mode"},
  {UVC_ERROR_CALLBACK_EXISTS, "Callback exists"}
}

Definition at line 48 of file diag.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40