Phil and Mango Team -
This thread has been quiet for a while so I just want to reach out one last time for help before giving up on mango. So you don't feel like you're wasting time, my intent here is to ultimately purchase several mango es devices for an industrial project that I am involved in. I have successfully tested and used a couple of other configurations for this but I am impressed with mango and very interested in making a switch if we can solve this simple hex value problem. I’m not asking for custom code to parse the values. All I am asking is to get a hex value from a serial data source into the value of a data point so that I can script around it. The scripting and UI design, everything else I can handle. I just think that when I check the value hex box in a serial data source, that the resulting hex value should carry throughout mango as hex and not turn to garbage when I view it in any of the several ways I have discussed or try to script on it. Please either tell me its a bug with a fix date or point me in the right direction. I am very serious about making this work, given up many hours of my time to do to so and now I’m at a complete loss.
Some additional detail since last post:
For test purposes I am sending 0xfe from arduino every 5 seconds.
I can also duplicate this with my other existing and known-good end devices, several other configurations in mango, and any number of hex values but for simplicity, I am testing with an arduino plugged into my windows 10 laptop’s USB port.
If I follow your above blog post excerpt exactly, I get one character of garbage in the response’s data point value viewed by either the data point details utility or by scripting print response.value in a scripting data point.
Just for fun, I tried and can convert some of these garbage values back to hex but not all.
Please help. I really want Mango to work for this project!
--Jason