change mdns
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
#include "master.h"
|
#include "master.h"
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
std::array<uint8_t, 6> macStringToBytes(const char *macStr) {
|
std::array<uint8_t, 6> macStringToBytes(const char *macStr) {
|
||||||
std::array<uint8_t, 6> bytes;
|
std::array<uint8_t, 6> bytes;
|
||||||
sscanf(macStr, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &bytes[0], &bytes[1],
|
sscanf(macStr, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &bytes[0], &bytes[1],
|
||||||
|
|||||||
@@ -66,8 +66,8 @@ void setupWifi() {
|
|||||||
WiFi.softAPIP().toString() + "/update");
|
WiFi.softAPIP().toString() + "/update");
|
||||||
|
|
||||||
// mDNS starten
|
// mDNS starten
|
||||||
if (MDNS.begin("aquacross-timer")) { // z.B. http://aquacross-timer.local/
|
if (MDNS.begin("ninjacross")) { // z.B. http://ninjacross.local/
|
||||||
Serial.println("mDNS responder gestartet: http://aquacross-timer.local/");
|
Serial.println("mDNS responder gestartet: http://ninjacross.local/");
|
||||||
} else {
|
} else {
|
||||||
Serial.println("Fehler beim Starten von mDNS!");
|
Serial.println("Fehler beim Starten von mDNS!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user