Hello
Im traying to change the IP of the conection 0 for an SNMP protocol
when the element start at the firts time the parameter has no value and when y set with a Qaction the IP of the element has no change.
the set is do it by: protocol.SetParameter(39999, "x.x.x.x:161");
The parameter for IP is:
<Param id="39999" trending="false" save="true">
<Name>Dynamic Polling IP Conn0</Name>
<Description>Connection 0 Dynamic Polling IP</Description>
<Type options="dynamic ip">read</Type>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>string</Type>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>debug</Page>
<Column>0</Column>
<Row>0</Row>
</Position>
</Positions>
</Display>
</Param>
What could be the problem?
Hi,
It's indeed a bit confusing, but depending on the type of communication different options need to be used.
-The "dynamic ip" is used to change the IP address of the serial communication.
-In the case, it's the intention to change the IP address for SNMP communication and then the SNMP parameters needs to have the ipid attribute that is pointing to the parameter (39999) that contains the IP address and 'dynamic ip' option is not needed here. For more info see this help section here
Regards,
Thanks, it works