Getting Started

You can connect to your xPico 200 series embedded gateway to begin configuring it in a few simple steps.

How do you want to connect?

Connect to xPico 200 Series Gateway

What do you need?

You need xPico 200 series in one of the following forms:

  • The evaluation board kit. Connect the antenna and plug in the power supply to the evaluation board. Switch the power to ON.
  • Your device or your evaluation board with the gateway attached and powered on. For pinout information, see the xPico 200 Series Embedded Wi-Fi Gateway Data Sheet.

Depending on how you want to connect, you also need one of the following:

  • For Wi-Fi or network connection, a PC or mobile device with Wi-Fi and web browser to connect to the gateway using the SoftAP interface.
  • For serial connection, a PC with serial terminal connected to the device UART Line 1.

Connecting to the Web Manager

STEP 1: CONNECT TO WEB MANAGER

  1. Connect to the network using the unique xPico 240 or xPico 250 SSID. The SSID format is "xPico240_XXXXXX" or "xPico250_XXXXXX", where "XXXXXX" refers to the last 6 digits of the serial number printed on the module. Enter the default SSID passphrase: PASSWORD. xPico Quick Start SSID.
  2. Connect to 192.168.0.1 using your web browser. The default USER ID = admin and Password = PASSWORD (both case sensitive). Alternatively, you can connect to xpico200.lantronix.com. xPico Quick Start login

STEP 2: INITIAL CONFIGURATION

  1. Once you are logged in, click Quick Connect to continue with the configuration of the xPico 200 series gateway and connect to the Wi-Fi network. xPico Quick Start Quick Connect
  2. On the Quick Connect page, the wireless client interface can be configured. You can connect the xPico module to a network from the list of available wireless networks. xPico Quick Start WLAN Scan

STEP 3: COMPLETE THE CONFIGURATION

Continue with the rest of the unit configuration using the Web Manager UI.

Some configuration options available to you at this point include the following:

Important!

Keep your device secure. Please change the default SoftAP SSID password and administrator password before proceeding further. In the Web Manager, go to Network > ap0 > Link > Configuration to set the AP password. Go to User and select _admin_ user to change the administrator password. Reboot the gateway and continue with the rest of the configuration.

Connecting to the Serial Terminal

You can configure the gateway using the Command Line Interface (CLI) via the serial port.

STEP 1: CONNECT TO THE SERIAL TERMINAL

  1. Connect a PC running a terminal emulator application such as Tera Term to the device UART and power on the device.

  2. In the terminal application, configure a new serial connection to the COM port associated with the xPico unit.

  3. Set up the serial port communication parameters in the terminal to match the settings on the xPico unit. Click OK.

    • Baud rate: 9600
    • Data: 8 bits
    • Parity: none
    • Stop bits: 1 bit
    • Flow control: none
  4. Once you have connected to the serial terminal, type ? in the terminal to view the root level of the CLI.

>?
config                                  documentation
file system                             help
status                                  tlog
wlan scan [network-name]                xml
exit

To begin configuring the gateway, type the following commands:

  • config<enter> to enter the "config" level
  • ?<enter> to display the "config" level commands

The following example shows "config" level commands for xPico 250:

config

config>?
exit                                    wlan apply
wlan connect [network-name]             wlan scan [network-name]
write                                   Access Point
Clock                                   CPM
Ethernet                                HTTP Server
Interface <instance>                    Line <instance>
Power                                   Radio
SPI                                     User <instance>
WLAN Profile <instance>                 AES Credential <instance>
Bridge                                  Bluetooth
CLI Server                              Discovery <instance>
Mach10                                  Modem Emulation <instance>
Monitor                                 NTP
TLS Credential <instance>               Tunnel <instance>
Custom <instance>

STEP 2: CONFIGURATION USING THE CLI

Continue with the rest of the unit configuration using the CLI.

Some configuration options available to you at this point include the following:

Performing an Over-the-Air Update

For the latest firmware download, visit https://www.lantronix.com/support/downloads.

Over-the-air firmware upgrade allows you to load the latest version of firmware to your gateway. Use the Web Manager to update your firmware.

To use the Web APIs to upgrade firmware, see Upgrade Firmware in the Web API Reference.

To update the firmware:

  1. Download the latest firmware from the product website.
  2. Open the Web Manager to the IP address of your xPico gateway.
  3. Go to Device > Firmware Upgrade.
  4. Click Choose File to find the firmware file and then click Upload. Wait while the gateway uploads the firmware. The gateway will be rebooted after the upload has completed.
  5. When prompted, enter your user name and password into Web Manager. You can verify the firmware version on the Status page.

Performing a Factory Reset

A factory reset will return variables to the default configuration and ensure that the gateway is in a known state.

You can perform a factory reset on the gateway using the following interfaces:

  • Web Manager
  • CLI
  • Web API

In the Web Manager, go to Device > Status > Factory Defaults. Confirm that you want to reload factory default settings.

In the CLI, navigate to the "status Device" level and run Factory Defaults. Confirm that you want to reload factory default settings.

status Device>Factory Defaults
CONFIRM: Reload factory default settings? (okay/cancel)Okay
WARNING: Rebooting for factory defaults...

Command Line started.

>

Use the Device Actions Web API to send an HTTP request to the device to "take status action" to reset the gateway to factory defaults. For details, see the Web API Reference.

Configuring Essential Applications

If you are integrating with the gateway via one of the serial interfaces, you have the following options:

  • Use TruPort Serial to establish tunnel connections that support transparent transport of serial protocols with the ability to tune the connection parameters for a specific protocol without requiring custom software programming.

  • Use TruPort Socket to establish tunnel connections with multiple data channels with fine-grained control over the channels.

If you are connecting to a device that provides an Ethernet interface, you have the following option:

  • Use Ethernet to Wi-Fi bridging to present an Ethernet interface to host microcontrollers capable of running their own network stack.

Getting Help

In addition to the online documentation provided on this website, the gateway provides interactive help within the Web Manager and CLI.

Web Manager Help

The Web Manager provides context-sensitive help inline within the user interface.

Web Manager application

CLI Help

The CLI help provides contextual help that contains details about how to navigate the CLI as well as command-level descriptions.

To view the general help commands, type help at the root level.

>help
COMMAND LINE INTERFACE HELP


<tab>          fill in possible command  
<enter>        run command as edited  
*<enter>       show help on matching commands  
?              list matching commands  
<left arrow>   move cursor left  
<right arrow>  move cursor right  
<up arrow>     previous command  
<down arrow>   later command  
<backspace>    delete to left  
<delete>       delete to left  
<Paste XML>    import configuration  

<control>                          <escape>
---------------------------------  ----------------------------------
a  move cursor to begin of line    b        move cursor backward word
d  delete character under cursor   f        move cursor forward word
e  move cursor to end of line      [A       previous command  
k  delete to end of line           [B       later command  
l  redraw line                     [C       move cursor right  
r  redraw line                     [D       move cursor left  
u  delete to begin of line         <escape> delete word to left  
w  delete word to left  

To view the Command Reference, see CLI Reference.

Technical Support

For technical support queries, visit https://lantronix.com/support/.