Publishing from RaspberryPi successful but not seeing the messages under topic in AWS IoT Hub #342
Unanswered
AnushaNagesh97
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You're only subscribing to one topic in the above code: client.subscribe("camdata") You will only ever see messages published to "camdata" while running this sample. You can subscribe to multiple things and/or use wildcards to subscribe to many topics at once. You can read more about MQTT topics here. Please let me know if you have any other questions about how to use this sdk. We do recommend using the v2 sdk as it is newer and better. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am using AWS IoT hub for the first time. After setting up the Thing and policy, and downloading the connection kit, I was able to see messages published to the sdk/test/python topic. However I am unable to see messages published to any other topics from my RPi5. I have provided the necessary certificate files, private key and endpoint. I have tried with TLS versions 1.2 and 23. All my error catch messages show that no errors were caught on my MQTT client end with respect to connection, publishing or certificate location.
Could you provide insight on the potential issues that could be causing this?
Beta Was this translation helpful? Give feedback.
All reactions