I have Xbee Wifi TX pin connected to RX pin on Arduino.
The code on the Arduino is doing simple thing of incrementing the counter every 2s and sending its value over Serial protocol to Xbee Wifi, and then to the Device Cloud:
int counter = 0;
I have problem with seeing this data properly in Device Cloud data stream: in the data column of serial/0 stream I see values that does not correspond to the value of the counter variable being send, and they are for instance 858994489, 858994736,858994737,858994739,.... while the counter values are smaller than 1000 for sure. Changing the Data Type from Integer to other type does not help.
On the other hand, when I use Xbee Wifi cloud kit serial monitor (https://xbeewifi.herokuapp.com/#/dashboard) connected to my cloud I can see the values displayed properly. If I set up my Xbee Wifi to write the serial data to the Data File in the cloud, the values in the file are also right. This assures me that my setup and connection are done properly. Is the data in serial/0 encoded in some way or it is some special format?
My goal is to use Device Cloud API to access my data from outside application, but with those weird values I am unable to.