第一次连接:连接ip地址和端口10001,再发送hostgreeting的XML指令,结果提示(500052,连接已建立):
<frame>
<alarm>
<id>91</id>
<error>
<utcTime>2021-03-04T16:44:09.115+00:00</utcTime>
<errorText>Connection established.(Device: Device00 )</errorText><errorNumber>500052</errorNumber>
<deviceName>Device00</deviceName>
<clientName>XML</clientName>
</error></alarm></frame>
再发送一次hostgreeting后正常:<frame><reply><id>112</id><resultCode>0</resultCode><hostGreetings><returnValue><version>V3.0</version><configID>6376FBB4</configID></returnValue></hostGreetings></reply></frame>
求教这个是怎么回事?我想就发一次就正常连接,没有报警,错在哪儿了?求指点~急!