Hi,
1) I am trying to do HTTP/s based OTA - Update using Azure SDK. (Please suggest any other best way to perform OTA over Azure SDK).
Able to compile and run "simplesample_http" example from Azure sdk <C:\ti\azure_cc32xx_4_10_01_01\examples\rtos\CC3220SF_LAUNCHXL\azure\simplesample_http>.
Based on this example (IOTHUB_CLIENT_LL), Is it possible to perform HTTP GET / POST operation, so that I can download the binary from the Azure -cloud?
I mean, looking for HTTPAPI_ExecuteRequest() equivalent API for IOTHUB_CLIENT_LL.
As I am new to Azure MOCKABLE AP,I not able to map the actual client API calls. Please give some reference to map azure MOCKABLE_FUNCTION APi to Actual HTTP / MQTT Client API.
2) Also, tried HTTP Client API direct accessing (from azure's httpapi_sl.c & httpapi.h). by taking the reference "uhttp" example code (C:\ti\azure_cc32xx_4_10_01_01\source\third_party\azure-iot-pal-simplelink\sdk\deps\uhttp\samples\uhttp_sample)
But I am facing the "HTTPAPI_OPEN_REQUEST_FAILED".
Please find the attached code snippet.
84869-azurehttp.txt
This way can I perform HTTP calls? If Yes, Where I am missing please guide me to override "HTTPAPI_OPEN_REQUEST_FAILED".
Regards,
Suresh