The available reference systems are collected within the Reference Systems team. If you are not already a member, join this public team to get access to the included systems and libraries.
These applications show how to upload measurements to popular cloud services. It consist of three applications:
These applications uses MQTT for interprocess communication
Download this project and edit the config/demo-config.ini file
For Xively usage (skip this if you do not want to test Xively):
Read more about Xively API here
For AirVantage usage (skip this if you do not want to test AirVantage):
Open the system block called Simulator:
You will notice a periodic timer on the right side of the diagram. A tick is emitted from this timer once a second. Follow this tick through the block and you will understand how data are published to MQTT.
Open the system block called To Xively or To Airvantage:
You will notice a Subscribe MQTT on the left the diagram. A sample is emitted from this block once when received from the MQTT broker. Follow this sample through the block and you will understand how data are published.
The Display blocks display values. It is not important, but added to show activity. Closing any of them will stop the system.