livoxGen1: Reduce handshakeTimeoutMs default to 5ms
We have no real reason to set it as high as 300.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user