Resumo do conteúdo contido na página número 1
GSM GPRS Modem
900 / 1800
Value Added Feature
USER MANUAL
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd.
Resumo do conteúdo contido na página número 2
Revision history Rev. Date Details Originated by 0.9 22July 2005 First release Wallace Lee 0.91 22Feb 2006 - Remove AT command history feature Wallace Lee - Remote AT command : when enabled all incoming SMS will be erased 0.92 AutoTCP/UDP : Add DCD/DSR signaling Wallace Lee : modify command/data mode swithcing Fargo Maestro is a registered trademark of Fargo Telecom AsiaLtd. This manual is written without any warranty. Fargo Telecom AsiaLtd reserves the right to modify or
Resumo do conteúdo contido na página número 3
ERAL Table of contents 1. INTRODUCTION..................................................................................................................................................................... 2 2. INSTALLATION....................................................................................................................................................................... 2 2.1 IDENTIFYING YOUR FARGO MAESTRO...........................................................................
Resumo do conteúdo contido na página número 4
1. INTRODUCTION The Fargo Maestro Value-Added Feature package is a software solution for Fargo Maestro modem (*see note 1). New functions added are to increase application range of various industrial and automated applications: - Automatic and self-recovery TCP/UDP socket connection (* see note 2) - Remote AT command (AT command through SMS) - I/O triggered AT command execution Users can configure and use the above features by AT commands. Note 1: Not all Fargo Maestro can have this feature inst
Resumo do conteúdo contido na página número 5
Then enter the following and see the responses according to the following table: Command Expected response AT#VVERSION #VERSION: "eDsoft-W302_V2.10 116686 Dec 10 2003 12:20:17" AT+WOPEN=2 +WOPEN: 2,"AT v02.10", “AT V02.10” If you get the same response then this modem is ready for installation. 2.2 Installing the Value added feature 2.2.1 Erasing the IP connectivity feature (AT# feature) (Fargo Maestro 100 only) For Fargo Maestro 100, you need to erase the IP connectivity feature before downl
Resumo do conteúdo contido na página número 6
e. When you see the dialog box, on the “Filename” you choose file according to the modem: Fargo Maestro 20 : F100VAF_0092.dwl Fargo Maestro 100 : F20VAF_0092.dwl Then on “Protocol” choose “1K-Xmodem”, Then press “OK” f. Then the downloading process will start: g. After finishing downloading enter command AT+CFUN=1 to restart modem h. After restarting enter command AT+WOPEN=1 to start the VAF program. i. Enter one VAF AT command to verify : Command Expected response AT+SMSAT? +SMSAT : 0,
Resumo do conteúdo contido na página número 7
3. AUTO TCP/UDP CONNECTION (Fargo Maestro 100 only) The Auto TCP/UDP connection feature is defined for accessing serial devices over the Internet. Fargo Maestro can be configured that after power up it will connect to a remote TCP/UDP socket (client mode) or to wait for the TCP/UDP socket connection request from remote peer (server mode). If the socket connection is unsuccessful or disconnected it will repeat the connection request and back to waiting stage. This make remote peer can access seri
Resumo do conteúdo contido na página número 8
3.2 AT commands for Auto TCP/UDP 3.2.1 AT+AUTOTCP Description: This command controls the Maestro 100 to start TCP socket connection automatically. Note: - Before using AT+AUTOTCP TCP and GPRS settings MUST be setup properly using AT+IPTCP and AT+IPGPRS command respectively. - +AUTOTCP function is mutually exclusive with +AUTOUDP function; if +AUTOUDP is set to 1 already you will get ERROR on enabling AUTOTCP Syntax: Command Syntax AT+AUTOTCP= Response syntax: +AUTOTCP: Command Possi
Resumo do conteúdo contido na página número 9
- If the TCP connection is broken the modem will try to reconnect automatically. During re- connection period serial port will go back to command mode, and DSR/DCD signal back to low. - The setting will be saved, and after power off, the AUTOTCP will be restarted with the 20 seconds delay after power up. - To stop auto TCP connection, you need to enter the command AT+AUTOTCP=0 within 20 seconds after power up, or during reconnection (serial port back to command mode) 3.2.2 AT+IPTCP Description:
Resumo do conteúdo contido na página número 10
Mode of TCP operation. Default value is “S”. “S” Server (Listening) mode. This configures Fargo Maestro to open a listening TCP connection on the specified port . The TCP connection will be active upon getting socket connection request from the allowed remote TCP peer (see ) “C” Client (caller) mode. This configures Fargo Maestro to request opening a TCP to the server with the specified address and port . The address of the TCP server (or host). Default value is empty
Resumo do conteúdo contido na página número 11
Command Possible responses: AT+AUTOUDP=0 OK Note : disable AutoUDP AT+AUTOUDP=1 OK Note: Enable AutoUDP AT+ AUTOUDP? +AUTOUDP : 1 OK Note: display current status AT+AUTOUDP=? +AUTOUDP : (0-1) Note : possible argument Defined Values: 1 enable auto UDP 0 disable auto UDP Notes : - Before enabling Auto UDP, it MUST be properly set the GPRS settings by AT+IPGPRS command and UDP settings by AT+IPUDP command - ONLY GPRS PDP context # 1 will be used. So please setup +IPGPRS settings with
Resumo do conteúdo contido na página número 12
Command Possible responses: AT+ IPUDP? +IPUDP: 0,"S","",100 OK Note : show current settings AT+ IPUDP =23 OK Note: set the UDP port to 23 AT+ IPUDP =23,”C”,202.144.111.222”,100 OK Note: to set the modem to connect UDP socket Client (caller) mode to target :address 202.144.111.222 and port 23 AT+ IPUDP =23,”S”,255.255.255.255”,100 OK Note: to set the modem to wait for UDP socket connection request (Server (listening) mode) any calling IP address allowed, port 23 AT+ IPUDP =? +IPUDP: (0-65535),(
Resumo do conteúdo contido na página número 13
3.2.5 AT+IPGPRS Description: This command is used to setup GPRS network parameters for the AutoTCPUDP feature. Syntax: Command Syntax AT+IPGPRS=,,, Response Syntax +IPGPRS: ,,, Command Possible responses: AT+ IPGPRS? +IPGPRS: 1,"INTERNET","" ,”” OK Note : show current settings AT+ IPGPRS=1 OK Note: set Cid value to 1 AT+ IPGPRS =1,”INTERNET” OK Note: set the PDP value to 1 and APN to “INTERNET” AT+ IPGPRS=? +IPGPRS: (1-4),(100),(50),(50) OK Note: possible valu
Resumo do conteúdo contido na página número 14
3.2.6 AT+IPBUFF Description: This command specifies the number of bytes of data from remote peer buffered inside the modem. - If the quantity of buffered data reach this value, the whole buffered data will be sent out to the serial port. - If the data from remote is large at one time, only multiple of this value data will be sent out to the serial port remainder will be kept inside buffer Example: AT+IPBUFF=5 18 bytes of data sent 1234567890A from TCP or UDP BCDEFGH socket to modem 15 bytes (m
Resumo do conteúdo contido na página número 15
Defined Values : The number of bytes of data to be buffered. Default value is 0 (i.e. no buffering). Valid range is 0 to 50. Notes: - If the TCP or UDP socket connection is broken, buffered data will be lost. Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 13
Resumo do conteúdo contido na página número 16
4. REMOTE AT COMMAND BY SMS This feature is to control the modem to interpret AT command from incoming SMS, executing it, and return the result to sender by SMS. The user can enable the modem to receive AT command by incoming SMS. See following about AT+SMSAT command. 4.1 Description of the Operation Step 1 : send AT command to modem by SMS 000000AT+CSQ Step 2 : modem execute and return response by SMS +CSQ: 17,0 OK 1. When enabled, the modem will treat the incoming SMS
Resumo do conteúdo contido na página número 17
4.2 AT command for configuring AT command by SMS 4.2.1 AT+SMSAT Command Syntax AT+SMSAT=(,) Response syntax: +SMSAT: , Command Possible responses: AT+SMSAT=0 OK Note : disable remote AT command by SMS AT+ SMSAT =1 OK Enable remote AT command by SMS AT+ SMSAT? +SMSAT : 1,000000 OK Note display current status AT+SMSAT=2,123456 OK Note: set the value AT+ SMSAT =? +SMSAT : (0-2),(6) OK Note : possible argument Defined Values: 0 disable remote AT command by SMS 1 e
Resumo do conteúdo contido na página número 18
4. It could be in some case (e.g. network failure) the modem cannot return response SMS. The modem will try sending response SMS for three times max. If still not successful it will abort. 5. Always think twice before you send AT command by SMS. For example if you send AT+CPOF it will turn off the modem, and you need to go to access the modem to reset it. Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 16
Resumo do conteúdo contido na página número 19
5. I/O TRIGGERED AT COMMAND This feature making use of the Fargo Maestro Input/Output port as a sensor. If the signal to the port match the pre-defined condition a stored AT command will be executed. User can use AT+IOAT command to set the condition and store AT command to be executed. 5.1 Description of the operation I/O port Wiring Diagram : 1. When the I/O port is connected to high 3V signal, Switch closed : logic level high Switch opened : logic level low. 2. The switch can be placed a
Resumo do conteúdo contido na página número 20
When set as high-to-low triggering : I/O port voltage time = T Start counting time when when period of low signal a high to low signal reach Threshold value the changed detected AT command will be executed * See AT+IOAT command on setting Threshold value T. 5.2 AT command for configuring I/O triggered AT command 5.2.1 AT+IOAT Command Syntax AT+IOAT=(,,, ) Response syntax: +SMSAT: ,,, Command Possible responses: AT+IOAT=0 OK Note : disab