chenluhua1980
2026-01-08 d3e6607623a258e26e579731713407737f96a392
SourceCode/Bond/Servo/HsmsPassive.cpp
@@ -1784,10 +1784,15 @@
      goto MYREPLY;
   }
   if (!pBody->getSubItemU2(0, SVID)) {
      // also accept I2 or U4 to be tolerant with host implementations
      if (!pBody->getSubItemI2(0, (short&)SVID)) {
         unsigned int svidU4 = 0;
         if (!pBody->getSubItemU4(0, svidU4)) {
         pMessage->getBody()->addU1Item(SVU1, "SV");
         goto MYREPLY;
      }
         SVID = static_cast<unsigned short>(svidU4);
      }
   }
   SERVO::CVariable* pVariable = getVariable((int)SVID);