mirror of
https://github.com/esphome/esphome.git
synced 2026-02-21 08:55:36 -07:00
21 lines
449 B
C++
21 lines
449 B
C++
#include "esphome/core/defines.h"
|
|
#if defined(USE_HOST) && defined(USE_MDNS)
|
|
|
|
#include "esphome/components/network/ip_address.h"
|
|
#include "esphome/components/network/util.h"
|
|
#include "esphome/core/log.h"
|
|
#include "mdns_component.h"
|
|
|
|
namespace esphome::mdns {
|
|
|
|
void MDNSComponent::setup() {
|
|
this->on_setup_();
|
|
// Host platform doesn't have actual mDNS implementation
|
|
}
|
|
|
|
void MDNSComponent::on_shutdown() {}
|
|
|
|
} // namespace esphome::mdns
|
|
|
|
#endif
|