Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ClearBlade IoT Core can help you answer questions about configuration and state: What does the device currently think it should be doing? How does that compare to the most recent device configuration?

...

For example, suppose you have a device with several fans. Your configuration data might be a JSON object containing a Boolean that enables or disables cooling:

Configuration data example

Code Block
{
  'cooling': true}

But the device's state data might include diagnostic information, as well as the fan data that you'd expect to see in response to a 'cooling' change:State data example

Code Block
{
  'fan1_target_rpm': 1000,
  'fan2_target_rpm': 1200,
  'firmware_version': '1.2.3b'}

...