Connect your Flexy to AWS IoT through MQTT using JAVA - Printable Version +- Ewon Technical Forum (https://techforum.ewon.biz) +-- Forum: Development (https://techforum.ewon.biz/forum-50.html) +--- Forum: Java (https://techforum.ewon.biz/forum-53.html) +--- Thread: Connect your Flexy to AWS IoT through MQTT using JAVA (/thread-583.html) |
Connect your Flexy to AWS IoT through MQTT using JAVA - ntnunk - 20-04-2018 All, An example of a simple Java application to connect and push data to AWS IoT. This code is tested and works on a Flexy 201 with the new Java ETK 1.4.2. This application will generate 20 random integers and push them to the "ewon/test" AWS IoT topic every 10 seconds for one minute. Hopefully this is enough for anyone who needs this functionality to get started. Good luck! Code: import java.util.Random; RE: New Java ETK and AWS IoT Example - simon - 24-04-2018 Noel, Thanks for your example ! Here is another example. Indeed this example is based on the ETK 1.4.2 and the Eclipse IDE : See https://developer.ewon.biz/content/java-0 By the way, if someone starts with Amazon Web Services IOT, I suggest to read this : https://techforum.ewon.biz/attachment.php?aid=310 This explains how to connect a Flexy to AWS IOT but using BASIC. The actions you need to do for creating a device, getting the certificates... in AWS IOT are the same. Simon RE: Connect your Flexy to AWS IoT through MQTT using JAVA - michauxb@helha.be - 18-12-2022 This thread has been marked as solved. If you have a similar issue, it would be better to post your own thread rather than bump this one, to help keep everybody's different issues separate. |