From 46fe0d1367f07386247b6330d5e0195f714321d0 Mon Sep 17 00:00:00 2001 From: Remi Bettan Date: Tue, 17 Dec 2024 15:15:06 +0200 Subject: [PATCH] API name added for connection type --- include/librealsense2/h/rs_sensor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/librealsense2/h/rs_sensor.h b/include/librealsense2/h/rs_sensor.h index e766eadb9a..0f65f032af 100644 --- a/include/librealsense2/h/rs_sensor.h +++ b/include/librealsense2/h/rs_sensor.h @@ -30,6 +30,7 @@ typedef enum rs2_camera_info { RS2_CAMERA_INFO_PRODUCT_ID , /**< Product ID as reported in the USB descriptor */ RS2_CAMERA_INFO_CAMERA_LOCKED , /**< True iff EEPROM is locked */ RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR , /**< Designated USB specification: USB2/USB3 */ + RS2_CAMERA_INFO_CONNECTION_TYPE = RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR, /**< Other name for the USB connection type, adapted for non-usb connections */ RS2_CAMERA_INFO_PRODUCT_LINE , /**< Device product line D400, etc. */ RS2_CAMERA_INFO_ASIC_SERIAL_NUMBER , /**< ASIC serial number */ RS2_CAMERA_INFO_FIRMWARE_UPDATE_ID , /**< Firmware update ID */