Merge branch 'feature/aws-iot-update-3.0.1' into 'master'

Feature/aws iot update 3.0.1

See merge request idf/esp-idf!2936
This commit is contained in:
Angus Gratton 2018-08-08 07:14:58 +08:00
commit f1a4bc7c94
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8bf852db77c360eebfa4b800754fdb90e29ea43e
Subproject commit 299183238ffe7a3e6a5ca0af9db19c10eaca62cf

View File

@ -200,12 +200,14 @@ void aws_iot_task(void *param) {
windowActuator.pData = &windowOpen;
windowActuator.pKey = "windowOpen";
windowActuator.type = SHADOW_JSON_BOOL;
windowActuator.dataLength = sizeof(bool);
jsonStruct_t temperatureHandler;
temperatureHandler.cb = NULL;
temperatureHandler.pKey = "temperature";
temperatureHandler.pData = &temperature;
temperatureHandler.type = SHADOW_JSON_FLOAT;
temperatureHandler.dataLength = sizeof(float);
ESP_LOGI(TAG, "AWS IoT SDK Version %d.%d.%d-%s", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_TAG);