livoxGen1: Reduce handshakeTimeoutMs default to 5ms

We have no real reason to set it as high as 300.
This commit is contained in:
2025-10-31 08:50:26 -04:00
parent 88dd872c95
commit babfda4d0f
+1 -1
View File
@@ -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.