© 2022 ANTZER TECH CO., LTD.
32
//FOTA Firmware upgrade by OTA(Over The Air)
This command is used to upgrade firmware by WWAN (TCP/UDP port)
The device is using FTP (File Transfer Protocol) connect to specific FTP server and upgrade
firmware automatically. Note: please check the WWAN connection is on line for making sure
FOTA command works fine. After the AT+FOTA command is issued, the device will restart and
start doing firmware upgrade automatically. The FOTA report (Event Code=6 or 7 see Table A)
will be sent when the new firmware upgrade process is completed.
Table A. Event Code and Event Parameters
Event Code
Event Params
Descriptions
2
NULL
GPRS Time based tracking event
6
NULL
Firmware Update successfully
7
NULL
Firmware Update failed
Syntax:
AT+FOTA,<Enable>,< IP address>,<User name>,<Password>,<FTP mode>,<port>,<firmware
filename>
<Enable> :
0 : Disable
1 : Enable
< IP address> :
Specify FTP server IP address.
<User name> :
FTP server login user name.
<Password> :
FTP server login password.
<FTP mode> :
0 : Passive Mode (Default)
1 : Active Mode
<port> :
Specify FTP server port, the default FTP port is 21.
<firmware filename> :
Specify firmware filename on the FTP server.