11F., No.2, Sec. 4, Jhongyang Rd., Tucheng Dist., New Taipei City 236, Taiwan (R.O.C.)
Tel: 886-2-22694456
|
Fax: 886-2-22694451
|
46
www.etek.com.tw
©
U
n
ic
tr
on
T
ec
h
n
olo
gie
s C
or
p
.
A
ll
spe
cif
ic
at
io
n
s
su
bje
ct
to
c
h
an
g
e
w
ith
ou
t n
oti
ce
.
www.sanav.com
www.unictron.com
Firmware upgrade Over The Air (FOTA) function
Use this command to upgrade firmware from a file on http server.
Setup Format: #<User Name>, <Password>,<Function Code>, <URL of firmware>*
Command: #
UserName,0000,fota,Http://220.128.123.1:8000/NB5-F5359-0609201617-VA1.0.3-OTA(00383390).txt*
SMS/ COTA Command Description
#
Start sign.
UserName
Default ID of the device.
If you have changed the user name, please use the updated one.
0000
Default password.
If you have changed the password, please use the updated one.
Function Code
Code “fota” defines the firmware upgrade function.
URL of firmware
URL of firmware file on http server, file name could be any, but need add
a –OTA(filesize) at file name tail, filesize must be 8 digit with 0 prefix.
*
End sign.
Table: FOTA command Format Description
Table: FOTA command Response Description
Situation
Message Reply
command Succeed
[username] +
, Device OTA Process Start.
Upgrade completed
[username] + , Download success. Device will start update and reboot.
Upgrade fail
[username] + , Server Return File Not Found, or file size not matching.
Or
[username] + , Download fail. Receive data not complete.
Or
[username] +, erase flash fail. OTA is canceled.
command fail
[username] + , command error.