How can I receive from Azure IoT Hub messages sent by devices?

[亡魂溺海] 提交于 2019-12-12 04:49:24

问题


I have successfully built azure-iot-sdk-python and I have managed to handle the device side of things:

  • sending messages and reported-properties
  • receiving messages and desired-properties

I can also manage devices from the service side:

  • create devices, update devices
  • delete devices
  • manage device twins (setting tags, reading tags, setting desired-properties, getting reported-properties)

What I cannot find is how to access the Events (messages/events) endpoint using azure-iot-sdk-python and read the messages sent by the devices. How do I do that?

来源:https://stackoverflow.com/questions/45006986/how-can-i-receive-from-azure-iot-hub-messages-sent-by-devices

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