Silex technology manual Chapter Using the SX-560 with Your Application, Linux Programmability

Page 37

Chapter 4

Using the SX-560 with Your Application

The SX-560 includes a number of capabilities that enable it to be used in a wide range of applications. These capabilities include:

1.Linux programmability

2.User interface customization

3.Power configuration

4.Serial Port Emulator (SPE) software

5.Raw TCP connection

6.RFC2217

7.ECable Mode

8.Print Server mode

9.Console mode switching

10.AT commands

11.SNMP traps and Email alerts

These capabilities are described in the following sections.

Linux Programmability

The SX-560 runs a full implementation of the Linux operating system, so it can be programmed for a variety of applications using standard Linux tools. To access the Linux operating system, connect to the SX-560 either directly through Serial Port 3 or by using TELNET over the network. Enter the user name admin in response to the login: prompt, and then enter the password access to get the Linux # prompt.

If you need root privileges, you can use the Linux su utility with the default password access. Both the admin password and the root password can be changed via the Linux shell passwd command.

IMPORTANT: Root privileges provide total access to the Linux operating system. Because of the possibility of modifying or deleting critical SX-560 system files, only knowledgeable Linux programmers should use this capability.

Customizing the SX-560 User Interface

The SX-560 user interface can be customized to include your company’s name or other information. For example, instead of displaying Silex SX-560on the internal web pages and the internal command console interface, the SX-560 could display Company XYZ. In addition, the 3-character OEM code used in the SX-560 server name and service names can be changed from the default code SDS to a user-

Using the SX-560

Silex

Part Number 140-00192-100

Page 31

Image 37
Contents SX-560 Embedded Intelligent Module Trademarks Contents 101 Figures Silex Part Number Contents About This Reference Guide Safety PrecautionsEmissions Disclaimer Silex SX-560 top and bottom view IntroductionSilex Part Number Introduction Installing SX-560 Module in Evaluation Daughtercard Chapter Installing the Evaluation DaughtercardSilex Part Number Installing the Evaluation Daughtercard Verify Development Kit Contents SX-560 Module Inserted in Daughtercard Installing the SX-560 ModuleOEM Interface Monitoring Module StatusStatus Monitors Function State StatusOEM Interface Signal Descriptions Pin Type Electrical CharacteristicsRXD DCDTXD DTRLogical Serial Port 1 Signal Descriptions Pin Input/Output DB-9 RS-232 Signal TypeRTS CTSGPIO4 DTR0 GPIO3 TspicsGPIO5 DSR0 GPIO6 DCD026-Pin I/O Header Signal Selectable LED and Gpio Descriptions USB Host Port and Ethernet Port UART0TXD, UART0RTS UART1TXD, UART1RTS UART2TXD LCD InterfaceSilex Part Number Installing the Evaluation Daughtercard Basic Configuration Requirements Chapter Configuring the SX-560TCP/IP Settings Wireless Configuration SettingsConfiguration Methods Initial Wireless SetupConfiguring the SX-560 Silex Part Number Silex Configuring the SX-560 Silex Part Number Silex Using the SX-560 Configuring the SX-560 Silex Part Number Using a Web Browser to Configure the SX-560 Configuring the SX-560 Silex Part Number Using the Internal Command Console to Configure the SX-560 AD-HOC Init Exit SpaceLinux Programmability Chapter Using the SX-560 with Your ApplicationCustomizing the SX-560 User Interface SET Default Power ConfigurationSerial Port Emulator InitTelnet ipaddress portnumber Raw TCP connectionRFC 2217 Remote Modem Control Support ECable ModeConsole Mode Switching Print Server ModeSET Port S1 Constr ++++ Snmp Traps, Email Alerts, and Gpio Status AT CommandsSET Port S1 Filter AT Interfacing the SX-560 to the OEM Device SX-560 Evaluation Daughtercard Schematics SX-560 Evaluation Daughtercard Schematics Spics TXD1 Spiclk CTS1 Ground ResetiIicsdc TXD2 Iicsda RXD2 CPIO2, GPIO3Signal Pin Type Description SX-560 Power RequirementsUSB+ USBAntenna Connectors Installing the SX-560Retaining Bracket Optional Antenna Connector Types Parameter DescriptionGeneral Purpose I/O Interface Regulatory Approval RequirementsGpio Interface Pin Drive High/Low DescriptionFactory Default Settings Chapter Advanced ConfigurationFactory Default Settings Parameter Description CTS/RTSParameter Description Settings Default Setting Modifying TCP/IP SettingsChange Password Window Parameter SettingDNS TCP/IP Configuration Settings ParameterSnmp Commands Configuring SnmpCommand Description Snmp Configuration Configuring the General Purpose I/O Gpio LinesShow Gpio DIR Gpio General Commands DescriptionShow Gpio Special SET Gpio Special EN DISShow Gpio Specm DIS Gpio Trigger Commands DescriptionShow Gpio Trigm Gpio Data Commands Gpio Transmit Commands DescriptionTrig # Email String Gpio #1 is Gpio #2 is Trig # Email String Your email text msg here Gpio #2 isShow Gpio Data SET Gpio MON EN DIS Gpio TCP Monitor CommandsShow Gpio MON SET Gpio PortGPIO=00abLF 5 4 3 2 1 Index # Monitor String Port Monitor Alert Commands DescriptionIndex # Xmit String Xmit string Index # Xmit String Trigger string was seenUsing AT Modem Commands Setting up Email Alerts and Snmp TrapsAT Commands Parameter Description Standard AT Commands SupportedExtended AT Commands Parameter Description Parameter Command DescriptionAT#Cset nw ssid silex#Csave Response Codes Using ExtendView for Bulk ConfigurationResponse Codes Numeric Code Description Silex Chapter Product SpecificationsSdio TCP Port ConnectionsTCP Port Connections Port Destination DevicePSK Appendix a Advanced Security ConfigurationEAP Ttls Leap Peap TLS FastWireless Authentication Type Encryption ModeKey Selection WEP Key ValueAuthentication Protocol PasswordAuthentication Certificate Private Key TLS Wireless Security OnlySilex Part Number Advanced Security Configuration Wireless and Network Security Commands Appendix B Console CommandsNetwork Commands TLS Fast WPA-PSK SET NW RTS SET NW PW SET NW IDSET NW Inap PAPMSCHAPV2 SET NW Wpagroup Enable DisableSET NW Realm SET NW Reset Port CommandsPort Commands Description Server Information Commands Description Server Information CommandsCL Port S1 JOB SET Port S1 Size 7SH Serial Serial server Firmware Ver .19 Boot Ver 16Mbit FlashSerial number is Service Commands Description Service CommandsSET Servi service name FRS SET Servi service name FRMSET Servi service name IP ENable DIsable SET Servi service name NAme NewnameSnmp Commands Description Snmp CommandsSET Snmp Getcomm String Commands String CommandsEnter LANGUAGE= POSTSCRIPT\0ATCP/IP Commands TCP/IP CommandsSET IP Http SET IP FTPSET IP LPD Auto Dhcp StaticSET IP Timeout SET IP TELnet ENable DIsableSET IP TCP SET IP TftpAuto SH IPXxxxxxS1A 9100 XxxxxxS1B 3001 Bit# Hex Value Trigger ConditionPower Configuration Power Configuration CommandsSET Power power-level SH PowerHelp Commands Miscellaneous CommandsMiscellaneous Commands SaveAppendix C Engineering Drawings Antenna Cable Drawings and SpecificationsElectrical Performance Parameter Value Antenna Drawings and SpecificationsVswr Electrical Specifications Parameter ValueSilex Part Number Engineering Drawings Tftp -iipaddress put filename access Appendix D Firmware Update ProceduresSilex Part Number Firmware Update Procedures Appendix E Using the Silex Virtual Link USB Software Silex Part Number SVL USB Firmware Appendix F GNU/Linux Open Source and Programming Silex Part Number GNU/Linux Programming Silex Technology America, Inc Appendix G Silex Contact InformationSilex Technology Europe GmbH Silex Technology Beijing, IncSilex Part Number Silex Contact Information Part Number 140-00192-100 Revision C-2 Silex Technology America, Inc