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.

about change ota update server

Other Parts Discussed in Thread: CC3200

      1、Now i am studying OTA update with 3200.Because i can't use dropbox,i want to change the server to other Service Cloud.I want to know which parameter should be changed.Such as 

#define OTA_SERVER_NAME "api.dropbox.com"
#define OTA_SERVER_IP_ADDRESS 0x00000000
#define OTA_SERVER_SECURED 1
#define OTA_SERVER_REST_UPDATE_CHK "/1/metadata/auto/" // returns files/folder list
#define OTA_SERVER_REST_RSRC_METADATA "/1/media/auto" // returns A url that serves the media directly
#define OTA_SERVER_REST_HDR "Authorization: Bearer "
#define OTA_SERVER_REST_HDR_VAL "<dropbox access key>"
#define LOG_SERVER_NAME "api-content.dropbox.com"
#define OTA_SERVER_REST_FILES_PUT "/1/files_put/auto/"
#define OTA_VENDOR_STRING "Vid00_Pid00_Ver00"

     And are there other jobs should be done to make it come true.

     2、 I want update the firmware in Local Area Network or setting the 3200 in AP mode.Through a wireless connection to the device,sending files to it to update.Can i make it come true using the current APIS.

  • Hi,

    Regarding you first question, please check the section 'Porting OTA Library to other servers' in docs\examples\CC3200 Over-The-Air (OTA) Update Application Note.pdf.

    Regarding second, I didn't get your question. The library only works with Dropbox and works only in pull mode, meaning the device (running OTA library) that wants update regularly polls Dropbox server for update.

    Thanks and Regards,
    Praveen
  • Hi,

        Because i am in china,now Dropbox is unsupported in china.So i want to change a server cloud.I have look the 'Porting OTA Library to other servers',and change the parameter,but it dosen't work.I want to know where should i change.

  • Hi,

    Porting the library to a new server would require adapting the low level protocol(s) to that of the new server.

    As a generic guideline the section 6.2.2 OTA Client Functions lists few function that you will have to re-implement.

    Thanks and Regards,
    Praveen