Microsoft Azure IoTHub client libraries
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more
This library implements the Microsoft Azure IoTHub client library. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: iothub_client.h
- Revision:
- 43:038d8511e817
- Parent:
- 42:448eecc3676e
- Child:
- 44:33dd78697616
diff -r 448eecc3676e -r 038d8511e817 iothub_client.h --- a/iothub_client.h Tue Jun 07 10:49:08 2016 -0700 +++ b/iothub_client.h Fri Jun 17 17:02:44 2016 -0700 @@ -193,7 +193,8 @@ * @return IOTHUB_CLIENT_OK upon success or an error code upon failure. */ extern IOTHUB_CLIENT_RESULT IoTHubClient_SetOption(IOTHUB_CLIENT_HANDLE iotHubClientHandle, const char* optionName, const void* value); - + +#ifdef USE_UPLOADTOBLOB /** * @brief IoTHubClient_UploadToBlobAsync uploads data from memory to a file in Azure Blob Storage. * @@ -207,6 +208,7 @@ * @return IOTHUB_CLIENT_OK upon success or an error code upon failure. */ extern IOTHUB_CLIENT_RESULT IoTHubClient_UploadToBlobAsync(IOTHUB_CLIENT_HANDLE iotHubClientHandle, const char* destinationFileName, const unsigned char* source, size_t size, IOTHUB_CLIENT_FILE_UPLOAD_CALLBACK iotHubClientFileUploadCallback, void* context); +#endif #ifdef __cplusplus } #endif