User manual

Chapter 4 Configuration
Page 27 Dec 2009
4.2 Configuration using AT Commands
Depending on the application, it may be necessary to access the full functionality of the 605M-D1 using the AT
Command set. A list of supported AT commands is provided in Appendix A of this manual. The following sections
describe how to:
configure the modem for GPRS access
connect via FTP
send and receive SMS messages
and how to check and monitor network status.
NOTE When using Host equipment that controls the modem using AT commands you may want to disable the
Automatic connection mode of operation. To do this, you need to enter the command
AT#ESCRIPT=””
This command only needs to be entered once to disable the automatic connection mode. If automatic connection
mode is not disabled, the host equipment must send AT commands to the modem within 10 seconds after power up
to ensure the modem doesn’t attempt to connect automatically.
4.2.1 FTP File Transfer
A set of AT commands is available to support the FTP activities.
Setting up the FTP Timeout
The first command is called #FTPTO (FTP Time-Out) which defines the time-out for FTP operations. The module has
already a factory default time defined that is 10s.
If it is needed to be modified, the syntax is:
AT#FTPTO[=<tout>]
Parameter:
<tout> - time-out in 100 ms units
100..5000 - hundreds of ms (factory default is 100)
NOTE: The parameter is not saved in NVM.
NOTE: if parameter <tout> is omitted the behavior of Set command is the same as Read command.
Example:
AT#FTPTO=1000<cr> (set the timeout to 100sec)
OK
Opening and Closing an FTP Connection
With the command AT#FTPOPEN=<server:port>,<username>,<password>,<mode> is possible to open the FTP
connection. The parameters are:
<server:port> - string type, address and port of FTP server (factory default port 21).
<username> - string type, authentication user identification string for FTP.
<password> - string type, authentication password for FTP.
<mode>
0 - active mode (default)
1 - passive mode
In order to close the FTP connection the AT command AT#FTPCLOSE should be used.