depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <chrono>
4 #include <cstdint>
5 
6 namespace dai {
7 namespace device {
8 
9 // channel names
10 constexpr static const char* XLINK_CHANNEL_PIPELINE_CONFIG = "__pipeline_config";
11 constexpr static const char* XLINK_CHANNEL_MAIN_RPC = "__rpc_main";
12 constexpr static const char* XLINK_CHANNEL_TIMESYNC = "__timesync";
13 constexpr static const char* XLINK_CHANNEL_LOG = "__log";
14 constexpr static const char* XLINK_CHANNEL_WATCHDOG = "__watchdog";
15 
16 // usb buffer maximum size
17 constexpr static std::uint32_t XLINK_USB_BUFFER_MAX_SIZE = 5 * 1024 * 1024;
18 
19 // Watchdog timeout
20 constexpr static const std::chrono::milliseconds XLINK_USB_WATCHDOG_TIMEOUT{1500};
21 constexpr static const std::chrono::milliseconds XLINK_TCP_WATCHDOG_TIMEOUT{4000};
22 
23 // Maximum metadata size
24 constexpr static const int XLINK_MESSAGE_METADATA_MAX_SIZE = 50 * 1024;
25 
26 } // namespace device
27 } // namespace dai
dai::device::XLINK_CHANNEL_PIPELINE_CONFIG
constexpr static const char * XLINK_CHANNEL_PIPELINE_CONFIG
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:10
dai::device::XLINK_USB_BUFFER_MAX_SIZE
constexpr static std::uint32_t XLINK_USB_BUFFER_MAX_SIZE
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:17
dai::device::XLINK_CHANNEL_WATCHDOG
constexpr static const char * XLINK_CHANNEL_WATCHDOG
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:14
dai::device::XLINK_CHANNEL_TIMESYNC
constexpr static const char * XLINK_CHANNEL_TIMESYNC
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:12
dai::device::XLINK_USB_WATCHDOG_TIMEOUT
constexpr static const std::chrono::milliseconds XLINK_USB_WATCHDOG_TIMEOUT
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:20
dai::device::XLINK_TCP_WATCHDOG_TIMEOUT
constexpr static const std::chrono::milliseconds XLINK_TCP_WATCHDOG_TIMEOUT
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:21
dai::device::XLINK_CHANNEL_MAIN_RPC
constexpr static const char * XLINK_CHANNEL_MAIN_RPC
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:11
dai::device::XLINK_CHANNEL_LOG
constexpr static const char * XLINK_CHANNEL_LOG
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:13
dai::device::XLINK_MESSAGE_METADATA_MAX_SIZE
constexpr static const int XLINK_MESSAGE_METADATA_MAX_SIZE
Definition: depthai-shared/include/depthai-shared/xlink/XLinkConstants.hpp:24
dai
Definition: CameraExposureOffset.hpp:6


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19