Is IoT Greengrass core support QoS 2?

0

Can local MQTT devices publish messages with QoS 2 to Greengrass core?

Andrey
已提问 1 年前253 查看次数
1 回答
0

Yes, both Moquette and EMQX brokers support QoS 2 for clients connected directly to the broker. Please note that IoT Core does not support QoS 2.

AWS
已回答 1 年前
  • When I use awscrt.mqtt.Connection to Greengrass Moquette component: future, id = connection.publish(topic, message, QoS.EXACTLY_ONCE) future.result() return ValueError in both IoT Core and Greengrass core cases:

    File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 428, in result return self.__get_result() File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/home/ec2-user/.local/lib/python3.7/site-packages/awscrt/mqtt.py", line 700, in publish packet_id = _awscrt.mqtt_client_connection_publish(self._binding, topic, payload, qos.value, retain, puback) ValueError

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则