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
-
Connect a PC running a terminal emulator application such as Tera Term to the device UART and power on the device.
-
In the terminal application, configure a new serial connection to the COM port associated with the xPico unit.
-
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
-
Once you have connected to the serial terminal, type
?in the terminal to view the root level of the CLI.
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 600:
>config
config>?
exit wlan apply
wlan connect [network-name] wlan scan [network-name]
write Access Point
BLE BLE Beacon Scanner <instance>
Clock CPM
Ethernet Compliance
HTTP Server Interface <instance>
Line <instance> Radio
User <instance> WLAN Profile <instance>
Bridge CLI Server
Discovery <instance> MQTT <instance>
LPD <instance> Modbus <instance>
Modem Emulation <instance> NTP
Percepxion TLS Credential <instance>
SNMP Tunnel <instance>
USB Device 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:
- Factory reset the gateway to get it to a known configuration.
- Get the latest firmware version.
- Configure essential applications such as TruPort Serial, TruPort Socket or Ethernet to Wi-Fi bridge.