GSM GPRS Modem 900 / 1800 Value Added Feature USER MANUAL Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd.
Revision history Rev. Date 0.9 22July 2005 0.91 22Feb 2006 0.92 Details First release - Remove AT command history feature - Remote AT command : when enabled all incoming SMS will be erased AutoTCP/UDP : Add DCD/DSR signaling : modify command/data mode swithcing Originated by Wallace Lee Wallace Lee Wallace Lee Fargo Maestro is a registered trademark of Fargo Telecom AsiaLtd. This manual is written without any warranty.
ERAL Table of contents 1. INTRODUCTION..................................................................................................................................................................... 2 2. INSTALLATION....................................................................................................................................................................... 2 2.1 IDENTIFYING YOUR FARGO MAESTRO ..................................................................................
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 installed.
Then enter the following and see the responses according to the following table: Command AT#VVERSION AT+WOPEN=2 Expected response #VERSION: "eDsoft-W302_V2.10 116686 Dec 10 2003 12:20:17" +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.
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.
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.
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.
- If the TCP connection is broken the modem will try to reconnect automatically. During reconnection 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.
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.
Command AT+AUTOUDP=0 AT+AUTOUDP=1 AT+ AUTOUDP? AT+AUTOUDP=? Possible responses: OK Note : disable AutoUDP OK Note: Enable AutoUDP +AUTOUDP : 1 OK Note: display current status +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.
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.
3.2.5 AT+IPGPRS Description: This command is used to setup GPRS network parameters for the AutoTCPUDP feature.
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.
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.
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.
4.2 AT command for configuring AT command by SMS 4.2.
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.
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.
When set as high-to-low triggering : I/O port voltage time = T Start counting time when a high to low signal changed detected when period of low signal reach Threshold value the 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.
Time required for the detected state to trigger the AT command exestuation. Unit is in millisecond. Valid value from 1 to 50 (0.1 sec to 5 sec). Refer to the above timing diagram in section 5.1. AT command to be executed when the I/O port is triggered successfully. The length of the command is limited to 128 characters. See section 5.3 for more details. 5.3 Notes and cautions to be taken when using I/O triggered AT command 1. The I/O port is limited to drain current 10mA max.
6. KNOWN ISSUES The Fargo Maestro Value Added Feature will affect certain other AT commands’ operation. Please note : 6.1 AT+WIND command 1. AT+WIND command will be disabled (Fargo Maestro 100 only) 6.2 Saving of parameters to non-volatile memory 1. You cannot save the settings of the following AT commands by concatenating the &W command (Fargo Maestro 100 only): AT+CREG AT+CGREG AT+CGEREP To save the above settings please enter AT&W separately. Please read also Chapter 7 for other issues.
7. QUESTIONS AND ANSWERS 7.1 Installation Q. If my Fargo Maestro cannot match with the requirement stated in section 2.1, can I upgrade it? A. No. Older Fargo Maestro cannot be upgraded. Q. Can I have the TCP/IP (IP connectivity) feature together with this VAF for Fargo Maestro 100? A. No. You can only choose one of them. Q. If I changed my Fargo Maestro with the VAF installed, can it be changed back to have TCP/IP feature? A. It depends. Contact Distributor or FargoTelecom Q.