espurna-sonoff-pow/espurna/llmnr.ino

19 lines
285 B
Arduino
Raw Permalink Normal View History

2018-06-06 15:28:17 +02:00
/*
LLMNR MODULE
Copyright (C) 2017-2018 by Xose Pérez <xose dot perez at gmail dot com>
*/
#if LLMNR_SUPPORT
#include <ESP8266LLMNR.h>
void llmnrSetup() {
LLMNR.begin(getSetting("hostname").c_str());
DEBUG_MSG_P(PSTR("[LLMNR] Configured\n"));
}
#endif // LLMNR_SUPPORT