I’m using the Exosite Ready code with the WCM dev kit. I have modified the Microchip demo code to work with a custom application. I’m seeing a null string when I try to read an integer datapoint with a negative value from the cloud. Integers with a positive value read properly.
For example, I have a data point with the alias “diffOff” and a value of -1. I verify the read status is ERR_SUCCESS, but the string returned by the callback “static void on_read(int status, const char *alias, const char *value)” pointed to by value is ‘\0’. If I look at value + 1, I see “iffOff=-136.0” which looks like it received the proper reply (with some older data that wasn’t overwritten) but it didn’t properly handle the payload size (looks like it treated it as payload size 0). Of the 13 integer values I am trying to read the 11 positive values read correctly, but the 2 negative values both return a null string.