Azure Iot sdk - upload blob metadata?

2020-02-15 14:58发布

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?

2条回答
该账号已被封号
2楼-- · 2020-02-15 15:37

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 Step1

Step 2: Upload blob and metadata Step2

Step3: Complete the device uploading process: Step3

查看更多
ら.Afraid
3楼-- · 2020-02-15 15:53

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

查看更多
登录 后发表回答