06-02-2018 08:09 AM
I have used the AWS cloud toolkit IoT vis with an access key and secret key to programmatically set up my IoT things, policies, and create certificates/keys.
I'm trying to now use the certificate and keys to subscribe or publish to an MQTT topic from a device (no access key or secret key). I haven't been able to find a way to establish the MQTT connection with the certificate/keys. Has anyone worked out a solution for this?
06-05-2018 09:46 AM
Since the AWS IoT toolkit interfaces with AWS through the HTTP REST API, it doesn't have a way to interface with a MQTT topic.
Are you wanting to both receive and send messages from/to a topic? If you only care to send messages, it looks like AWS supports HTTP POST operations to publish a message to a IoT topic.
https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html
This might be easier to implement than the MQTT web socket method.
08-22-2018 04:18 AM
Hey, Danny! It's very interesting what you say but I can't publish to a topic using HTTP, the AWS documentation is very bad so I'm sure I have some errors in the URL. I attach a simple code, can you tell me what you think is wrong? Thank you very much.
08-22-2018 09:33 AM - edited 08-22-2018 09:35 AM
Can you enter the values you intend in the controls of sample.vi and click " Edit > Make Current Values Default " and re-upload so we can see how you are trying to use these LabVIEW Primitives? Currently the pseudocode of what you uploaded is:
get http handle post ?? to handle
08-15-2019 01:16 PM
Hi Dave,
I'm just starting with AWS IoT module. Can't find any example of IoT. You mentioned that you have been able to come up with a project using this module. I'm wondering if you could share it to demonstrate how it publishes data to Amazon Graph, if possible.
Thanks,
Dahai