Skip to content

Commit c687662

Browse files
committed
Merge branch 'develop'
* develop: Sync-up with iot-core 1.5.7 esp8266: Use CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL for all esp8266 sample apps Sync-up with iot-core 1.5.6 Fix incorrect saturation value sent back to SmartThings (#76) | Conflicts: | iot-core : sync with latest iot-core
2 parents e346bbc + 0a6ee1b commit c687662

File tree

8 files changed

+7
-152
lines changed

8 files changed

+7
-152
lines changed

apps/capability_sample/caps_colorControl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static void caps_colorControl_attr_color_send(caps_colorControl_data_t *caps_dat
5757
NULL);
5858

5959
value[1].type = IOT_CAP_VAL_TYPE_NUMBER;
60-
value[1].number = caps_data->hue_value;
60+
value[1].number = caps_data->saturation_value;
6161

6262
cap_evt[1] = st_cap_create_attr(caps_data->handle,
6363
(char *) caps_helper_colorControl.attr_saturation.name,

apps/esp8266/light_example/sdkconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ CONFIG_MQTT_RECV_BUFFER=2048
344344
CONFIG_MQTT_SEND_CYCLE=30000
345345
CONFIG_MQTT_RECV_CYCLE=100
346346
CONFIG_MQTT_PING_TIMEOUT=3000
347-
# CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL is not set
348-
CONFIG_NEWLIB_LIBRARY_LEVEL_NANO=y
347+
CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL=y
348+
# CONFIG_NEWLIB_LIBRARY_LEVEL_NANO is not set
349349
# CONFIG_NEWLIB_LIBRARY_LEVEL_FLOAT_NANO is not set
350350
# CONFIG_NEWLIB_LIBRARY_CUSTOMER is not set
351351
# CONFIG_OPENSSL_DEBUG is not set

apps/esp8266/switch_example/sdkconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ CONFIG_MQTT_RECV_BUFFER=2048
344344
CONFIG_MQTT_SEND_CYCLE=30000
345345
CONFIG_MQTT_RECV_CYCLE=100
346346
CONFIG_MQTT_PING_TIMEOUT=3000
347-
# CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL is not set
348-
CONFIG_NEWLIB_LIBRARY_LEVEL_NANO=y
347+
CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL=y
348+
# CONFIG_NEWLIB_LIBRARY_LEVEL_NANO is not set
349349
# CONFIG_NEWLIB_LIBRARY_LEVEL_FLOAT_NANO is not set
350350
# CONFIG_NEWLIB_LIBRARY_CUSTOMER is not set
351351
# CONFIG_OPENSSL_DEBUG is not set

apps/rtl8721c/light_example/main/caps_colorControl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static void caps_colorControl_attr_color_send(caps_colorControl_data_t *caps_dat
5757
NULL);
5858

5959
value[1].type = IOT_CAP_VAL_TYPE_NUMBER;
60-
value[1].number = caps_data->hue_value;
60+
value[1].number = caps_data->saturation_value;
6161

6262
cap_evt[1] = st_cap_create_attr(caps_data->handle,
6363
(char *) caps_helper_colorControl.attr_saturation.name,

patches/esp8266/cJSON/0001-Add-function-to-encode-json-number-when-sprintf-not-.patch

Lines changed: 0 additions & 102 deletions
This file was deleted.

patches/esp8266/cJSON/2000-cjson-fix-wrong-traling-zeroes-removing.patch

Lines changed: 0 additions & 42 deletions
This file was deleted.

tools/esp8266/setup_esp8266.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,5 @@ git submodule update --init --recursive
3535
git submodule foreach --recursive git reset --hard
3636

3737
apply_patch ${BSP_PATH} ${PATCH_PATH}
38-
apply_patch ${BSP_PATH}/components/json/cJSON ${PATCH_PATH}/cJSON
3938
apply_patch ${BSP_PATH}/components/mbedtls/mbedtls ${PATCH_PATH}/mbedtls
4039

0 commit comments

Comments
 (0)