Skip to content

Commit

Permalink
Rename connectivity enum
Browse files Browse the repository at this point in the history
  • Loading branch information
asahtik committed Nov 24, 2023
1 parent 98360b5 commit fad0a31
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmake/Depthai/DepthaiDeviceSideConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")

# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "793b15e062bd44cba8ec9729bec3c51bfa9b8943")
set(DEPTHAI_DEVICE_SIDE_COMMIT "498ef58688d388b1ff7fe12a7cdec2d04c335098")

# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
6 changes: 3 additions & 3 deletions include/depthai/device/DeviceBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

// shared
#include "depthai-shared/common/ChipTemperature.hpp"
#include "depthai-shared/common/Connectivity.hpp"
#include "depthai-shared/common/ConnectionInterface.hpp"
#include "depthai-shared/common/CpuUsage.hpp"
#include "depthai-shared/common/MemoryInfo.hpp"
#include "depthai-shared/datatype/RawIMUData.hpp"
Expand Down Expand Up @@ -596,11 +596,11 @@ class DeviceBase {
std::vector<CameraBoardSocket> getConnectedCameras();

/**
* Get connectivity for device
* Get connection interfaces for device
*
* @returns Vector of connection type
*/
std::vector<Connectivity> getConnectionInterfaces();
std::vector<ConnectionInterface> getConnectionInterfaces();

/**
* Get cameras that are connected to the device with their features/properties
Expand Down
4 changes: 2 additions & 2 deletions src/device/DeviceBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -961,8 +961,8 @@ std::vector<CameraBoardSocket> DeviceBase::getConnectedCameras() {
return pimpl->rpcClient->call("getConnectedCameras").as<std::vector<CameraBoardSocket>>();
}

std::vector<Connectivity> DeviceBase::getConnectionInterfaces() {
return pimpl->rpcClient->call("getConnectivity").as<std::vector<Connectivity>>();
std::vector<ConnectionInterface> DeviceBase::getConnectionInterfaces() {
return pimpl->rpcClient->call("getConnectionInterfaces").as<std::vector<ConnectionInterface>>();
}

std::vector<CameraFeatures> DeviceBase::getConnectedCameraFeatures() {
Expand Down

0 comments on commit fad0a31

Please sign in to comment.