mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-10 16:15:42 +00:00
BL09XX - implemented saving of consumption history
HAL - Added fields for saving metring variables OTA - added donwload progress in HTTP front page MAIN - added Saving of metering status before reboot.
This commit is contained in:
@ -582,6 +582,11 @@ int http_fn_index(http_request_t* request) {
|
||||
hprintf255(request, "</h5>");
|
||||
}
|
||||
|
||||
if (ota_progress()>=0)
|
||||
{
|
||||
hprintf255(request, "<h5>OTA In Progress. Status: %06lXh</h5>", ota_progress());
|
||||
}
|
||||
|
||||
// for normal page loads, show the rest of the HTML
|
||||
if (!http_getArg(request->url, "state", tmpA, sizeof(tmpA))) {
|
||||
poststr(request, "</div>"); // end div#state
|
||||
|
||||
Reference in New Issue
Block a user