User Instructions
The WIFI gets the information from the server / APP:
1、Internet Time (only valid after the product time is issued by the product order)
2、User data (voice, control instructions, etc.)
3、OTA upgrade(Users upgrade the WIFI through the APP)(Specialized OTA software, which the APP does not need to
do)
port
functional
description
data head
(data[0])
directive
(data[1])
Content
(data[2])
persist
(data[3]
)
persist
(data[4])
persist
(data[5])
Accumulation
and check
(data[6])
OTA
function
6090
Inform the
device to
start the
OTA
0x17
0x38 (Start
of OTA)
For example, as
0x64 (100), the
data [3] ~data
[3 + 100-1] is
in the json
range
Content of json such as: {"url": "http: /
/ 192.168.1.1:8090 / ota_file"}
According to the
calculation
Equipment
feedback on
the OTA
progress
0x17|0x80
0x39 (ota
progress
report)
Like 0x05 (5),
indicates data
[3] ~data [3 +
5-1]
In
progress,
bit7:1 OTA
bit6~bit0:
OTA%
data[4]
persist
data[5]
persist
data[6]check