File tree Expand file tree Collapse file tree 5 files changed +15
-12
lines changed Expand file tree Collapse file tree 5 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Version 2.9.14
4+ - Fixed: Cannot connect to the server.
5+
36## Version 2.9.13
47- "firmwareVersion" WebSocket header added.
58- "version" WebSocket header renamed to "SDKVersion"
Original file line number Diff line number Diff line change 1313 "maintainer" : true
1414 }
1515 ],
16- "version" : " 2.9.13 " ,
16+ "version" : " 2.9.14 " ,
1717 "frameworks" : " arduino" ,
1818 "platforms" : [
1919 " espressif8266" ,
Original file line number Diff line number Diff line change 11name =SinricPro
2- version =2.9.13
2+ version =2.9.14
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 13
9+ #define SINRICPRO_VERSION_REVISION 14
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 @@ -101,21 +101,21 @@ WebsocketListener::~WebsocketListener() {
101101}
102102
103103void WebsocketListener::setExtraHeaders () {
104- String headers = " appkey:" + appKey + " \r\n " ;
105- headers += " deviceids :" + deviceIds + " \r\n " ;
106- headers += " restoredevicestates :" + String (restoreDeviceStates? " true" : " false" ) + " \r\n " ;
107- headers += " ip :" + WiFi.localIP ().toString () + " \r\n " ;
108- headers += " mac :" + WiFi.macAddress () + " \r\n " ;
104+ String headers = " appkey:" + appKey;
105+ headers += " \r\n deviceids :" + deviceIds;
106+ headers += " \r\n restoredevicestates :" + String (restoreDeviceStates ? " true" : " false" );
107+ headers += " \r\n ip :" + WiFi.localIP ().toString ();
108+ headers += " \r\n mac :" + WiFi.macAddress ();
109109 #ifdef ESP8266
110- headers += " platform:ESP8266 \r\n " ;
110+ headers += " \r\n platform:ESP8266 " ;
111111 #endif
112112 #ifdef ESP32
113- headers += " platform:ESP32 \r\n " ;
113+ headers += " \r\n platform:ESP32 " ;
114114 #endif
115- headers += " SDKVersion :" + String (SINRICPRO_VERSION) + " \r\n " ;
115+ headers += " \r\n SDKVersion :" + String (SINRICPRO_VERSION);
116116
117117 #ifdef FIRMWARE_VERSION
118- headers += " firmwareVersion :" + String (FIRMWARE_VERSION);
118+ headers += " \r\n firmwareVersion :" + String (FIRMWARE_VERSION);
119119 #endif
120120
121121 DEBUG_SINRIC (" [SinricPro:Websocket]: headers: \r\n %s\r\n " , headers.c_str ());
You can’t perform that action at this time.
0 commit comments