Azure Service SDK [英] Azure Service SDK

查看:89
本文介绍了Azure Service SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

我正在尝试使用Azure IoT服务SDK for python。我有一个运行设备SDK的物联网设备,我能够使用设备资源管理器GUI向设备发送消息并监控事件。我正在尝试使用Azure服务SDK for python做同样的事情。 

I am trying to use Azure IoT service SDK for python. I have an IoT device running a device SDK, I am able to send messages to device and monitor events using device explorer GUI. I am trying to do the same thing with Azure service SDK for python. 

我尝试使用样本,我能够将云发送到设备消息,但我对如何无知使用此python服务sdk监视来自设备的事件。我查了.def文件,我找不到监视事件API的引用。 

I tried usign the samples, I am able to send cloud to device messages, however I am clueless about how to monitor events from device using this python service sdk. I checked in .def file, I could nt find a reference to monitor events API. 

请帮助。 

Please help. 

推荐答案

您好,  Aks45

Hello, Aks45

    事件中心尚不支持Python中的遥测,因此您可以使用其他基于事件中心的应用程序来读取来自物联网中心的设备到云消息,例如  Node.js  ,  .NET
 或
Java
  ;应用程序。添加更多内容, IoT Hub Explorer工具 也可用于阅读这些设备消息。

    Event Hubs does not support telemetry in Python yet, so you can use other Event Hubs-base application to read the device-to-cloud messages from IoT Hub, such as Node.js , .NET  or Java app. Add more, IoT Hub Explorer tool can also be used to read these device messages.

   此外,您还可以使用反馈中心报告此要求。

    In addition, you can also use feedback hub to report this requirement.

最好的问候,

Michael 

Michael 


这篇关于Azure Service SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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