Lantronix 900-691-R XML Configuration Record Document Type Definition, Figure A-3 DTD for XCRs

Page 74

Appendix A: Command Reference

parameters for a xPico Wi-Fi embedded device server, or it may only change the baud rate for a single serial line. Using XCRs is a straightforward and flexible way to manage the configuration of multiple XPico Wi-Fi embedded device servers.

Note: For directions on exporting or importing XML, please refer to XML Import and XML Export.

XML Configuration Record Document Type Definition

An XML document type definition (DTD) is a description of the structure and content of an XML document. It verifies that a document is valid. XCRs are exported using the DTD as shown in Figure A-3 DTD for XCRs.

Figure A-3 DTD for XCRs

<!DOCTYPE configrecord [

<!ELEMENT configrecord (configgroup+)>

<!ELEMENT configgroup (configitem+,configgroup*)> <!ELEMENT configitem (value+)>

<!ELEMENT value (#PCDATA)>

<!ATTLIST configrecord version CDATA #IMPLIED> <!ATTLIST configgroup name CDATA #IMPLIED> <!ATTLIST configgroup instance CDATA #IMPLIED> <!ATTLIST configitem name CDATA #IMPLIED> <!ATTLIST value name CDATA #IMPLIED>

]>

The xPico Wi-Fi DTD rules state the following:

The XML document element is a <configrecord> element. This is the root element.

A <configrecord> must have one or more <configgroup> elements and can have a version attribute.

A <configgroup> must have one or more <configitem> elements and can have name and instance attributes.

A <configitem> element must have one or more <value> elements and can have a name attribute.

A <value> element can have only data and can have a name attribute.

The name attribute identifies a group, item, or value. It is always a quoted string.

The instance attribute identifies the specific option, like the serial port number. The "instance" attribute is always a quoted string.

Note:

The name for each <configgroup> (specified with the name attribute) is the group name listed in the Web Manager XCR groups or with the "xcr list" CLI command. See the xPico Wi-Fi Embedded Device Server User Guide for more information about the XCR groups.

xPico® Wi-Fi® Embedded Device Server User Guide

74

Image 74
Contents Embedded Device Server User Guide Contacts WarrantyIntellectual Property DisclaimerTable of Contents Configurable Pin Manager Interface SettingsTunnel Settings Services SettingsBranding the xPico Wi-Fi Unit Maintenance and Diagnostics SettingsAdvanced Settings MonitorAppendix C Technical Support 103 Updating FirmwareAppendix B WebAPI 100 105Appendix E Binary to Hexadecimal Conversions 112 XPico Wi-Fi Product Label List of FiguresList of Tables XPico Wi-Fi Embedded Device Server User Guide Summary of Chapters Using This GuidePurpose and Audience Chapter DescriptionAdditional Documentation Document DescriptionKey Features IntroductionTroubleshooting Capabilities Protocol SupportProduct Information Label Configuration MethodsAddresses and Port Numbers XPico Wi-Fi Product Label Configuration Using Web Manager Accessing Web ManagerStatus StatusHelp Area Web Manager ComponentsNavigating Web Manager Web Manager Pages Web Manager Description SeeTo Configure Network 1 Interface Settings Network SettingsNetwork 1 Interface ap0 Configuration Network Interface SettingsNetwork 1 ap0 Link Description Settings Network 1 ap0 Link SettingsNetwork 1 ap0 Link Settings To View Network 1 Interface StatusMode To Configure Network 1 Link SettingsTo View Network 1 Link Status UptimeNetwork Interface Description Settings Network 2 wlan0 Interface ConfigurationTo Configure Network 2 Interface Settings To View Network 2 Interface Status Network 2 wlan0 Link StatusWlan Profiles To View Network 2 Link StatusWlan Profile Basic Settings Description To Configure Wlan ProfilesTo Configure Wlan Profile Settings Creating, Deleting or Enabling Wlan ProfilesWlan Profile Security Settings Wlan Profile Description Security SettingsWlan Profile Advanced Settings Description To Configure Wlan Quick ConnectWlan Profile Advanced Settings Wlan Quick ConnectScan network Ssid Wlan Quick Connect Description SettingsWlan Quick Connect Network Name linkLine Configuration Settings Interface SettingsLine Settings Line Settings DescriptionTo View Line Status To Configure Line SettingsGap Timer Xoff CharSPI Configuration Settings Serial Perpheral Interface SPI SettingsTo Configure SPI Settings To View SPI Status To View Tunnel Serial Settings Tunnel SettingsLine Settings Tunnel Line SettingsTunnel Packing Mode Description Settings Packing ModeTunnel Packing Mode Settings Tunnel Accept Mode Settings To Configure Tunnel Packing Mode SettingsAccept Mode Tunnel Accept Mode Description SettingsTo Configure Tunnel Accept Mode Settings Tunnel Connect Description Mode Settings Connect ModeTunnel Connect Mode Settings Tunnel Disconnect Mode Settings To Configure Tunnel Connect Mode SettingsDisconnect Mode Tunnel Disconnect Description Mode SettingsModem Emulation Settings Modem Emulation SettingsTo Configure Tunnel Disconnect Mode Settings StatisticsCommand Description Tunnel SettingsModem Emulation Commands and Descriptions ATZ Current Configurable Pins Configurable Pin ManagerConfigurable Pin Status CP StatusRoles Active in RoleCPM Role Current Description Configuration To Configure CPM SettingsRole Configuration To Configure Http Settings and Access Control Services SettingsHttp Settings Http SettingsTo View Http Status File System Statistics Maintenance and Diagnostics SettingsFile System Settings File DisplayFile Manipulation Device SettingsDevice Management Settings To Transfer or Modify File System FilesAdmin User Settings Admin UserTo Configure Admin User on the Device To View IP Socket Status Diagnostics SettingsTo View Hardware Status To View Buffer Pool StatusXML Import and XML Export Advanced SettingsTo Import or Export XML Configuration Modem Emulation Settings Description Performance SettingsPerformance Settings To Configure Performance Explorer Settings Description Monitor SettingsMonitor Explorer Settings MonitorRule Number DisplayMonitor Control Settings ConfigurationMonitor Initialization Settings Initialization Description SettingsPoll Settings Description Monitor Poll SettingsMonitor Filter Settings DelayData Settings Description To Configure MonitorMonitor Data Settings Selector NumberExample Data Capture on a Serial Device InitializationPolling Monitor Polling 1Filtering 10 Monitor Filtering 1Data Mining 12 Monitor Data Mining 1Presenting Data Capture on SPI Changing the Presentation Branding the xPico Wi-Fi UnitWeb Manager Customization Path FormatOther Overridable Files Updating Firmware Obtaining Firmware Loading New Firmware through Web ManagerUpdating Firmware XML Architecture and Device Control Appendix a Command ReferenceConventions Convention DescriptionBoot to CLI Configuration Using Serial PortSerial Command Mode Table A-1 Keyboard Shortcuts Using Keyboard Shortcuts and CLINavigating the CLI Hierarchy Key Combination DescriptionUnderstanding the CLI Level Hierarchy Configuration Using XMLAppendix a Command Reference XML Configuration Record Document Type Definition Figure A-3 DTD for XCRsElement Start and End Tags Quick Tour of XML SyntaxDeclaration Element AttributesRecord, Group, Item, and Value Tags Figure A-5 XML ExampleConfiggroup CPM XML for xPicoWi-Fi Embedded Device ServerConfiggroup Access Point Configitem Port Configgroup Http ServerConfigitem State Configitem Inactivity TimeoutConfigitem Dhcp Client Configgroup InterfaceConfigitem Access Control Configgroup Line Configitem Baud Rate Configitem NameConfigitem Protocol Configitem ParityConfiggroup Performance Configitem Wkup Pin Power Up Configgroup SPIConfigitem Maximum Time Powered Down Configitem Time Powered UpConfiggroup Users Configitem Password Configgroup Wlan ProfileConfigitem Instance Configitem BasicConfiggroup XML Import Control Configgroup Modem Emulation Configgroup Monitor Initialization Value Length Configgroup Monitor ControlValue Timeout Configgroup Monitor Poll Configitem DelayConfiggroup Monitor Filter Configitem RuleConfigitem Selector Configgroup Monitor DataConfiggroup Tunnel Accept Configitem Local PortConfigitem Flush Line Configitem Start CharacterConfigitem Flush Start Character Configitem Block LineConfigitem Prompt for Password Configgroup Tunnel LineConfigitem Block Network Configitem DTRValue Address Configgroup Tunnel ConnectConfigitem Host Value Port Configitem ConnectionsConfigitem Reconnect Time Value ProtocolConfigitem Flush Stop Character Configgroup Tunnel DisconnectConfigitem Stop Character Configitem Modem ControlConfiggroup Tunnel Packing Configitem Send CharacterConfigitem Trailing Character Export Status Group Export Configuration GroupAppendix B WebAPI Take Status Action Appendix B WebAPIImport Configuration Group Curl example configuration as part of commandEurope, Middle East, Africa Emea Appendix C Technical SupportNorth America Japan Asia / Pacific ApacLatin America & Caribbean Online Table D-1 Country Certifications Country SpecificationAppendix D Compliance Table D-2 Country Transmitter IDsTable D-3 Safety Table D-4 Europe EU Declaration of ConformityFederal Communication Commission Interference Statement Radiation Exposure StatementManual Information To the End User Industry Canada StatementEnd Product Labeling Déclaration dexposition aux radiationsPlaque signalétique du produit final Table D-5 Approved Antennas List Manuel dinformation à lutilisateur finalAntenna Requirement Type Gain BrandManufacturers Contact RoHS NoticeConversion Table Appendix E Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Scientific CalculatorAppendix E Binary to Hexadecimal Conversions