Application Guide
Wifi AudioHttp API
23 / 26
2.9.6 Get the upgrade percent
http:// 10.10.10.254/httpapi.asp?command=getMvRomBurnPrecent
{"status":"0","progress":"50"}
status
0 in progress
-1 failed
progress
0~100
2.10 Alarm clock
2.10.1 time sync
If the device has no internet access, you need to sync its time with:
http://10.10.10.254/httpapi.asp?command=timeSync:YYYYMMDDHHMMSS
YYYY is year(such as 2015),MM is month (01~12),DD is day (01~31),HH is hour (00~23),MM is
minute (00~59),SS is second (00~59)
In UTC
2.10.2 alarm set
http://10.10.10.254/httpapi.asp?command=setAlarmClock:n:trig:op:time[:day][:url]
n: 0~2,currently support max 3 alarm
Trig: the alarm trigger:
0 cancel the alarm, (AXX+TMR+S010&)
1 once,day should be YYYYMMDD
2 every day,day is no need
3 every week,day should be 2 bytes (00”~“06”), means from Sunday to Saturday.
4 every week,day should be 2 bytes, the bit 0 to bit 6 means the effect,for example, “7F”
means every day in week, “01” means only Sunday。
5 every month,day should be 2 bytes (“01”~“31”)
op: the action
0 shell execute