Skip to content

Commit b1851b4

Browse files
authored
Merge pull request #431 from sinricpro/3.5-dev
Fix: Force OTA update does not work [#430]
2 parents 1bd2071 + 69c1731 commit b1851b4

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

.github/workflows/build-esp8266-esp32.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
run: |
6363
python -m pip install --upgrade pip
6464
pip install --upgrade platformio
65+
pip install intelhex
6566
- name: Step 6 - Install library dependencies
6667
run: |
6768
pio pkg install -l "bblanchon/ArduinoJson" -l "links2004/WebSockets" -g

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Version 3.5.2
4+
Fixed:
5+
- Fix: Force OTA update does not work [#430](https://github.com/sinricpro/esp8266-esp32-sdk/issues/430)
6+
37
## Version 3.5.1
48
Fixed:
59
- Fix: sendPowerSensorEvent sets factor even when specified.

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"homepage": "https://sinric.pro",
21-
"version": "3.5.1",
21+
"version": "3.5.2",
2222
"frameworks": "arduino",
2323
"platforms": ["espressif8266", "espressif32", "raspberrypi"],
2424
"dependencies": [

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SinricPro
2-
version=3.5.1
2+
version=3.5.2
33
author=Boris Jaeger <[email protected]>
44
maintainer=Boris Jaeger <[email protected]>
55
sentence=Library for https://sinric.pro - simple way to connect your device to alexa

src/SinricProModuleCommandHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ bool SinricProModuleCommandHandler::handleRequest(SinricProRequest &request) {
7272
int major = request.request_value[FSTR_OTA_version][FSTR_OTA_major];
7373
int minor = request.request_value[FSTR_OTA_version][FSTR_OTA_minor];
7474
int patch = request.request_value[FSTR_OTA_version][FSTR_OTA_patch];
75-
bool forceUpdate = request.request_value[FSTR_OTA_version][FSTR_OTA_forceUpdate] | false;
75+
bool forceUpdate = request.request_value[FSTR_OTA_forceUpdate] | false;
7676
return _otaUpdateCallbackHandler(url, major, minor, patch, forceUpdate);
7777
}
7878
else if (strcmp(FSTR_SETTINGS_setSetting, request.action.c_str()) == 0 && _setSettingCallbackHandler) {

src/SinricProVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Version Configuration
77
#define SINRICPRO_VERSION_MAJOR 3
88
#define SINRICPRO_VERSION_MINOR 5
9-
#define SINRICPRO_VERSION_REVISION 1
9+
#define SINRICPRO_VERSION_REVISION 2
1010
#define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION)
1111
#define SINRICPRO_VERSION_STR "SinricPro (v" SINRICPRO_VERSION ")"
1212
#define SINRICPRO_VERISON_INT SINRICPRO_VERSION_MAJOR * 1000000 + SINRICPRO_VERSION_MINOR * 1000 + SINRICPRO_VERSION_REVISION

0 commit comments

Comments
 (0)