mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-10-15 05:11:27 +08:00
Enable SSDP customization by default in configuration.h
This commit is contained in:
parent
70a72ff8f3
commit
a4b6e63007
@ -256,13 +256,13 @@ bool NetServices::begin()
|
|||||||
SSDP.setName (hostname.c_str());
|
SSDP.setName (hostname.c_str());
|
||||||
SSDP.setURL ("/");
|
SSDP.setURL ("/");
|
||||||
SSDP.setDeviceType ("upnp:rootdevice");
|
SSDP.setDeviceType ("upnp:rootdevice");
|
||||||
// SSDP.setSerialNumber (stmp.c_str());
|
SSDP.setSerialNumber (stmp.c_str());
|
||||||
//Any customization could be here
|
//Any customization could be here
|
||||||
// SSDP.setModelName (ESP_MODEL_NAME);
|
SSDP.setModelName (ESP_MODEL_NAME);
|
||||||
// SSDP.setModelURL (ESP_MODEL_URL);
|
SSDP.setModelURL (ESP_MODEL_URL);
|
||||||
// SSDP.setModelNumber (ESP_MODEL_NUMBER);
|
SSDP.setModelNumber (ESP_MODEL_NUMBER);
|
||||||
// SSDP.setManufacturer (ESP_MANUFACTURER_NAME);
|
SSDP.setManufacturer (ESP_MANUFACTURER_NAME);
|
||||||
// SSDP.setManufacturerURL (ESP_MANUFACTURER_URL);
|
SSDP.setManufacturerURL (ESP_MANUFACTURER_URL);
|
||||||
SSDP.begin();
|
SSDP.begin();
|
||||||
stmp = "SSDP started with '" + hostname + "'";
|
stmp = "SSDP started with '" + hostname + "'";
|
||||||
output.printMSG(stmp.c_str());
|
output.printMSG(stmp.c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user