I have been testing the HTTP FOTA procedure as documented here using the 1.5.0 test diffs as provided in nRF93M1: Test firmware updates .
Many of the messages output by the modem in this upgrade process are not documented, or conflict with the documented behavior.
For the successful FOTA process from the following message, here is what I observed:
Request%HTTPFOTADL=raw.githubusercontent.com/.../mfw_nrf93m1_update_from_1.5.0_to_1.5.0-FOTA-TEST.bin,100
Responses
%HTTPURC: "FOTA","DOWNLOAD START"
%HTTPURC: "FOTA","DOWNLOADING,27"
%HTTPURC: "FOTA","DOWNLOADING,100"
%HTTPURC: "FOTA","DOWNLOADED"
%HTTPURC: "FOTA","VERIFIED"
No problems up until this point, matches documentation.%HTTPURC messages now stop, switching to %FOTA
Note that the %FOTA messages are not mentioned at all on AT%HTTPFOTADL docs, so I am referring to %FOTA.
%FOTA: "UPDATING",18
...
%FOTA: "UPDATING",100
%FOTA: "DONE",0
Both the UPDATING and DONE messages are not documented anywhere, and they also don't follow the same form as the the documented %FOTA notifications, as they are quoted from the modem, while the doc examples are unquoted. If the notifications are supposed to follow the docs, I would have expected a "UPGRADING" message, not "UPDATING".
I would like to know whether the modem behavior is a bug that will be changed in the future, or whether the documentation is incorrect/lacking.