From 8ed03021cc1fc2b24bfdaaabbf05c6bdf732b610 Mon Sep 17 00:00:00 2001 From: Matevz Morato Date: Tue, 5 Mar 2024 12:42:08 +0100 Subject: [PATCH] Increase the watchdog heartbeat for PoE case --- include/depthai-shared/xlink/XLinkConstants.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/depthai-shared/xlink/XLinkConstants.hpp b/include/depthai-shared/xlink/XLinkConstants.hpp index 027e28eb..81553a43 100644 --- a/include/depthai-shared/xlink/XLinkConstants.hpp +++ b/include/depthai-shared/xlink/XLinkConstants.hpp @@ -18,7 +18,7 @@ constexpr static std::uint32_t XLINK_USB_BUFFER_MAX_SIZE = 5 * 1024 * 1024; // Watchdog timeout constexpr static const std::chrono::milliseconds XLINK_USB_WATCHDOG_TIMEOUT{1500}; -constexpr static const std::chrono::milliseconds XLINK_TCP_WATCHDOG_TIMEOUT{4000}; +constexpr static const std::chrono::milliseconds XLINK_TCP_WATCHDOG_TIMEOUT{7000}; // Maximum metadata size constexpr static const int XLINK_MESSAGE_METADATA_MAX_SIZE = 50 * 1024;