Classes | Namespaces | Enumerations | Functions | Variables
hw-monitor.h File Reference
#include "sensor.h"
#include <mutex>
#include "command_transfer.h"
Include dependency graph for hw-monitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  librealsense::command
 
class  librealsense::hw_monitor
 
struct  librealsense::hw_monitor::hwmon_cmd
 
struct  librealsense::hw_monitor::hwmon_cmd_details
 
class  librealsense::locked_transfer
 

Namespaces

 librealsense
 

Enumerations

enum  librealsense::hwmon_response : int32_t {
  librealsense::hwm_Success = 0, librealsense::hwm_WrongCommand = -1, librealsense::hwm_StartNGEndAddr = -2, librealsense::hwm_AddressSpaceNotAligned = -3,
  librealsense::hwm_AddressSpaceTooSmall = -4, librealsense::hwm_ReadOnly = -5, librealsense::hwm_WrongParameter = -6, librealsense::hwm_HWNotReady = -7,
  librealsense::hwm_I2CAccessFailed = -8, librealsense::hwm_NoExpectedUserAction = -9, librealsense::hwm_IntegrityError = -10, librealsense::hwm_NullOrZeroSizeString = -11,
  librealsense::hwm_GPIOPinNumberInvalid = -12, librealsense::hwm_GPIOPinDirectionInvalid = -13, librealsense::hwm_IllegalAddress = -14, librealsense::hwm_IllegalSize = -15,
  librealsense::hwm_ParamsTableNotValid = -16, librealsense::hwm_ParamsTableIdNotValid = -17, librealsense::hwm_ParamsTableWrongExistingSize = -18, librealsense::hwm_WrongCRC = -19,
  librealsense::hwm_NotAuthorisedFlashWrite = -20, librealsense::hwm_NoDataToReturn = -21, librealsense::hwm_SpiReadFailed = -22, librealsense::hwm_SpiWriteFailed = -23,
  librealsense::hwm_SpiEraseSectorFailed = -24, librealsense::hwm_TableIsEmpty = -25, librealsense::hwm_I2cSeqDelay = -26, librealsense::hwm_CommandIsLocked = -27,
  librealsense::hwm_CalibrationWrongTableId = -28, librealsense::hwm_ValueOutOfRange = -29, librealsense::hwm_InvalidDepthFormat = -30, librealsense::hwm_DepthFlowError = -31,
  librealsense::hwm_Timeout = -32, librealsense::hwm_NotSafeCheckFailed = -33, librealsense::hwm_FlashRegionIsLocked = -34, librealsense::hwm_SummingEventTimeout = -35,
  librealsense::hwm_SDSCorrupted = -36, librealsense::hwm_SDSVerifyFailed = -37, librealsense::hwm_IllegalHwState = -38, librealsense::hwm_RealtekNotLoaded = -39,
  librealsense::hwm_WakeUpDeviceNotSupported = -40, librealsense::hwm_ResourceBusy = -41, librealsense::hwm_MaxErrorValue = -42, librealsense::hwm_PwmNotSupported = -43,
  librealsense::hwm_PwmStereoModuleNotConnected = -44, librealsense::hwm_UvcStreamInvalidStreamRequest = -45, librealsense::hwm_UvcControlManualExposureInvalid = -46, librealsense::hwm_UvcControlManualGainInvalid = -47,
  librealsense::hwm_EyesafetyPayloadFailure = -48, librealsense::hwm_ProjectorTestFailed = -49, librealsense::hwm_ThreadModifyFailed = -50, librealsense::hwm_HotLaserPwrReduce = -51,
  librealsense::hwm_HotLaserDisable = -52, librealsense::hwm_FlagBLaserDisable = -53, librealsense::hwm_NoStateChange = -54, librealsense::hwm_EEPROMIsLocked = -55,
  librealsense::hwm_OEMIdWrong = -56, librealsense::hwm_RealtekNotUpdated = -57, librealsense::hwm_FunctionNotSupported = -58, librealsense::hwm_IspNotImplemented = -59,
  librealsense::hwm_IspNotSupported = -60, librealsense::hwm_IspNotPermited = -61, librealsense::hwm_IspNotExists = -62, librealsense::hwm_IspFail = -63,
  librealsense::hwm_Unknown = -64, librealsense::hwm_LastError = hwm_Unknown - 1
}
 

Functions

std::string librealsense::hwmon_error2str (hwmon_response e)
 
std::string librealsense::hwmon_error_string (command const &cmd, hwmon_response e)
 

Variables

const uint16_t librealsense::HW_MONITOR_BUFFER_SIZE = 1024
 
const uint16_t librealsense::HW_MONITOR_COMMAND_SIZE = 1000
 
const uint16_t librealsense::HW_MONITOR_DATA_SIZE_OFFSET = 1020
 
const std::map< hwmon_response, std::stringlibrealsense::hwmon_response_report
 
const uint8_t librealsense::IV_COMMAND_CONFIDENCE_THRESHHOLD = 0x0C
 
const uint8_t librealsense::IV_COMMAND_DEPTH_ACCURACY = 0x04
 
const uint8_t librealsense::IV_COMMAND_FILTER_OPTION = 0x0A
 
const uint8_t librealsense::IV_COMMAND_FIRMWARE_UPDATE_MODE = 0x01
 
const uint8_t librealsense::IV_COMMAND_GET_CALIBRATION_DATA = 0x02
 
const uint8_t librealsense::IV_COMMAND_INTENSITY_IMAGE_TYPE = 0x07
 
const uint8_t librealsense::IV_COMMAND_LASER_POWER = 0x03
 
const uint8_t librealsense::IV_COMMAND_LOW_CONFIDENCE_LEVEL = 0x06
 
const uint8_t librealsense::IV_COMMAND_MOTION_VS_RANGE_TRADE = 0x08
 
const uint8_t librealsense::IV_COMMAND_POWER_GEAR = 0x09
 
const uint8_t librealsense::IV_COMMAND_VERSION = 0x0B
 
const uint8_t librealsense::IV_COMMAND_ZUNIT = 0x05
 
const uint8_t librealsense::IVCAM_MIN_SUPPORTED_VERSION = 13
 
const uint8_t librealsense::IVCAM_MONITOR_ENDPOINT_IN = 0x81
 
const uint8_t librealsense::IVCAM_MONITOR_ENDPOINT_OUT = 0x1
 
const uint8_t librealsense::IVCAM_MONITOR_HEADER_SIZE = (sizeof(uint32_t) * 6)
 
const uint8_t librealsense::IVCAM_MONITOR_INTERFACE = 0x4
 
const uint16_t librealsense::IVCAM_MONITOR_MAGIC_NUMBER = 0xcdab
 
const uint16_t librealsense::IVCAM_MONITOR_MAX_BUFFER_SIZE = 1024
 
const uint16_t librealsense::IVCAM_MONITOR_MUTEX_TIMEOUT = 3000
 
const uint16_t librealsense::MAX_SIZE_OF_CALIB_PARAM_BYTES = 800
 
const uint8_t librealsense::NUM_OF_CALIBRATION_COEFFS = 64
 
const uint8_t librealsense::NUM_OF_CALIBRATION_PARAMS = 100
 
const uint8_t librealsense::PARAMETERS2_BUFFER_SIZE = 50
 
const uint8_t librealsense::SIZE_OF_CALIB_HEADER_BYTES = 4
 
const uint16_t librealsense::SIZE_OF_CALIB_PARAM_BYTES = 512
 
const uint16_t librealsense::SIZE_OF_HW_MONITOR_HEADER = 4
 


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:26