简体   繁体   English

用于TCP连接的Azure Iot Hub自定义协议网关

[英]Azure Iot Hub custom protocol gateway for tcp connections

I am pretty new to azure iot hub,our devices are not mqtt compliant and they send telemetry using simple tcp. 我对azure IoT中心还很陌生,我们的设备不兼容mqtt,它们使用简单的tcp发送遥测。 I have seen other questions regarding tcp for gateway and we can customize the implementation. 我还看到了其他有关网关tcp的问题,我们可以自定义实现。

The sample implementation is in C#. 示例实现在C#中。 My question is whether it is possible to implement a custom gateway in node.js or java, which can comprise of all the functionalities like device authentication, device provisioning etc. 我的问题是,是否可以在node.js或java中实现自定义网关,该网关可以包含设备身份验证,设备供应等所有功能。

I have found iot sdk for node( https://github.com/Azure/azure-iot-sdk-node ) but I am not sure whether there are limitations to it. 我已经找到了用于节点的物联网sdk( https://github.com/Azure/azure-iot-sdk-node ),但是我不确定它是否有限制。

My suggestion is to use Azure IoT Edge as a gateway to complete Identity translation and protocol translate. 我的建议是使用Azure IoT Edge作为网关来完成身份转换和协议转换。

在此处输入图片说明

Ref: How an IoT Edge device can be used as a gateway - preview 参考: 如何将IoT Edge设备用作网关-预览

The IoT Hub SDKs all offer broadly the same set of features. IoT中心SDK均提供大致相同的功能集。 Each SDK publishes a feature matrix that you can use to check if the specific feature(s) you require are supported: 每个SDK都会发布一个功能矩阵,可用于检查是否支持所需的特定功能:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM