update OrbbecSDK version to 2.8.3

This commit is contained in:
ob-yalian
2026-04-15 09:37:52 +08:00
parent fa7e7086c9
commit 39adc43865
11 changed files with 51 additions and 14 deletions
@@ -738,6 +738,20 @@ OB_EXPORT const char *ob_device_list_get_device_local_net_if_name(const ob_devic
*/
OB_EXPORT ob_ip_source_type ob_device_list_get_device_ip_source_type(const ob_device_list *list, uint32_t index, ob_error **error);
/**
* @brief Get the user-defined name of the device at the specified index.
*
* @attention This function is valid primarily for Ethernet Vision devices.
* For non-Ethernet devices (e.g., USB), it will return "unknown".
*
* @param[in] list The device list object.
* @param[in] index The index of the device in the list.
* @param[out] error Pointer to an error object that will be set if an error occurs.
*
* @return const char* The user-defined name string. Returns "unknown" for non-Ethernet devices or if not set.
*/
OB_EXPORT const char *ob_device_list_get_device_user_name(const ob_device_list *list, uint32_t index, ob_error **error);
/**
* @brief Create a device.
*
@@ -866,9 +866,9 @@ typedef enum {
OB_PROP_DEPTH_RM_FILTER_BOOL = 2029,
/**
* @brief Color camera maximal gain
* @brief Color AE max gain
*/
OB_PROP_COLOR_MAXIMAL_GAIN_INT = 2030,
OB_PROP_COLOR_AE_MAX_GAIN_INT = 2030,
/**
* @brief Color camera shutter gain
@@ -981,6 +981,13 @@ typedef enum {
*/
OB_PROP_COLOR_DENOISING_LEVEL_INT = 5525,
/**
* @brief Indicates whether the device will go offline after applying IP configuration.
* This property does not represent an actual command; it is a capability flag only,
* used to identify whether the current device has the behavior of going offline after IP config is applied.
*/
OB_PROP_DEVICE_OFFLINE_AFTER_IP_CONFIG_APPLY = 5555,
/*
* @brief LiDAR: set/get IP address
*/
@@ -1394,6 +1394,22 @@ public:
return ipSrcType;
}
/**
* @brief Get the user-defined name of the device at the specified index.
*
* @attention Only valid for Ethernet devices, otherwise returns "unknown".
*
* @param[in] index The index of the device.
*
* @return const char* The user-defined name string.
*/
const char *getUserName(uint32_t index) const {
ob_error *error = nullptr;
auto userName = ob_device_list_get_device_user_name(impl_, index, &error);
Error::handle(&error);
return userName;
}
/**
* @brief Get the device object at the specified index
*
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "ob::OrbbecSDK" for configuration "Release"
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(ob::OrbbecSDK PROPERTIES
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.2"
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.3"
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
)
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.2" )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.3" )
# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
@@ -9,19 +9,19 @@
# The variable CVF_VERSION must be set before calling configure_file().
set(PACKAGE_VERSION "2.8.2")
set(PACKAGE_VERSION "2.8.3")
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
if("2.8.2" MATCHES "^([0-9]+)\\.")
if("2.8.3" MATCHES "^([0-9]+)\\.")
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
endif()
else()
set(CVF_VERSION_MAJOR "2.8.2")
set(CVF_VERSION_MAJOR "2.8.3")
endif()
if(PACKAGE_FIND_VERSION_RANGE)
@@ -1 +1 @@
libOrbbecSDK.so.2.8.2
libOrbbecSDK.so.2.8.3
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "ob::OrbbecSDK" for configuration "Release"
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(ob::OrbbecSDK PROPERTIES
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.2"
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.3"
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
)
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.2" )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.3" )
# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
@@ -9,19 +9,19 @@
# The variable CVF_VERSION must be set before calling configure_file().
set(PACKAGE_VERSION "2.8.2")
set(PACKAGE_VERSION "2.8.3")
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
if("2.8.2" MATCHES "^([0-9]+)\\.")
if("2.8.3" MATCHES "^([0-9]+)\\.")
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
endif()
else()
set(CVF_VERSION_MAJOR "2.8.2")
set(CVF_VERSION_MAJOR "2.8.3")
endif()
if(PACKAGE_FIND_VERSION_RANGE)
+1 -1
View File
@@ -1 +1 @@
libOrbbecSDK.so.2.8.2
libOrbbecSDK.so.2.8.3