Dear all,
I have troubles with the OTA update with recently released SDK 1.3.0.
I've been using the OTA with SDK1.2.0 for several months. I did integrate it into my application and everything was OK. Now I moved to SDK 1.3.0 and it stopped working at all.
So I tried to test it with the example application (ota_update_os). If I define the Dropbox API v2:
#define OTA_DROPBOX_V2
in "C:\...\CC3200SDK_1.3.0\cc3200-sdk\simplelink_extlib\ota\OtaCommon.h", recompile and import the library, the OTA will not proceed.
The OTA update status I'm getting (UART output) is:
In Progress...
Error Retrying...
Completed
and then it get stuck. It does not reboot. The new image is not set.
If I do comment:
// #define OTA_DROPBOX_V2
everything is OK. So it seems the problem is related to Dropbox API v2 only.
Also, when using Dropbox API v2, is the definition in the "otaconfig.h" correct?
#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 "<my token>"
#define LOG_SERVER_NAME "api-content.dropbox.com"
#define OTA_SERVER_REST_FILES_PUT "/1/files_put/auto/"
#define OTA_VENDOR_STRING "Vid01_Pid00_Ver00"
shouldn't it be something like:
#define OTA_SERVER_NAME "api.dropbox.com"
#define OTA_SERVER_IP_ADDRESS 0x00000000
#define OTA_SERVER_SECURED 1
#define OTA_SERVER_REST_UPDATE_CHK "/2/files/get_metadata" // returns files/folder list
#define OTA_SERVER_REST_RSRC_METADATA "/2/files/get_temporary_link" // returns A url that serves the media directly
#define OTA_SERVER_REST_HDR "Authorization: Bearer "
#define OTA_SERVER_REST_HDR_VAL "<my token>"
#define LOG_SERVER_NAME "api-content.dropbox.com"
#define OTA_SERVER_REST_FILES_PUT "/2/files/upload"
#define OTA_VENDOR_STRING "Vid01_Pid00_Ver00"
Is anywhere updated documentation related to the OTA and Dropbox API v2? The document in "C:\...\CC3200SDK_1.3.0\cc3200-sdk\docs\examples\CC3200 Over-The-Air (OTA) Update Application Note.pdf" seems to be obsolete.
I will appreciate any advice.
Thanks
Daniel