This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC3235SF: CC3235 OTA update using HTTP protocol

Part Number: LAUNCHXL-CC3235SF

According to swra510b.pdf Application Report TI WiFi chip supports OTA file transfer using Dropbox and Github Cloud support only.

According to TI source files OTA could support firmware update over HTTP.

Could you provide TI example code of OTA working with general HTTP server (neither Dropbox nor Github) using GET request?

  • In general, the Cloud OTA process is composed of 2 stages:

    (1) connecting to a CDN server to get a download link from a file server ((in our examples we show Dropbox and Github as examples).

    (2) connecting to a File server (using the given link) to download the content with HTTP GET

    If you want to use the 2nd step only (i.e. you already have the link to the file server), you can compile the OTA library with the "OTA_SERVER_TYPE" defined as "OTA_FILE_DOWNLOAD" (#define OTA_SERVER_TYPE   OTA_FILE_DOWNLOAD)
    Alternatively you can use the OTA_IF API in SDK6.10 (see instructions in the mqtt_client README) which contains a simple API  ("OTA_IF_downloadImageByFileURL()") to read (using HTTP GET) the tar file from the server.