corrected version (with typedef struct IOTHUB_CLIENT_LL_UPLOADTOBLOB_HANDLE_DATA* IOTHUB_CLIENT_LL_UPLOADTOBLOB_HANDLE;) included in the sources
Dependents: STM32F746_iothub_client_sample_mqtt
Fork of iothub_client by
blob.h File Reference
Contains blob APIs needed for File Upload feature of IoTHub client. More...
Go to the source code of this file.
Functions | |
DEFINE_ENUM (BLOB_RESULT, BLOB_RESULT_VALUES) MOCKABLE_FUNCTION( | |
Synchronously uploads a byte array to blob storage. |
Detailed Description
Contains blob APIs needed for File Upload feature of IoTHub client.
IoTHub client needs to upload a byte array by using blob storage API IoTHub service provides the complete SAS URI to execute a PUT request that will upload the data.
Definition in file blob.h.
Function Documentation
DEFINE_ENUM | ( | BLOB_RESULT | , |
BLOB_RESULT_VALUES | |||
) |
Synchronously uploads a byte array to blob storage.
- Parameters:
-
SASURI The URI to use to upload data size The size of the data to be uploaded (can be 0) source A pointer to the byte array to be uploaded (can be NULL, but then size needs to be zero) httpStatus A pointer to an out argument receiving the HTTP status (available only when the return value is BLOB_OK) httpResponse A BUFFER_HANDLE that receives the HTTP response from the server (available only when the return value is BLOB_OK)
- Returns:
- A
BLOB_RESULT
. BLOB_OK means the blob has been uploaded successfully. Any other value indicates an error
Generated on Tue Jul 12 2022 19:44:54 by
![doxygen](doxygen.png)