livoxGen1: documentation and formatting

This commit is contained in:
2025-10-31 08:51:17 -04:00
parent babfda4d0f
commit b53ef42124
+7 -1
View File
@@ -526,6 +526,12 @@ extern "C" void livoxGen1_attachDeviceReq(
}
// Parse integer parameters from provider params with defaults
/** EXPLANATION:
* We may want to add a new param here called "command-delay-ms" to control
* the delay we insert between commands sent to the device. 5ms has been
* shown to be sufficient for the Livox Avia.
*/
/* The Livox Avia will generally respond to a handshake request within
* 50ms. So we set the handshake timeout to 300ms to be safe.
*/
@@ -534,7 +540,7 @@ extern "C" void livoxGen1_attachDeviceReq(
* sending broadcast advertisement dgrams after about 5 seconds at most.
* Generally, it will resume sending them within 1-2 seconds.
*/
int retryDelayMs = 5250; // Default: 500ms
int retryDelayMs = 5250; // Default: 5250ms
uint8_t smoSubnetNbits = 24; // Default: /24 subnet
uint16_t dataPort = 56000; // Default data port
uint16_t cmdPort = 56001; // Default command port