User manual
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
59
<type>
Translation of carriage return, valid values are:
I image (no translation, default),
A ASCII
E EBCDIC
<mode>
Passive or Active mode valid values are:
P passive (default),
A active
<server>
IP address of FTP server (in xxx.xxx.xxx.xxx format) or an alpha numeric string format (e.g. ftp.server.com
)
Maximum 120 characters.
Note : if alpha numeric string format is used, make sure the GPRS network has proper DNS service available.
<id>
login name of the user. Maximum 64 characters,
<pwd>
password for the user. Maximum 64 characters,
17.1.2 AT+FTPDOTA command
This command is to inform the modem the filename and FTP path. The modem will login to the FTP server; download the
update file, and optionally execute the update process.
Command Syntax:
AT+FTPDOTA =<filename>[,<path>],[,<update>]
Response syntax:
+FTPDOTA : 0, <filename>, <filesize>
+FTPDOTA : <result>
+ADINSTALL : <adinstall result>
Command
Possible responses:
AT+FTPDOTA=”update.dwl”
+FTPDOTA: 0, update.dwl, 17000
OK
Note : download “update.dwl” file from FTP root
directory, file size is 17000 bytes
AT+FTPDOTA=”update1.dwl,”sub”
+FTPDOTA: 0, update.dwl, 17001
OK
Note : download “update1.dwl” file from FTP “sub”
directory, file size is 17001 bytes
AT+FTPDOTA=”update1.dwl,”sub”,1
+ADINSTALL: 2
M100_VAF_094d_OAT316_32 Nov 11 200718:01:42
Note : download “update1.dwl” file from FTP “sub”
directory, and perform program update successfully
AT+FTPDOTA?
+FTPDOTA: update.dwl, 17001
OK
Note : check downloaded file ready for update
AT+FTPDOTA?
+FTPDOTA:
OK
Note : no downloaded file