




900 / 1800
Value Added Feature
USER MANUAL
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd.


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 improve the product and its accessories which can also be withdrawn without prior notice. Besides, our company stresses the fact that the performance of the product as well as accessories depends not only on the proper conditions of use, but also on the environment around the places of use.
Fargo Telecom AsiaLtd assumes no liability for damage incurred directly or indirectly from errors, omissions or discrepancies between the modem and the manual.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd.



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.
Not all Fargo Maestro can have the Value-added feature installed, so you need to check if your Fargo Maestro before installation first.
2.1.1 Identifying F argo Maestro 20
Start HyperTerminal, choose correct baud rate to communicate with the modem (default is 9600bps, 8N1)
Then enter the following and see the response according to the following table :
If you get the same response then this modem is ready for installation.
2.1.2 Identifying Fargo Maestro 100
Start HyperTerminal, choose correct baud rate to communicate with the modem (default is 115200bps, 8N1)
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 2

Then enter the following and see the responses according to the following table:
If you get the same response then this modem is ready for installation.
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 downloading the Value added feature. Again, on HyperTerminal enter the following commands step by steps :
2.2.2 Downloading the file
a. Check the HyperTerminal is configured with setting “8 data bits, no parity, 1 stop bit, and
hardware flow control (CTS/RTS)
b. For Fargo Maestro 20, it is suggested to set the baud he RS232 link is changed to 115200
bps. You can first start HyperTerminal session with 9600 bps. The on the screen type command AT+IPR = 115200 and then press “Enter”. Then change the HyperTerminal speed to 115200bps. (For Fargo Maestro 100 the default speed is 115200bps)
c. On the screen type the command AT+WDWL and then press “Enter”. The modem should
answer +DWL: 0, and then a series of strange characters appears or the cursor is just moving forward slowly. (the module is sending the first characters of the Xmodem protocol).

d. Then on HyperTerminal you choose “Transfer” –“Send File”
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 3

e. When you see the dialog box, on the “Filename” you choose file according to the modem:
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 :
Now the Fargo Maestro Value added Feature installation has been done. You can follow other chapters to use the features.
Not all Fargo Maestro can have the Value-added feature installed, so you need to check if your Fargo Maestro before installation first.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 4

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 serial device connected to Fargo Maestro.
Wait for 20 secs
GPRS attach OK ?
GPRS activation OK ?
Client mode ? OK to open pre-defined
Open TCP/UDP socket, connect to
Open TCP/UDP socket, connect to
GPRS attach fail ?
GPRS attach fail ?
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 5

3.2.1 AT+AUTOTCP
Description:
This command controls the Maestro 100 to start TCP socket connection automatically.
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
1 enable auto TCP 0 disable auto TCP
Notes : - Before enabling Auto TCP, it MUST be properly set the GPRS settings by AT+IPGPRS command and TCP settings by AT+IPTCP command - ONLY GPRS PDP context # 1 will be used. So please setup +IPGPRS settings with =1 - Once AutoTCP is enabled, it will start the TCP socket connection automatically after 20 seconds. - Once the TCP connection is established successfully, the serial port will go to data mode, all data entered to the serial port will be sent to remote TCP peer. No more AT commands will be accepted then. - In TCP connected data mode, the DSR and DCD signals of the serial port will go to high.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 6
Command Syntax AT+AUTOTCP= · <mode>

- 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)
Description:
This command specifies the TCP socket parameters and mode that to be used by AT+AUTOTCP command.
<port> The port number to be used for the TCP socket connection. Default value is 0. Valid range is 0 to 65535.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 7
Command Syntax AT+IPTCP=,,,

<mode> 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 <address>) “C” Client (caller) mode. This configures Fargo Maestro to request opening a TCP to the server with the specified address and port.
<address> The address of the TCP server (or host). Default value is empty. Legal values could be 32-bit in dotted-decimal notation (i.e. xxx.xxx.xxx.xxx) or alphanumeric ASCII test string up to 120 characters (only if DNS is available on the GPRS network) Note: In “Server” (Listening) mode the modem will only accept TCP connection request for the caller with address specified in the <address> field. Yet if the address is set to “255.255.255.255” the modem will accept request from ANY address.
<TCPTxDelay> This parameter determines the time delay introduced before sending a TCP frame that has not been entirely filled with user data. The timer is entered in milliseconds and it should be noted that a value of ‘0’ initiates the sending of a TCP frame as soon as possible after the reception of a single character value from the host. The default value is 100.
Description:
This command controls the Maestro 100 to start UDPcket connection automatically.
AT+IPUDP and AT+IPGPRS command respectively. - +AUTOUDP function is mutually exclusive with +AUTOTCP function; if +AUTOTCP is set to 1
already you will get ERROR on enabling AUTOUDP
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 8
Command Syntax AT+AUTOUDP=

<mode> 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 <cid>=1 - Once AutoUDP is enabled, it will start the UDP socket connection automatically after 20 seconds. - Once the UDP connection is established successfully, the serial port will go to data mode, all data entered to the serial port will be sent to remote TCP peer. No more AT commands will be accepted then. - In UDP connected data mode, the DSR and DCD signals of the serial port will go to high. - If the UDP 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 AUTOUDP will be restarted with the 20 seconds delay after power up. - To stop auto UDP connection, you need to enter the command AT+AUTOUDP=0 within 20 seconds after power up, or during reconnection (serial port back to command mode)
Description:
This command specifies the UDP socket parameters and mode that to be used by AT+AUTOUDP command.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 9
Command Syntax AT+IPUDP=,,,

<port> The port number to be used for the UDP socket connection. Default value is 0. Valid range is 0 to 65535.
<mode> Mode of UDP operation. Default value is “S”. “S” Server (Listening) mode. This configures Fargo Maestro to open a listening UDP connection on the specified port. The UDP connection will be active upon getting socket connection request from the allowed remote UDP peer (see <address>) “C” Client (caller) mode. This configures Fargo Maestro to request opening a UDP to the server with the specified address and port.
<address> The address of the UDP server (or host). Default value is empty. Legal values could be 32-bit in dotted-decimal notation (i.e. xxx.xxx.xxx.xxx) or alphanumeric ASCII test string up to 120 characters (only if DNS is available on the GPRS network) Note: In “Server” (Listening) mode the modem will only accept UDP connection request for the caller with address specified in the <address> field. Yet if the address is set to “255.255.255.255” the modem will accept request from ANY address.
<UDPTxDelay> This parameter determines the time delay introduced before sending a UDP frame that has not been entirely filled with user data. The timer is entered in milliseconds and it should be noted that a value of ‘0’ initiates the sending of a UDP frame as soon as possible after the reception of a single character value from the host. The default value is 100.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 10

Description: This command is used to setup GPRS network parameters for the AutoTCPUDP feature.
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
<Cid> PDP context identifier. Note: to use with AT+AUTOTCP/ AT+AUTOUDP command this value must be set to 1.
<APN> Access point name of the GPRS network. Max 100 characters.
<UN> User name to access the GPRS service. Max 50 characters.
<PW> Password used to access the GPRS service. Max 50 characters.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 11
Command Syntax · AT+IPGPRS=,,,

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
18 bytes of data sent from TCP or UDP socket to modem

15 bytes (multiple of 5) data sent out to serial port, remaining data buffered inside the modem
Command Possible responses: AT+ IPBUFF? +IPBUFF: 0 OK Note : show current settings AT+ IPBUFF =10 OK Note : set the IPBUFF value to 10 AT+ IPBUFF =0 OK Note: disable buffering when set the value to 0
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 12
Command Syntax AT+IPBUFF=

<buff> The number of bytes of data to be buffered. Default value is 0 (i.e. no buffering). Valid range is 0 to 50.
- 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

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.

to modem by SMS

return response by SMS
a. The content of SMS sent to the modem is using standard 7-bit GSM data decoding scheme, b. The first 6 characters of the SMS content matches the <key> parameter set by AT+SMSAT
command, (default key is “000000”) c. The 7th and 8th characters of the SMS content is “AT” (in capital letters)
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 14

4.2.1 AT+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 <key> value AT+ SMSAT =? +SMSAT : (0-2),(6) OK Note : possible argument
<mode> 0 disable remote AT command by SMS 1 enable remote AT command by SMS
<key> A 6-digit numeric character key from 000000 to 999999. Only incoming SMS with the first 6 characters matching with this key will be treated as a valid source of remote AT command.
This feature will not ‘judge’ the result of executing the command, so care has to be taken not to enter improper command that make the modem becoming out of control:
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 15
Command Syntax AT+SMSAT=(,)

Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 16

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.
Wiring Diagram :

When set as low-to-high triggering:
Start counting time when a low to high signal changed detected
when period of high signal reach the Threshold value the AT command will be executed
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 17
I/O port · I/O port volatge · time = T

When set as high-to-low triggering :
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.1 AT+IOAT
Command Syntax AT+IOAT=(,,, )
Command Possible responses: AT+IOAT=0 OK Note : disable I/O triggered AT command execution AT+IOAT =1 OK Enable remote I/O triggered AT command execution AT+ IOAT? +IOAT : 1,1, 10,”AT+CMSS=5” OK Note display current status AT+IOAT=2,1,10,”AT+IPR=115200” OK Note: set the parameters < dir>, <Threshold>, <cmd> low-to-high triggering, Threshold=1000 ms command is “AT+IPR=115200” AT+ IOAT =? +IOAT : (0-2),(0-1),(1-50),(128) OK Note : possible argument
<action> 0 disable I/O triggered AT command execution 1 enable I/O triggered AT command execution 2 configure I/O triggered AT command parameters
<dir> 0 configure as low-to-high triggering 1 configure as high-to-low triggering
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 18
I/O port voltage · time = T

<Threshold> 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.
<cmd> 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
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 19

The Fargo Maestro Value Added Feature will affect certain other AT commands’ operation. Please note :
To save the above settings please enter AT&W separately.
Please read also Chapter 7 for other issues.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 20

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. I have downloaded the dwl file, and entered AT+WOPEN=1, but I still cannot use those
features, why ? A. It could be installation problem. You can issue command AT+WOPEN=0, then AT+WOPEN=4, then repeat the download procedure. If this still not help you may need to re-flash the main firmware first.
Q. Can I stop the VAF ? A. Yes, you can enter AT+WOPEN=0 to stop.
Q. I get message “Invalid modem” message after downloading and issuing AT+WOPEN=1, why ? A. Maybe you have downloaded file into incorrect or damaged modem. Please contact FargoTelecom.
Q. Can I specify <server> by URL (e.g. xxxx.com) rather than IP address? A. Yes, but only if your GPRS network have proper DNS service. You cannot specify your own DNS server
Q. If I enabled AutoTCP or AutoUDP, how can I stop it ? A. You can cut the power or issue a reset command (AT+CFUN=1) through SMS (when AT command by SMS feature is enabled). After restarting the modem has 20 seconds for your to enter AT+AUTOTCP=0 or AT+AUTOUDP=0
Q. Can I send any AT command to control other features described in this document? A. No. AT commands described in this document cannot be sent over SMS.
Q. Can I put any AT command to control other features described in this document? A. No. AT commands described in this document cannot be executed by this feature.
Confidential, the whole present document is the sole property of Fargo Telecom (Asia) Ltd. 21
Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.