-
In a terminal type chmod +x Script.sh this should allow accses to Script file.
-
In the same terminal type ./Script.sh 4 xterm windows should pop up.
-
In the first window type ./sensor where threshold is the max value you would like to increment to.
-
In the second window type ./controller
-
In the third window type ./acuator
-
In the fourth window type ./cloud
-
The files will send data between eachother and show what is being sent and recived in each xterm window.
-
Cloud will display a final message based on if the threshold is reahed succsessfully or not.
// Each file should stay open until the required value is sent/recived properly. // All the files will remain running until they recive or send what is required.