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.

OTA server change in cc3200

Other Parts Discussed in Thread: CC3200

Hai all,

In OTA update instead of using drop box can we use any personal server configurations i hope i can do that but before proceeding need some clarification.

  • Hi,

    You can very well use any server for the OTA update. Please refer to Section 6 of OTA App note for instruction on porting the OTA library to other server.

    Regards,
    Ankur
  • Hai Ankur,

    First of all thanks for the quick reply,

    After Referring section 6.0 i am having few queries they are,

    #define OTA_SERVER_NAME "api.dropbox.com"  // instead of this shall i use my server  eg like 1.254.254.254
    #define OTA_SERVER_IP_ADDRESS 0x00000000 // this ip address shall i leave as it is.
    #define OTA_SERVER_SECURED 1 // for this secured also shall i leave as it is
    #define OTA_SERVER_REST_UPDATE_CHK "/1/metadata/auto/" // for this what should i need to configure
    #define OTA_SERVER_REST_RSRC_METADATA "/1/media/auto" // returns A url that serves the media directly
    #define OTA_SERVER_REST_HDR "Authorization: Bearer " // shall i give my server user name here like "checking"
    #define OTA_SERVER_REST_HDR_VAL "M84AChxBEoAAAAAAAAAAGIQHs4LD5u5ao7GELhUnlwUE34AtcZawZiYd023-8oi8" //shall igive here as my server password "password"
    #define LOG_SERVER_NAME "api-content.dropbox.com" // here what log server name
    #define OTA_SERVER_REST_FILES_PUT "/1/files_put/auto/" // what rest files should be configured
    #define OTA_VENDOR_STRING "Vid01_Pid00_Ver00"

    for the above error how can i discuss with my server guy for getting those details awaiting for your answer thanks in advance.

  • H ankur,

    Do u have any answer for the above query? waiting for ur response.

  • Hai all,

    I need to change the OTA server into my own server but in my own server i don't have any rest api configuration i need to know how can i establish my own server with existing dropbox server i gone through the section 6.0 but i am not having enough answer in that could any one can able to answer this query in TI.

  • Hi R.K.,

    These setting depends on the server used and the Use case of each of these header and function is described in section 6 and subsequent subsections of "CC3200 Over-The-Air (OTA) Update Application Note". The example for the excosite cloud is provided in the document.

    Regards,
    Ankur
  • Hai ankur,

    Is it possible to update the OTA with ip address instead of server domain name.

  • Yes, you can use IP instead of domain name.

    Regards,
    Ankur
  • Hi,

    I am closing this thread, if you have follow up queries please open a new thread and add a link to this one for reference.

    Regards,
    Ankur