Hi,
I successfully performed an OTA.Update via GCP.
how can I receive the progress of the OTA.
I saw in console that I receive these messages:
“mgos_ota_core.c: 506 79.37% total, bootloader.bin 512 of 23152”
I added this listener but it only works when the OTA starts:
Event.addHandler (Event.OTA_TIME_CHANGED, function (ev, evdata, arg) {
print (‘OTA:’);
}, null);
I also tried this listener but it doesn’t work:
Event.addHandler (Event.OTA_STATUS, function (ev, evdata, arg) {
print (‘OTA_STATUS:’);
}, null);
Are there other listeners?
thank you very much