1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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.
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
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.