Know more about device SDK #441
-
I am currently confused on which SDK to use for below purpose:
I tried to find documentations but there is not clear differentiation between above scenarios. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
For this you will need to use the main aws-sdk-js-v3 . Check out the API docs here to see how to setup IoT devices on AWS. I would also recommend learning how to manually set up devices in the AWS console first if you don't already know how
Use this sdk to run in a node backend project to interact with AWS IoT. Check out our samples to see how to use this sdk. Please let me know if you have any further questions or need more clarification for how to use these sdks. (edit: You can also use aws-sdk-js for both but this is being moved to maintenance mode soon) |
Beta Was this translation helpful? Give feedback.
-
There are a lot SDKs with similar names. Can you help clarify usage for each of them and how they plan role w.r.t AWS IOT core both from IOT device and users apps (web, mobile). https://github.com/aws/aws-sdk-js-v3 |
Beta Was this translation helpful? Give feedback.
Q: Consider I am programming an IOT hardware device which will interact with AWS IOT (pub,sub through MQTT). For this case which SDK will be used?
A: For this you should use the aws-iot-device-sdk-js-v2 sdk. (You can also choose to use any of the other device sdk's. We have them for the following languages: Java, Python, and C++)
You can find all of the latest IoT samples here. The samples are divided into Node and Browser folders for nodejs and web apps respectively.