Im making a a project that consist of an Android app that controls ON/OFF of a water heater using Spark Core.
Using an smarthphone, the user can turn on or off the equipment. Also, the user can see the temperature of the water heather on their phone. Everything thanks to Spark Core.
So far I have done a test with my laptop (using CURL), and I can activate/desactive a PIN of the Spark Core (using Spark.function on the code and POST on my PC), and I can read varaibles (using Spark.variable on the code and GET on my PC).
I plan to present this project to my University, but I would like to know exactly WHAT is the Spark Cloud and HOW it works. I mean, how the communication flows from between PC - Spark Clould - Spark Core when the user makes a POST or GET request.I don’t completely understant (technically talking) what means to expose a varaible or a function to the Clould.
Please if you have any docummentation that can help me to complete understand this topic, I will be grateful.