Lantronix 900-691-R manual Configuration Using Serial Port, Serial Command Mode, Boot to CLI

Page 71

Appendix A: Command Reference

Configuration Using Serial Port

Serial Command Mode

The serial port can be configured to operate in command mode permanently or to be triggered under specified conditions. See the line <line> Level command description for more information.

Boot to CLI

Regardless of the configured settings, the CLI can be accessed via Line 1 using fixed settings and the "back door" procedure. The original configured line settings will be restored once the user exits the "back door" CLI, unless any Line 1 settings are changed within the "back door" CLI.

To configure the Lantronix xPico Wi-Fi embedded device server locally using a serial port:

Note: The xPico Wi-Fi embedded device server requires that flow control be used on the serial port to ensure the best performance when importing XML.

1.Connect a terminal or a PC running a terminal emulation program to one of the xPico Wi-Fi embedded device server's serial ports.

2.Configure the terminal to the following settings:

9600 baud

8-bit

No parity

1 stop bit

Flow control enabled

Note: Lantronix recommends using hardware flow control.

3.Power off the device.

4.Get into the serial backdoor as follows:

a.While asserting the defaults signal,

b.Reset the device while sending X, Y, or Z characters.

c.When the incoming characters are recognized, a prompt in the following form will be seen: xPicoWifi <MAC ADDRESS>

Note: It is important to release the defaults signal as soon as possible after the prompt is seen; continuing to hold it down may result in a reset to factory defaults.

OR

a.While asserting the defaults signal,

b.Reset the device while sending ! character until it is echoed back.

c.Then release the defaults line, and enter xyz.

xPico® Wi-Fi® Embedded Device Server User Guide

71

Image 71
Contents Embedded Device Server User Guide Disclaimer WarrantyIntellectual Property ContactsTable of Contents Services Settings Interface SettingsTunnel Settings Configurable Pin ManagerMonitor Maintenance and Diagnostics SettingsAdvanced Settings Branding the xPico Wi-Fi Unit105 Updating FirmwareAppendix B WebAPI 100 Appendix C Technical Support 103Appendix E Binary to Hexadecimal Conversions 112 List of Figures XPico Wi-Fi Product LabelList of Tables XPico Wi-Fi Embedded Device Server User Guide Chapter Description Using This GuidePurpose and Audience Summary of ChaptersDocument Description Additional DocumentationIntroduction Key FeaturesProtocol Support Troubleshooting CapabilitiesProduct Information Label Configuration MethodsAddresses and Port Numbers XPico Wi-Fi Product Label Accessing Web Manager Configuration Using Web ManagerStatus StatusHelp Area Web Manager ComponentsNavigating Web Manager Web Manager Description See Web Manager PagesNetwork Interface Settings Network SettingsNetwork 1 Interface ap0 Configuration To Configure Network 1 Interface SettingsTo View Network 1 Interface Status Network 1 ap0 Link SettingsNetwork 1 ap0 Link Settings Network 1 ap0 Link Description SettingsUptime To Configure Network 1 Link SettingsTo View Network 1 Link Status ModeNetwork Interface Description Settings Network 2 wlan0 Interface ConfigurationTo Configure Network 2 Interface Settings To View Network 2 Link Status Network 2 wlan0 Link StatusWlan Profiles To View Network 2 Interface StatusCreating, Deleting or Enabling Wlan Profiles To Configure Wlan ProfilesTo Configure Wlan Profile Settings Wlan Profile Basic Settings DescriptionWlan Profile Description Security Settings Wlan Profile Security SettingsWlan Quick Connect To Configure Wlan Quick ConnectWlan Profile Advanced Settings Wlan Profile Advanced Settings DescriptionNetwork Name link Wlan Quick Connect Description SettingsWlan Quick Connect Scan network SsidLine Settings Description Interface SettingsLine Settings Line Configuration SettingsXoff Char To Configure Line SettingsGap Timer To View Line StatusSPI Configuration Settings Serial Perpheral Interface SPI SettingsTo Configure SPI Settings To View SPI Status Tunnel Line Settings Tunnel SettingsLine Settings To View Tunnel Serial SettingsTunnel Packing Mode Description Settings Packing ModeTunnel Packing Mode Settings Tunnel Accept Mode Description Settings To Configure Tunnel Packing Mode SettingsAccept Mode Tunnel Accept Mode SettingsTo Configure Tunnel Accept Mode Settings Tunnel Connect Description Mode Settings Connect ModeTunnel Connect Mode Settings Tunnel Disconnect Description Mode Settings To Configure Tunnel Connect Mode SettingsDisconnect Mode Tunnel Disconnect Mode SettingsStatistics Modem Emulation SettingsTo Configure Tunnel Disconnect Mode Settings Modem Emulation SettingsCommand Description Tunnel SettingsModem Emulation Commands and Descriptions ATZ CP Status Configurable Pin ManagerConfigurable Pin Status Current Configurable PinsActive in Role RolesCPM Role Current Description Configuration To Configure CPM SettingsRole Configuration Http Settings Services SettingsHttp Settings To Configure Http Settings and Access ControlTo View Http Status File Display Maintenance and Diagnostics SettingsFile System Settings File System StatisticsTo Transfer or Modify File System Files Device SettingsDevice Management Settings File ManipulationAdmin User Settings Admin UserTo Configure Admin User on the Device To View Buffer Pool Status Diagnostics SettingsTo View Hardware Status To View IP Socket StatusXML Import and XML Export Advanced SettingsTo Import or Export XML Configuration Modem Emulation Settings Description Performance SettingsPerformance Settings To Configure Performance Monitor Monitor SettingsMonitor Explorer Settings Explorer Settings DescriptionDisplay Rule NumberInitialization Description Settings ConfigurationMonitor Initialization Settings Monitor Control SettingsDelay Monitor Poll SettingsMonitor Filter Settings Poll Settings DescriptionSelector Number To Configure MonitorMonitor Data Settings Data Settings DescriptionInitialization Example Data Capture on a Serial DeviceMonitor Polling 1 Polling10 Monitor Filtering 1 Filtering12 Monitor Data Mining 1 Data MiningPresenting Data Capture on SPI Path Format Branding the xPico Wi-Fi UnitWeb Manager Customization Changing the PresentationOther Overridable Files Obtaining Firmware Loading New Firmware through Web Manager Updating FirmwareUpdating Firmware Convention Description Appendix a Command ReferenceConventions XML Architecture and Device ControlBoot to CLI Configuration Using Serial PortSerial Command Mode Key Combination Description Using Keyboard Shortcuts and CLINavigating the CLI Hierarchy Table A-1 Keyboard ShortcutsUnderstanding the CLI Level Hierarchy Configuration Using XMLAppendix a Command Reference Figure A-3 DTD for XCRs XML Configuration Record Document Type DefinitionElement Attributes Quick Tour of XML SyntaxDeclaration Element Start and End TagsFigure A-5 XML Example Record, Group, Item, and Value TagsConfiggroup CPM XML for xPicoWi-Fi Embedded Device ServerConfiggroup Access Point Configitem Inactivity Timeout Configgroup Http ServerConfigitem State Configitem PortConfigitem Dhcp Client Configgroup InterfaceConfigitem Access Control Configgroup Line Configitem Parity Configitem NameConfigitem Protocol Configitem Baud RateConfiggroup Performance Configitem Time Powered Up Configgroup SPIConfigitem Maximum Time Powered Down Configitem Wkup Pin Power UpConfiggroup Users Configitem Basic Configgroup Wlan ProfileConfigitem Instance Configitem PasswordConfiggroup XML Import Control Configgroup Modem Emulation Configgroup Monitor Initialization Value Length Configgroup Monitor ControlValue Timeout Configitem Delay Configgroup Monitor PollConfigitem Rule Configgroup Monitor FilterConfigitem Local Port Configgroup Monitor DataConfiggroup Tunnel Accept Configitem SelectorConfigitem Block Line Configitem Start CharacterConfigitem Flush Start Character Configitem Flush LineConfigitem DTR Configgroup Tunnel LineConfigitem Block Network Configitem Prompt for PasswordValue Address Configgroup Tunnel ConnectConfigitem Host Value Protocol Configitem ConnectionsConfigitem Reconnect Time Value PortConfigitem Modem Control Configgroup Tunnel DisconnectConfigitem Stop Character Configitem Flush Stop CharacterConfigitem Send Character Configgroup Tunnel PackingConfigitem Trailing Character Export Status Group Export Configuration GroupAppendix B WebAPI Appendix B WebAPI Take Status ActionCurl example configuration as part of command Import Configuration GroupJapan Asia / Pacific Apac Appendix C Technical SupportNorth America Europe, Middle East, Africa EmeaLatin America & Caribbean Online Table D-2 Country Transmitter IDs Country SpecificationAppendix D Compliance Table D-1 Country CertificationsTable D-4 Europe EU Declaration of Conformity Table D-3 SafetyRadiation Exposure Statement Federal Communication Commission Interference StatementDéclaration dexposition aux radiations Industry Canada StatementEnd Product Labeling Manual Information To the End UserPlaque signalétique du produit final Type Gain Brand Manuel dinformation à lutilisateur finalAntenna Requirement Table D-5 Approved Antennas ListRoHS Notice Manufacturers ContactScientific Calculator Appendix E Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Conversion TableAppendix E Binary to Hexadecimal Conversions