livox: rename handshakeTimeoutMs=>commandTimeoutMs

This commit is contained in:
2025-11-01 02:45:24 -04:00
parent 58e9b09995
commit c8474edad7
8 changed files with 38 additions and 33 deletions
+2 -2
View File
@@ -129,7 +129,7 @@ public:
void DeviceManager::getOrCreateDeviceReq(
const std::string &deviceIdentifier,
const std::shared_ptr<smo::ComponentThread>& componentThread,
int handshakeTimeoutMs, int retryDelayMs,
int commandTimeoutMs, int retryDelayMs,
const std::string& smoIp, uint8_t smoSubnetNbits,
uint16_t dataPort, uint16_t cmdPort, uint16_t imuPort,
smo::Callback<livoxProto1_getOrCreateDeviceReqCbFn> callback)
@@ -163,7 +163,7 @@ void DeviceManager::getOrCreateDeviceReq(
// Device doesn't exist, create a new one but don't add it to collection yet
auto newDevice = std::make_shared<Device>(
deviceIdentifier, componentThread,
handshakeTimeoutMs, retryDelayMs,
commandTimeoutMs, retryDelayMs,
smoIp, smoSubnetNbits,
dataPort, cmdPort, imuPort);