While compiling on Arduino IDE 2.1.1, a warning is generated: WemoManager.cpp:72:24: warning: character constant too long for its type on Line 72:24: if(request.indexOf('M-SEARCH') > 0) {
Updating this line to use double quotes instead of single quotes fixed the warning, i.e.: if(request.indexOf("M-SEARCH") > 0) {
While compiling on Arduino IDE 2.1.1, a warning is generated: WemoManager.cpp:72:24: warning: character constant too long for its type on Line 72:24: if(request.indexOf('M-SEARCH') > 0) {
Updating this line to use double quotes instead of single quotes fixed the warning, i.e.: if(request.indexOf("M-SEARCH") > 0) {