User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
60
AT+FTPDOTA=update1.dwl
+FTPDOTA: -3
OK
Note : error on downloading file (FTP open fail)
AT+FTPDOTA=?
+FTPDOTA: (128)[,(128)]
Note : possible argument
Defined Values :
<filename>
File name of the file to be downloaded. Maximum 128 characters.
<path>
Path (directory) name where the file is placed. Maximum 128 characters. If <path> is omitted, program will try to
download from FTPs root (entry) directory. Maximum 128 characters.
<update>
If a third parameter ‘1’ is entered, the program will execute the AT+ADINSTALL command if the download process is
successful. This is useful for sending update commands over SMS, so that one SMS is saved in this case. See next
section for the details of AT+ADINSTALL command.
<result>
Result code of the downloading process
Result code
explanation
Comments / countermeasure
0
Download successful
-1
SIM card problem
Check SIM card and PIN
-2
Internal memory problem
Try reset modem
-3
FTP connection fail
Check network signal, check FTP status, check
FTP address
-4
A&D Format error
Contact Maestro Wireless
-5
Download file size not same as FTP reported
Retry downloading
-6
Not enough space for downloading
Contact Maestro Wireless
-7
File format incorrect
Check file for downloading
-8
Error writing flash
Contact Maestro Wireless
4xx 5xx
FTP protocol return code
Check FTP document (RFC 959) for explanation
17.1.3 AT+ADINSTALL command
This command is perform the program update process. File downloaded by AT+FTPDOTA command will replace the
existing Maestro Smart Pack program. Modem will restart and then restart result and version will be displayed.
Command Syntax:
AT+ADINSTALL
Response syntax:
+ADINSTALL: <result>, <ver>
Command
Possible responses:
AT+ADINSTALL
+ADINSTALL: 2
M100_VAF_094d_OAT316_32 Nov 11 200718:01:42
Note : update successful, show existing version of
Maestro Smart Pack
AT+ADINSTALL
+ADINSTALL: 3
M100_VAF_094b_OAT314_32 Jun 11 200718:01:42
Note : update unsuccessful, show existing version of
Maestro Smart Pack
AT+ADINSTALL
+CEE ERROR: 3
Note : update unsuccessful, no update file available