~aleteoryx/muditaos

muditaos/doc/Images/fota/dfota_workflow.puml -rw-r--r-- 552 bytes
a405cad6Aleteoryx trim readme 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@startuml
skinparam BackgroundColor F0F0F0
start
:User checks firmware version;
:Read current version;
note right
    Read from modem with AT+QGMR
end note
:Download versions file from server;
note right
    Simple file format:
    <current versions>:<new version>:<delta file>
end note
:parse file;
note right
    based on current version, get <delta file>
end note
if (user allows update) then (yes)
    :Download & install new firmware;
    note right
        use command
        AT+QFOTADL=<httpURL>
    end note
endif
:reboot device;
stop
@enduml