background image

EZL-200  User's  Manual

13

3.2. AT Command Interface

In ATC mode, using the standard AT command and the ten 

extended AT commands enables you to access the Internet. If the 
connection is successful CONNECT message is displayed and if the 
connection is failed or terminated NO CARRIER message is displayed, 
which is similar to a standard modem. The modem commands 
supported by ezTCP are listed below:

3.2.1. Basic AT Command

Command

Function

Note

A

passive connection

Host >> ezTCP connection

D

active connection

ezTCP >> Host connection

E

echo

E0-disable / E1-enable

H

off-hook

hang-up call

I

Inquiry

ezTCP information output

O

Online

online command state >> online

V

enable result code

V0-numeric, V1-string

Z

reset

reset AT command module

3.2.2. Extended AT Command

ezTCP provides the unique extended command for the control of the 

Internet-related setup values, which are not supported by a standard 
modem. The extended AT commands start with 'AT+P' and are 
followed by the equal sign, '=', for setting up values. The question 
mark, '?', should be added to the end of the command when 
outputting the setup value. For example, enter the command when 
changing or checking ezTCP's IP address as follows:

AT+PLIP=a.b.c.d

>>

 

<< OK

AT+PLIP?

>>

 

<< a.b.c.d

 
The extended commands available on ATC mode are listed below:

Summary of Contents for EZL-200

Page 1: ...EZL 200 User s Manual Revision B Sollae Systems ...

Page 2: ... 3 1 3 COD Connect On Demand 11 3 1 4 TCP Connection Time Out TIME OUT 11 3 2 AT Command Interface 13 3 2 1 Basic AT Command 13 3 2 2 Extended AT Command 13 3 2 3 AT COMMAND Escape Sequence 14 3 2 4 Examples of ATC Application 15 3 3 Environment Setup 17 3 3 1 Environment Setup in ATC mode 17 3 3 2 IP Address Setup using ARP 18 3 3 3 IP Address related Item Setup through DHCP Server 19 3 3 4 IP Ad...

Page 3: ...3 4 2 Serial Port Setup Item 22 3 4 3 Serial Port Interface related Item 23 3 4 4 Miscellaneous 23 3 4 5 ezTCP Operation according to Console Jumper 23 3 4 6 STATUS LED State Variation 24 ...

Page 4: ...ts EZL 200 RS232 Cable DC 5V SMPS Power Adaptor 1 2 Specifications Processor 16 bit Memory ROM 128K RAM 128K Interface 10Base T 9 Pin D Sub Male Protocols TCP UDP IP ICMP Ethernet ARP PPPoE DHCP TELNET server client Power DC 5V 10 1 3 EZL 200 Layout ...

Page 5: ...t and one Ethernet port 10Base T are installed The serial port should be connected to a serial port of the control unit hereafter DTE and the Ethernet port should be connected to a switching hub or dummy compatible with the 10Base T standard The following figure outlined a serial to Ethernet conversion system configured with ezTCP If a host computer hereafter a host is connected to the TCP port of...

Page 6: ...owing sections 2 1 1 ezConfig The basic environment information of EZL 200 can be configured through console telnet DHCP ARP and ezConfig This section takes an example of using ezConfig which is an Integrated Management Application for Windows For the other configuration modes see the following sections ezConfig can run on Microsoft Windows platform but may not operate on some of the existing oper...

Page 7: ... to press this button during operating ezTCP since ezTCP will automatically be reset right after its environment setup value is saved Otherwise it may cause malfunction This button is used to close ezConfig You can also close it by pressing ESC key on the keyboard ezTCP provides User Authentication function to prevent an unwanted person from modifying the configuration The authentication process i...

Page 8: ...dress SUBNET MASK subnet mask GATEWAY network gateway BAUD RATE UART port baud rate DATA BITS UART data bits PARITY UART parity FLOW CTRL hardware flow control MUX TYPE ezTCP serial interface type TIMEOUT connection time out LOCAL PORT listening TCP port number 2 1 2 Basic Function Setup The following example shows how to read and change ezTCP s basic functions Try changing ezTCP setup value accor...

Page 9: ...ayed in the MAC ADDRESS LIST box on ezConfig Check if the MAC ADDRESS displayed in the MAC ADDRESS LIST window corresponds to that printed on ezTCP main body The following screen shows this process Select T2S 0 in the MUX TYPE field on ezConfig Setup LOCAL IP ADDRESS LOCAL PORT and the serial port settings according to a test environment as required When the setup is completed pressing WRITE will ...

Page 10: ... 32 time 1ms TTL 64 2 2 Communication Test You can conduct a simple test using Hyper Terminal or telnet terminal for Windows if the IP related items of ezTCP are set correctly through ezConfig A communication test will be conducted as follows Connect the serial cable to the serial ports of both ezTCP and PC respectively Run Hyper Terminal change the serial port baud rate data bit parity bit and fl...

Page 11: ...the telnet terminal connection is successfully established Hyper Terminal and telnet terminal will be connected to each other through ezTCP as shown in the following picture When the two ends are connected to each other a character input from telnet terminal will be output to Hyper Terminal and vice versa When abcd is input on telnet terminal the output result is shown as follows When 1234 is inpu...

Page 12: ...ted to the serial port of ezTCP correspond to the serial port setup value of Hyper Terminal If nothing is input on the keyboard for specified period of time when the TIME OUT value of ezConfig is set bigger than 0 telnet terminal will terminate the connection while displaying a connection termination message ...

Page 13: ... describes the items you should change through ezConfig when using the relevant mode 3 1 1 T2S TCP to Serial In this mode ezTCP always wait for a connection request from an external device without voluntarily connecting itself to an external server or PC In case an external host is connected to the specified port of ezTCP ezTCP will connect the serial port to the TCP port That is it transmits data...

Page 14: ...ial port exceeds the pre specified size water mark and the size is changeable factory set value is 1 byte If the setup value is 0 a connection will begin right after the power is turned on setup fields TIMEOUT WATER MARK PEER PORT PEER IP ADDRESS 3 1 4 TCP Connection Time Out TIME OUT ezTCP will terminate the connection if there is no data exchange for a specified period of time The time period ca...

Page 15: ...r five times it will forcibly terminate the current TCP connection You do not need to pay attention to this operation since it is the internal TCP module function The keep alive function is optional for the TCP IP protocol specification On some operating systems this function may not be available If you want to terminate the connection from ezTCP in COD mode it is recommended to use the Time Out f...

Page 16: ... E0 disable E1 enable H off hook hang up call I Inquiry ezTCP information output O Online online command state online V enable result code V0 numeric V1 string Z reset reset AT command module 3 2 2 Extended AT Command ezTCP provides the unique extended command for the control of the Internet related setup values which are not supported by a standard modem The extended AT commands start with AT P a...

Page 17: ...MAND Escape Sequence When forcibly terminating the TCP connection of ezTCP you should shift the online state to the online command state through escape sequence Under the online command state entering ATH will terminate the TCP connection and entering ATO will restore it to the online state The guard times are required before and after the character transmission as follows Until inputting 1st afte...

Page 18: ...T CONNECT Data transmission reception In case the telnet server terminates the connection NO CARRIER In case the DTE terminates the connection guard time guard time OK ATH Connection Termination OK TCP port no 6000 connection AT PRIP aa bb cc dd Server IP Address AT PRP 6000 Port Number ATDT CONNECT Data Transmission Reception Server Mode AT PLP 6000 listening TCP port OK ...

Page 19: ...Examples of using Multiple Commands Like a standard modem ezTCP supports simultaneous multiple commands input Forbidding the echo command outputting the return value as the number instead of the string and connecting to the TCP port no 6000 are exemplified as follows ATE Echo forbidden OK ATV PRIP aa bb cc dd PRP 6000DT actually 1 Data Transmission Reception ...

Page 20: ... environment setup value you must use the PWP command PWP is used to store the changed value in the actual EEPROM If the ezTCP power is turned on or EEPROM configuration is changed by PWP command NO CARRIER message is displayed The examples listed below are for setting each item AT PLIP aa bb cc dd ezTCP s IP Address OK AT PGIP bb cc dd ee Gateway IP Address OK AT PSM 255 255 255 0 Subnet Mask OK ...

Page 21: ...d on For that reason you should reset ezTCP when changing the IP address The example listed below shows how to change the arp cache table on Windows MS DOS prompt window and Linux If ezTCP s Ethernet address is 00 30 f9 00 00 01 and the IP address to use is a b c d you can change the IP address as follows Windows C arp s a b c d 00 30 f9 00 00 01 add ARP cache entry C arp a show ARP cache Interfac...

Page 22: ...s activated by checking PPPoE item on ezConfig If the ADSL modem independently supports the PPPoE communication function or an IP sharer is used you should use this function through a fixed IP or DHCP without checking PPPoE 3 3 5 Environment Setup using Telnet or Console You can also setup the environment through the internal shell application of ezTCP as well as AT command There are two ways to u...

Page 23: ...application are network information if connection password pwd and ezTCP information ezl In the shell application the command env is used to setup environment The factor such as if pwd and ezl can be used for env The following results are the output of the factory set value MIC v1 1 Am188 Copyright c Sollae Systems Co Ltd msh msh env if MAC ADDR XX XX XX XX XX XX EZCFG Yes ARP Yes DHCP No PPPOE No...

Page 24: ...Y 0 DATA BITS 8 RTSCTS No TELNET Yes MUX TYPE 1 TIME OUT 10 LOCAL PORT 0 MUX_TYPE T2S 0 WATER MARK 1 MUX_TYPE COD 2 PEER IP 0 0 0 0 MUX_TYPE COD 2 PEER PORT 0 MUX_TYPE COD 2 msh Note The output of the underlined parts depends on the setup value of the item next to ...

Page 25: ...dress SUBNET MASK IP Network Subnet Mask GATEWAY gateway If you set EZCFG item to NO searching for ezTCP or changing the setup value through ezConfig will not be available You may have to set ARP item to YES depending on the types of DHCP server when using DHCP function 3 4 2 Serial Port Setup Item Setup Item Description BAUD RATE UART baud rate 1200 115200 PARITY 0 no parity 1 even 2 odd DATA BIT...

Page 26: ...r password up to 8 characters in English language If you enter on the console the existing password will be cleared and you will not be asked to enter password when accessing telnet or changing the ezConfig configuration 3 4 5 ezTCP Operation according to Console Jumper When the console jumper JP1 is connected ezTCP changes the serial port to the system console while releasing all of its security ...

Page 27: ... PPPoE Blinking 4 times briefly in the normal state 1 time per 1 second when the IP address is successfully assigned after attempting a connection in ATC COD mode 4 times briefly after returning the IP address when the connection is terminated If a TCP connection is successfully established irrespective of the IP allocation scheme STATUS LED is turned on If the TCP connection is terminated LED wil...

Reviews: