8000
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
failure of beginMulticast() should at least been shown.
(Would be a "bool enable()"-feedback even better??)
void fauxmoESP::enable(bool enable) { if (enable == _enabled) return; _enabled = enable; if (_enabled) { DEBUG_MSG_FAUXMO("[FAUXMO] Enabled\n"); } else { DEBUG_MSG_FAUXMO("[FAUXMO] Disabled\n"); } if (_enabled) { // Start TCP server if internal if (_internal) { if (NULL == _server) { _server = new AsyncServer(_tcp_port); _server->onClient([this](void *s, AsyncClient* c) { _onTCPClient(c); }, 0); } _server->begin(); } // UDP setup #ifdef ESP32 if (!_udp.beginMulticast(FAUXMO_UDP_MULTICAST_IP, FAUXMO_UDP_MULTICAST_PORT)) { Serial.printf("[FAUXMO]: Multicast Failed\r\n"); } else { DEBUG_MSG_FAUXMO("[FAUXMO] UDP server started\n"); } #else if (!_udp.beginMulticast(WiFi.localIP(), FAUXMO_UDP_MULTICAST_IP, FAUXMO_UDP_MULTICAST_PORT)) { Serial.printf("[FAUXMO]: Multicast Failed\r\n"); } else { DEBUG_MSG_FAUXMO("[FAUXMO] UDP server started\n"); } #endif } }
/me fishing, why my fauxmo does not work. disabeling SSDP and it works...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
failure of beginMulticast() should at least been shown.
(Would be a "bool enable()"-feedback even better??)
/me fishing, why my fauxmo does not work. disabeling SSDP and it works...
The text was updated successfully, but these errors were encountered: