Notes:- These SDKs are currently in preview and are subject to change.
- Download fw_IIoT_mqtt_pub to publish once, Download fw_IIoT_mqtt_pubsub to publish data in interval and also to subscribe.
- Unzip the file and open Eclipse IDE -> Open projects from files system -> Choose the right folder and Enter the Fogwing IoTHub credentials in Fw_mqtt_main and set
public static int interval
in to publish data with time interval.
- Run the client.
- Install java in Linux system using command
sudo apt install default-jre
, Export the file as Runnable Jar file and copy it to your Linux system, run the file using commandsudo java -jar <filename>.jar
Note:- Provided everything goes in line with the above mentioned instructions, you will be able to see a message that reads Succesfully published! in console window.
- Now you are ready to analyze your data at Fogwing Platform portal, you can check all the data within the data storage in the portal.
Please visit https://www.fogwing.io/industrial-iot-platform/ for more information about Fogwing Industrial IoT Platform.