File tree Expand file tree Collapse file tree 5 files changed +14
-4
lines changed Expand file tree Collapse file tree 5 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
2+
3+ ## Version 2.9.13
4+ - "firmwareVersion" WebSocket header added.
5+ - "version" WebSocket header renamed to "SDKVersion"
6+
27## Version 2.9.12
38- Fixed: Namespace implementation
49- Fixed: WiFi connection status check
Original file line number Diff line number Diff line change 1313 "maintainer" : true
1414 }
1515 ],
16- "version" : " 2.9.12 " ,
16+ "version" : " 2.9.13 " ,
1717 "frameworks" : " arduino" ,
1818 "platforms" : [
1919 " espressif8266" ,
Original file line number Diff line number Diff line change 11name =SinricPro
2- version =2.9.12
2+ version =2.9.13
33author =Boris Jaeger <sivar2311@gmail.com>
44maintainer =Boris Jaeger <sivar2311@gmail.com>
55sentence =Library for https://sinric.pro - simple way to connect your device to alexa
Original file line number Diff line number Diff line change 66// Version Configuration
77#define SINRICPRO_VERSION_MAJOR 2
88#define SINRICPRO_VERSION_MINOR 9
9- #define SINRICPRO_VERSION_REVISION 12
9+ #define SINRICPRO_VERSION_REVISION 13
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
Original file line number Diff line number Diff line change @@ -112,7 +112,12 @@ void WebsocketListener::setExtraHeaders() {
112112 #ifdef ESP32
113113 headers += " platform:ESP32\r\n " ;
114114 #endif
115- headers += " version:" + String (SINRICPRO_VERSION);
115+ headers += " SDKVersion:" + String (SINRICPRO_VERSION) + " \r\n " ;
116+
117+ #ifdef FIRMWARE_VERSION
118+ headers += " firmwareVersion:" + String (FIRMWARE_VERSION);
119+ #endif
120+
116121 DEBUG_SINRIC (" [SinricPro:Websocket]: headers: \r\n %s\r\n " , headers.c_str ());
117122 webSocket.setExtraHeaders (headers.c_str ());
118123}
You can’t perform that action at this time.
0 commit comments