Skip to content

Commit

Permalink
BREAKING: Change shadow API to return state object
Browse files Browse the repository at this point in the history
...not entire MQTT message.

Previously GET and UPDATE_ACCEPTED messages would return an object like this:
```json
{
  "state": {
    "reported": { ... },
    "desired": { ... }
  }
}
```

Now they will return an object like this:
```json
{
  "reported": { ... },
  "desired": { ... }
}
```

This is necessary for the upcoming Azure shadow implementation.

Shadow update API is also being changed to take reported state only.

CL: BREAKING: Change shadow API to return state object

PUBLISHED_FROM=8706cfce56532d3f037d9940dbdcec891d43bb0a
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Apr 17, 2018
1 parent 2a86040 commit b5e21ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fw/platforms/esp32/sdkconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=
CONFIG_ESP32_ENABLE_COREDUMP=y
CONFIG_ESP32_CORE_DUMP_UART_DELAY=0
CONFIG_ESP32_CORE_DUMP_LOG_LEVEL=1
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=3072
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=4096
CONFIG_TASK_WDT_PANIC=y
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=0

Expand Down

0 comments on commit b5e21ba

Please sign in to comment.