Azure Iot SDK-上传Blob元数据吗? [英] Azure Iot sdk - upload blob metadata?

查看:68
本文介绍了Azure Iot SDK-上传Blob元数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure Iot集线器和sdk支持Blob上传非常好.但是,似乎不存在Blob元数据上传.有计划添加功能吗?对于小型项目来说,这是非常方便的功能.

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?

推荐答案

是正确的. Azure IoT设备客户端SDK 中没有用于上传Blob元数据的方法(支持). 但是,以下变通办法可以用于此功能.它基于使用IoT上载文件集线器(使用REST API调用).

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.

步骤1:设备向Azure IoT中心询问上传参考

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

第2步:上传Blob和元数据

Step 2: Upload blob and metadata

第3步:完成设备上传过程:

Step3: Complete the device uploading process:

这篇关于Azure Iot SDK-上传Blob元数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆