cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

Dear

I am testing for upgrade with Android application but not work.

On web browser in Windows PC, it works well.

If there is any material for HTTP Post, please share it.

If you can inform me any thing, that would be good.

If you have the example codes for Android and can send it, that would be better for me.

Please, review the code attached.

Thank you for all your help.

0 Likes
3 Replies
Anonymous
Not applicable

Hi

I want know the packet format or arguments(sequence) at least.

When I sent a packet with HTTP Post that I attached in previous question.

I can see "OTA Upgrade complete, device rebooting" message.

But it loads an application in external flash. That means upgrade failed.

Please, help.

static const char send_update_page[] =

    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd\">\n"

    "<html>\n"

    "  <head>\n"

    "    <title>Broadcom WICED Web Server</title>\n"

    "  </head>\n"

    "  <body style=\"font-family:verdana;\">\n"

    "    <h2><span style=\"color:#ff0000\"> Broadcom</span> WICED Web Server : OTA Upgrade</h2><hr>\n"

    "    <p>OTA Upgrade complete, device rebooting ...</p>\n"

    "  </body>\n"

    "</html>\n"

    "";

Thank you.

Have a Good day~

0 Likes
GregG_16
Employee

Hello,

Different browsers handle things differently.

Certainly, the browser in Android may be different from a PC, in the way it handles POST. Some browsers can split files up while others don't. So we get the wrong status back.

Can you provide Android version and Browser used?  We will have to try to duplicate this.

0 Likes
Anonymous
Not applicable

Discussion is being locked. If you have any follow-up, please start a new discussion.

0 Likes