From babfda4d0fcd016e6c2b2d8f9a03cb5912f9ef72 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Fri, 31 Oct 2025 08:50:26 -0400 Subject: [PATCH] livoxGen1: Reduce handshakeTimeoutMs default to 5ms We have no real reason to set it as high as 300. --- stimBuffApis/livoxGen1/livoxGen1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stimBuffApis/livoxGen1/livoxGen1.cpp b/stimBuffApis/livoxGen1/livoxGen1.cpp index 6be0339..1e22e4b 100644 --- a/stimBuffApis/livoxGen1/livoxGen1.cpp +++ b/stimBuffApis/livoxGen1/livoxGen1.cpp @@ -529,7 +529,7 @@ extern "C" void livoxGen1_attachDeviceReq( /* The Livox Avia will generally respond to a handshake request within * 50ms. So we set the handshake timeout to 300ms to be safe. */ - int handshakeTimeoutMs = 300; // Default: 50ms + int handshakeTimeoutMs = 5; // Default: 5ms /* Based on testing on a Livox Avia, the device will generally resume * sending broadcast advertisement dgrams after about 5 seconds at most. * Generally, it will resume sending them within 1-2 seconds.