4: Configuration Using XML
PremierWave® 2050 Enterprise Wi-Fi® IoT Module Command Reference
19
Figure 4-8 XML Example of Multiple Items
<configrecord version="0.1.0.0T0">
<configgroup name="device">
<configitem name="short name">
<value>premierwave_2050</value>
</configitem>
<configitem name="long name">
<value>Lantronix PremierWave 2050</value>
</configitem>
<configitem name="serial number">
<value>0080A3946149</value>
</configitem>
</configitem><configitem name="firmware version">
<value>8.1.0.1R16</value>
</configitem><configitem name="lantronix iot gateway os version">
<value>1.0</value>
</configitem>
</configgroup>
Figure 4-9 XML Example with Multiple Groups
<configrecord version="0.1.0.0T0">
<configgroup name="diagnostics">
<configitem name="log">
<value name="output">Disable</value>
</configitem>
</configgroup>
<configgroup name=“discovery">
<configitem name=“state">
<value>enable</value>
</configitem>
<configitem name=“upnp state">
<value>enable</value>
</configitem>
<configitem name=“upnp port">
<value>30179</value>
</configitem>
</configgroup>
<configgroup name=“ethernet" instance="eth0">
<configitem name=“speed">
<value>Auto</value>
</configitem>
<configitem name=“duplex">
<value>Auto</value>
</configitem>
</configgroup>
<configgroup name=“ftp server">
<configitem name=“state">
<value>enable</value>
</configitem>
</configgroup>