Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
377 B

  1. /*
  2. LLMNR MODULE
  3. Copyright (C) 2017-2019 by Xose Pérez <xose dot perez at gmail dot com>
  4. */
  5. #include "llmnr.h"
  6. #if LLMNR_SUPPORT
  7. #include <ESP8266LLMNR.h>
  8. void llmnrSetup() {
  9. auto hostname = getSetting("hostname", getIdentifier());
  10. LLMNR.begin(hostname.c_str());
  11. DEBUG_MSG_P(PSTR("[LLMNR] Configured for %s\n"), hostname.c_str());
  12. }
  13. #endif // LLMNR_SUPPORT