1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
【以下的回答经过翻译处理】 我看到你正在使用ipc_client.new_publish_to_topic()方法。此方法用于本地pub / sub,如此处所示https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-publish-subscribe.html#ipc-operation-publishtotopic。相反,您应该使用ipc_client.new_publish_to_iot_core(),如发布到IoT核心教程中所示(还要添加相关权限),如此处所示https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html#ipc-operation-publishtoiotcore。
관련 콘텐츠
- AWS 공식업데이트됨 2년 전