【问题标题】:How to connect a device (which is outside the greengrass group) to a greengrass group?如何将设备(位于 greengrass 组之外)连接到 greengrass 组?
【发布时间】:2020-03-07 20:02:05
【问题描述】:

如何将运行在 greengrass 组之外的 java 应用程序连接到 greengrass 组?请帮我解决这个问题。感谢您提出任何想法/建议。

【问题讨论】:

    标签: amazon-web-services iot aws-iot greengrass


    【解决方案1】:

    您的 java 程序可以充当 Greengrass Aware Device (GGAD) 并使用 MQTT 协议连接到 Greengrass Core (GGC)。但是,您的 java 程序将需要具有设备证书并成为该组的一部分。 另一种方法是在 GGC 中运行一个用户 lambda,它会打开一个端口供外部 java 程序连接。例如,用户 lambda 可以是 HTTP 服务器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-15
      • 1970-01-01
      • 1970-01-01
      • 2019-06-19
      • 2019-12-04
      相关资源
      最近更新 更多