2 #if defined(USE_RP2040) && defined(USE_MDNS) 9 #include <ESP8266mDNS.h> 19 for (
const auto &service : this->
services_) {
24 auto *proto = service.proto.c_str();
25 while (*proto ==
'_') {
28 auto *service_type = service.service_type.c_str();
29 while (*service_type ==
'_') {
32 MDNS.addService(service_type, proto, service.port);
33 for (
const auto &record : service.txt_records) {
34 MDNS.addServiceTxt(service_type, proto, record.key.c_str(), record.value.c_str());
std::vector< MDNSService > services_
void on_shutdown() override
Implementation of SPI Controller mode.
void IRAM_ATTR HOT delay(uint32_t ms)