livoxGen/Proto1: Refine auto-detection vs heuristic logic

This commit is contained in:
2025-09-09 19:54:14 -04:00
parent 73b2d981f9
commit 0449e557b0
4 changed files with 115 additions and 20 deletions
+2 -2
View File
@@ -176,8 +176,8 @@ extern "C" int livoxGen1_attachDeviceReq(
uint16_t dataPort = 56000; // Default data port
uint16_t cmdPort = 56001; // Default command port
uint16_t imuPort = 56002; // Default IMU port
// Default: 10.42.0.1
std::string smoIp = "10.42.0.1";
// Default: empty string (will trigger IP auto-detection)
std::string smoIp = "";
// Parse optional integer parameters from provider params
for (const auto& param : desc->providerParams)