Sorry for such a newbie question…I am trying to add the Device ID to every sensor measurement so that I can parse different devices in the Azure Cloud. There is probably a very basic answer to this, but I am not a programmer by trade and have been having issues wrapping my head around the topic.
I am using 2 Sensor Nodes to run a basic PoC on electricIMP and Azure IoT. The code I am using is the Sensor Node example code which is doing everything I need it to for the basic measurement statistics. I can see how the sensor data is stored in an array and how a time stamp (“ts”) is added to every measurement in the array before sending to the agent. I am struggling with how to add the Device ID along with the ts to identify which sensor is providing which measurements.