We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried on two different computers, reinstalling Arduino and all compatible libraries, but in the end I got the same error:
WIFI_SSDP:13:29: error: ambiguous overload for 'operator+' (operand types are 'const char [8]' and 'IPAddress') 13 | SSDP.setModelURL("http://"+(WiFi.status() != WL_CONNECTED ? WiFi.softAPIP() : WiFi.localIP())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const char [8] IPAddress
The text was updated successfully, but these errors were encountered:
change; SSDP.setModelURL("http://"+(WiFi.status() != WL_CONNECTED ? WiFi.softAPIP() : WiFi.localIP())); to; SSDP.setModelURL("http://" + WiFi.localIP().toString());
Sorry, something went wrong.
No branches or pull requests
I tried on two different computers, reinstalling Arduino and all compatible libraries, but in the end I got the same error:
WIFI_SSDP:13:29: error: ambiguous overload for 'operator+' (operand types are 'const char [8]' and 'IPAddress')
13 | SSDP.setModelURL("http://"+(WiFi.status() != WL_CONNECTED ? WiFi.softAPIP() : WiFi.localIP()));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| const char [8] IPAddress
The text was updated successfully, but these errors were encountered: