Download xPico Wi-Fi Embedded Device Server User Guide

Transcript
6: OEM Management

United States (Default)

Canada

European Union

Japan
When selected, the radio is automatically configured to the channel and transmit power levels
necessary for operation in that country per the certification requirements.
Reading the Current OEM Configuration Group from the CLI
As previously mentioned, there is only one option to read the OEM configuration record but there
are two options to write it.
To read the OEM configuration from the serial port (configured for CLI) you can use the following
commands to read the configuration
>xml
xml>xcr dump OEM
This will display the OEM configuration Group XML with the current settings.
Writing the OEM Configuration Group from the CLI
To write the OEM configuration group, you can use the CLI or the WebAPI. To write the OEM
configuration group using the CLI, you can write the desired OEM configgroup at any point in the
CLI (there is no explicit command required). For this example, we changed the region value as
follows:
</configitem>
<configitem name = "Region">
<value>Japan</value>
</configitem>
To test, you can simply cut and paste the configgroup in a valid XCR into the terminal program at a
CLI prompt.
>xml or >
After writing a valid XCR record, the CLI will respond with
Importing XML
WARNING: Region code change requires reboot to take effect.
XML import completed.
>
After a reboot, the xPico Wi-Fi embedded device server will be configured for the Japan Wi-Fi
settings. To make this setting become your OEM factory defaults. See the section below.
To write a new Wi-Fi region code using the WebAPI, you would use the WebAPI Import
Configuration Group command.
Content-Type: multipart/form-data
URL: http://<hostname>/import/config
Parameters:
xPico® Wi-Fi® Embedded Device Server User Guide
34