WLED/wled00/UpnpBroadcastResponder.h
2017-02-21 23:59:47 +01:00

21 lines
409 B
C++

#ifndef UPNPBROADCASTRESPONDER_H
#define UPNPBROADCASTRESPONDER_H
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <WiFiUDP.h>
#include "Switch.h"
class UpnpBroadcastResponder {
private:
WiFiUDP UDP;
public:
UpnpBroadcastResponder();
~UpnpBroadcastResponder();
bool beginUdpMulticast();
void serverLoop();
void addDevice(Switch& device);
};
#endif