OTA upgrade webpage IE ajax

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Geva_2134536
Level 3
Level 3
First like received First like given

Hello,

The ota webpage didn't work properly in Internet Explorer 11, when clicking the "start upgrade" button it returned an invalid state error.

This can be fixed inside "ota_server_web_page.c"  by moving:

"        xhr.timeout = 2000;\r\n" \

to below

"        xhr.open('POST', upgrade_chunk_url_with_query , true);\r\n" \

IE apparently doesn't allow to set the  timeout before the connection is opened.

Cheers,

Gerard

0 Likes
1 Reply