Skip to main content
1-Visitor
January 31, 2019
Solved

How to send only delta of properties value from Thingworx Android agent to platform

  • January 31, 2019
  • 1 reply
  • 1598 views

I am developing Android Agent and I want to send property value if there is any change in value otherwise that property should not send to Platform. Right now if programmatically blank that property then it got blank in platform also.

Best answer by PaiChung

Then would set the change type to Value but also make sure that in Thingworx it is set to read from cache

and then capture the null value and don't transmit those.

1 reply

22-Sapphire I
January 31, 2019

sounds like the issue is that as you acquire the data sometimes it comes in as blank vs. an actual value.

going from a value to blank is still considered a value change so it is transmitted.

If you need to prevent that, then you will have to prevent that value to be written to the property in the agent.

1-Visitor
January 31, 2019

Thanks. Sorry I think my question was wrong. I want to stop data being sent to Platform from Android agent if data is not changed.

PaiChung22-Sapphire IAnswer
22-Sapphire I
January 31, 2019

Then would set the change type to Value but also make sure that in Thingworx it is set to read from cache

and then capture the null value and don't transmit those.