livoxGen/Proto1: Refine auto-detection vs heuristic logic
This commit is contained in:
@@ -73,6 +73,7 @@ public:
|
||||
std::shared_ptr<smo::ComponentThread> componentThread;
|
||||
int handshakeTimeoutMs, retryDelayMs;
|
||||
std::string smoIp;
|
||||
std::string detectedSmoListeningIp;
|
||||
uint8_t smoSubnetNbits;
|
||||
uint16_t dataPort, cmdPort, imuPort;
|
||||
|
||||
@@ -96,7 +97,7 @@ private:
|
||||
|
||||
public:
|
||||
// Utility methods
|
||||
std::string getSmoIp(const std::string& deviceIP);
|
||||
std::optional<std::string> getSmoIp(const std::string& deviceIP);
|
||||
|
||||
// Callback function type definitions for async methods
|
||||
typedef std::function<void(bool success)> connectReqCbFn;
|
||||
|
||||
Reference in New Issue
Block a user