Azure Iot sdk - upload blob metadata?

孤街浪徒 提交于 2019-11-28 12:17:44

问题


It's great that Azure Iot hub and sdk supports blob uploading. However it seems blob metadata uploading is not there. Any plan to add the feature? It's a very handy feature for small projects.

Or it's already supported but I missed something?


回答1:


That's correct. There is no method (support) for the blob metadata uploading in the Azure IoT Device Client SDK. However, the following workaround can be used for this feature. It's based on the uploading files with IoT Hub using the REST API calls.

Step 1: The device ask an Azure IoT Hub for upload references

Step 2: Upload blob and metadata

Step3: Complete the device uploading process:




回答2:


This feature is tracked by https://github.com/Azure/azure-iot-sdk-csharp/issues/165 for the .NET Azure IoT SDK.



来源:https://stackoverflow.com/questions/46520282/azure-iot-sdk-upload-blob-metadata

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!