1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

enable long model versions

This commit is contained in:
John Doe
2015-07-04 23:16:00 +03:00
committed by Ivan Grokhotkov
parent 4fdba1b635
commit 9cb80528c7
3 changed files with 13 additions and 21 deletions

View File

@ -38,7 +38,7 @@ void setup() {
SSDP.setSerialNumber((char*)"A0123456789");
SSDP.setURL((char*)"/");
SSDP.setModelName((char*)"ESP-12e");
SSDP.setModelNumber(1, 0);
SSDP.setModelNumber((char*)"1.0");
SSDP.setModelURL((char*)"http://12e.espressif.com");
SSDP.setManufacturer((char*)"Espressif");
SSDP.setManufacturerURL((char*)"http://espressif.com");
@ -54,4 +54,4 @@ void loop() {
HTTP.handleClient();
SSDP.update();
delay(1);
}
}