4: Configuration Using XML

<value/>

</configitem>

<configitem name="remote address"> <value/>

</configitem>

<configitem name="remote port"> <value>0 </value>

</configitem>

</configgroup>

Figure 4-5 XML Example of Multiple Items

<configgroup name="xml import control"> <configitem name="restore factory configuration">

<value>disable</value>

</configitem>

<configitem name="delete cpm groups"> <value>enable</value>

</configitem>

<configitem name="cpm group delete"> <value name="name"/>

</configitem>

<configitem name="delete http authentication uris"> <value>disable</value>

</configitem>

<configitem name="http authentication uri delete"> <value name="name"/>

</configitem>

<configitem name="reboot"> <value>disable</value>

</configitem>

</configgroup>

Figure 4-6 XML Example with Multiple Groups

<configgroup name="cp group" instance="Line1_Modem_Ctl_Out"> <configitem name="cp" instance="2">

<value name="bit">0</value> <value name="type">output</value> <value name="assert low">enable</value>

</configitem>

<configitem name="state"> <value>disable</value>

</configitem>

</configgroup>

<configgroup name="cp group" instance="Line1_RS485_Select"> <configitem name="state">

<value>disable</value>

</configitem>

</configgroup>

XPort® Pro Lx6 Embedded Device Server Command Reference

17

Page 17
Image 17
Lantronix LX6 manual XML Example of Multiple Items