We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34c311a commit 432a1a8Copy full SHA for 432a1a8
src/SinricProWebsocket.h
@@ -112,7 +112,12 @@ void WebsocketListener::setExtraHeaders() {
112
#ifdef ESP32
113
headers += "platform:ESP32\r\n";
114
#endif
115
- headers += "version:" + String(SINRICPRO_VERSION);
+ headers += "SDKVersion:" + String(SINRICPRO_VERSION) + "\r\n";
116
+
117
+ #ifdef FIRMWARE_VERSION
118
+ headers += "firmwareVersion:" + String(FIRMWARE_VERSION);
119
+ #endif
120
121
DEBUG_SINRIC("[SinricPro:Websocket]: headers: \r\n%s\r\n", headers.c_str());
122
webSocket.setExtraHeaders(headers.c_str());
123
}
0 commit comments