1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi - Thanks for reaching out. I would say start with this whitepaper to follow a design pattern https://docs.aws.amazon.com/whitepapers/latest/designing-mqtt-topics-aws-iot-core/mqtt-design-best-practices.html
Then you can look into Tutorial: Connecting a device to AWS IoT Core by using the AWS IoT Device SDK. It uses MQTT as an example with Python.
관련 콘텐츠
질문됨 2년 전

I dont need help merely "connecting to AWS MQTT". Or just "publishing a message". There's enough examples of that. As I said in my post, I need code specific to handling command and control of an IoT device, using pure MQTT. That means:
sending multiple commands over time to topic cmd/devicename/some-command-topic
receiving updates back as to the success or failure of each command running on the device.
The AWS docs recommend using a transaction id. but I cant find a single example of working code that does this. I dont see anything specific to that in the references you gave.