User manual
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
58
17 REMOTE PROGRAM UPDATE
By using this feature, user can download the new version of Maestro Power Pack program from a FTP server and
upgrade the program. By combining Remote AT command by SMS feature user can control the Maestro to complete the
program downloading and updating process remotely.
To perform the whole program update process, several AT commands (steps) have to be sent:
1. AT+IPGPRS to set network parameters (APN)
2. AT+IPFTP to set FTP server parameters (name, user id, password)
3. AT+FTPDOTA to set filename and FTP path and start downloading (*)
4. AT+ADINSTALL to install the downloaded new program (*)
(*) Note: by adding one extra parameter after step 3 complete, step 4 will be executed automatically. See following
sections for details
17.1 AT command for Remote program update
17.1.1 AT+IPFTP command
This command is to set FTP server parameters
Command Syntax:
AT+IPFTP =<port>,<type>,<mode>,<server>,<id>,<pwd>
Response syntax:
OK
Command
Possible responses:
AT+IPFTP= 21,”I”,”A”,”201.123.222.222”,
”userid”,”pssd”
OK
Note : setup FTP parameter
AT+IPFTP=?
+IPFTP: (0-65535), (“A”,”I”,”E”),(“P”,”A”),(120),(64),(64)
Note : possible argument
AT+IPFTP?
+IPFTP: 21,”I”,”A”,”201.222.222.222”,”userid”,”pssd”
OK
Note: display current setting
Defined Values :
<port>
Port number of the FTP server. Default value is 21
GPRS
AT+IPFTP=21,”A’,”I”,”123.456.789”,”id”,”pwd”
AT+FTPDOTA=”new_prog.dwl”,1
FTP server
AT commands to start download and update
download file
from FTP server