通向下游设备消息的透明网关. [英] Transparent gateway to downstream device messages.

查看:86
本文介绍了通向下游设备消息的透明网关.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在其中一个用例中使用了三层体系结构.我有一个蔚蓝的IoT中心,启用Edge的透明网关(Linux机器)和一个包含SDK的下游设备(Linux机器).我想从我的公司发送遥测 网关 下游设备.我找不到任何相关的文章或对此的支持.  

I am using a 3 layered architecture for one of my use cases. I have an azure IoT hub, Edge-Enabled Transparent gateway(Linux machine), and a downstream device containing SDK(Linux Machine). I want to send telemetry from my gateway to the downstream device. I am unable to find any relevant articles or support for the same. Kindly help me with the same. 

推荐答案

你好,

谢谢您的提问. irectMethods是将消息从模块发送到下游设备的唯一方法. 您 可以使用ModuleClient.InvokeMethodAsync调用下游设备上的直接方法.

Thank you for your question. DirectMethods is the only way to send a message from a module to a downstream device. You can use ModuleClient.InvokeMethodAsync to invoke the direct methods on the downstream device.

尽管我相信当前在使用" https://github.com/Azure/iotedge/issues/218

Though I believe that currently there is an issue when using "ModuleClient.InvokeMethodAsync". Please follow up on the GitHub issue here: https://github.com/Azure/iotedge/issues/218

谢谢!

=========================================== ===============

==========================================================

如果此答案有帮助,请单击标记为答案"或投票.要提供有关您的论坛体验的其他反馈,请单击 这里

If this answer was helpful, click "Mark as Answer" or Up-Vote. To provide additional feedback on your forum experience, click here


这篇关于通向下游设备消息的透明网关.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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