Silex technology SX-560 manual Raw TCP connection, Telnet ipaddress portnumber

Page 39

After the Serial Port Emulator software has started, you will see a list of all the configured SX-560s on the network. Right click on the name of the SX-560 that you want the virtual COM port to connect to (the default name is SDSxxxxxx, where xxxxxx is the last six digits of the SX-560 MAC address), and then click Virtual Port. You will be asked to select the name of the virtual COM port (for example, COM3).

Click OK after you have selected the name, and you now ready to use the virtual COM port.

Using virtual COM port is identical to using a normal COM port. For example, if you configure a virtual COM port called COM3, this port will show up as one of the available serial ports when you use the Windows HyperTerminal Accessory program.

Raw TCP connection

You can communicate directly from your application program to the SX-560 using a raw TCP connection. This is done by opening a TCP port on the SX-560 and then sending and receiving data to this port via a socket or equivalent API. This method is more efficient than using the Serial Port Emulator, and does not require any additional software to be installed on your computer.

If you are using a raw TCP connection, the default TCP port number is either 9100 or 3001 for Serial Port 1 or 9101 or 3002 for Serial Port 2 (you can use any or all of these port numbers) for normal connections. If you want to be able to access your device’s modem control signals from your computer system, then the TCP port number is 9200 for Serial Port 1 or 9201 for Serial Port 2 (this enables RFC 2217 support). You can change the port number, if desired, by modifying one of the SX-560 services. To change the TCP port number:

1.Connect to the SX-560 with a web browser (see chapter 3 for instructions on doing this);

2.After you have logged in, click I/O Services on the left side of the page.

3.Click on the service name that you want to change (any one of the services is OK, provided that you are not using the existing TCP port number of that service for a different application).

4.Change the Raw TCP Port to the desired number (must be greater than 1023).

5.Click Submit to save your change.

You can test this connection by using the TELNET utility from the Windows Command Prompt (MS-DOS prompt), Mac OS X Terminal Utility, or UNIX/Linux command line as follows:

telnet ipaddress portnumber

Using the SX-560

 

Silex

Part Number 140-00192-100

Page 33

Image 39
Contents SX-560 Embedded Intelligent Module Trademarks Contents 101 Figures Silex Part Number Contents Safety Precautions About This Reference GuideEmissions 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 ModuleFunction State Status Monitoring Module StatusOEM Interface Status MonitorsOEM Interface Signal Descriptions Pin Type Electrical CharacteristicsDTR DCDRXD TXDCTS DB-9 RS-232 Signal TypeLogical Serial Port 1 Signal Descriptions Pin Input/Output RTSGPIO6 DCD0 GPIO3 TspicsGPIO4 DTR0 GPIO5 DSR026-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 Wireless Configuration Settings Chapter Configuring the SX-560Basic Configuration Requirements TCP/IP 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 SpaceChapter Using the SX-560 with Your Application Linux ProgrammabilityCustomizing the SX-560 User Interface Init Power ConfigurationSET Default Serial Port EmulatorTelnet ipaddress portnumber Raw TCP connectionRFC 2217 Remote Modem Control Support ECable ModePrint Server Mode Console Mode SwitchingSET Port S1 Constr ++++ AT Commands Snmp Traps, Email Alerts, and Gpio StatusSET Port S1 Filter AT Interfacing the SX-560 to the OEM Device SX-560 Evaluation Daughtercard Schematics SX-560 Evaluation Daughtercard Schematics CPIO2, GPIO3 ResetiSpics TXD1 Spiclk CTS1 Ground Iicsdc TXD2 Iicsda RXD2USB SX-560 Power RequirementsSignal Pin Type Description USB+Antenna Connectors Installing the SX-560Retaining Bracket Optional Antenna Connector Types Parameter DescriptionDrive High/Low Description Regulatory Approval RequirementsGeneral Purpose I/O Interface Gpio Interface PinCTS/RTS Chapter Advanced ConfigurationFactory Default Settings Factory Default Settings Parameter DescriptionParameter Description Settings Default Setting Modifying TCP/IP SettingsChange Password Window Parameter SettingDNS TCP/IP Configuration Settings ParameterConfiguring Snmp Snmp CommandsCommand 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 Trig # Email String Your email text msg here Gpio #2 is Gpio Transmit Commands DescriptionGpio Data Commands Trig # Email String Gpio #1 is Gpio #2 isShow Gpio Data SET Gpio Port Gpio TCP Monitor CommandsSET Gpio MON EN DIS Show Gpio MONGPIO=00abLF 5 4 3 2 1 Index # Xmit String Trigger string was seen Port Monitor Alert Commands DescriptionIndex # Monitor String Index # Xmit String Xmit stringUsing AT Modem Commands Setting up Email Alerts and Snmp TrapsAT Commands Parameter Description Standard AT Commands SupportedParameter Command Description Extended AT Commands Parameter DescriptionAT#Cset nw ssid silex#Csave Using ExtendView for Bulk Configuration Response CodesResponse Codes Numeric Code Description Silex Chapter Product SpecificationsPort Destination Device TCP Port ConnectionsSdio TCP Port ConnectionsTtls Leap Peap TLS Fast Appendix a Advanced Security ConfigurationPSK EAPWEP Key Value Encryption ModeWireless Authentication Type Key SelectionPrivate Key TLS Wireless Security Only PasswordAuthentication Protocol Authentication CertificateSilex Part Number Advanced Security Configuration Appendix B Console Commands Wireless and Network Security CommandsNetwork Commands TLS Fast WPA-PSK SET NW RTS SET NW PW SET NW IDSET NW Wpagroup Enable Disable SET NW Inap PAPMSCHAPV2SET NW Realm Port Commands SET NW ResetPort Commands Description SET Port S1 Size 7 Server Information CommandsServer Information Commands Description CL Port S1 JOBSerial server Firmware Ver .19 Boot Ver 16Mbit Flash SH SerialSerial number is Service Commands Description Service CommandsSET Servi service name NAme Newname SET Servi service name FRMSET Servi service name FRS SET Servi service name IP ENable DIsableSnmp Commands Snmp Commands DescriptionSET Snmp Getcomm POSTSCRIPT\0A String CommandsString Commands Enter LANGUAGE=TCP/IP Commands TCP/IP CommandsAuto Dhcp Static SET IP FTPSET IP Http SET IP LPDSET IP Tftp SET IP TELnet ENable DIsableSET IP Timeout SET IP TCPBit# Hex Value Trigger Condition SH IPAuto XxxxxxS1A 9100 XxxxxxS1B 3001SH Power Power Configuration CommandsPower Configuration SET Power power-levelSave Miscellaneous CommandsHelp Commands Miscellaneous CommandsAppendix 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 Beijing, Inc Appendix G Silex Contact InformationSilex Technology America, Inc Silex Technology Europe GmbHSilex Part Number Silex Contact Information Part Number 140-00192-100 Revision C-2 Silex Technology America, Inc