4#if defined(USE_SOCKET_IMPL_BSD_SOCKETS) || defined(USE_SOCKET_IMPL_LWIP_SOCKETS)
6#elif defined(USE_SOCKET_IMPL_LWIP_TCP)
18class E131AddressableLightEffect;
39 void setup()
override;
50#if defined(USE_SOCKET_IMPL_BSD_SOCKETS) || defined(USE_SOCKET_IMPL_LWIP_SOCKETS)
52#elif defined(USE_SOCKET_IMPL_LWIP_TCP)
53 if (!this->
udp_.parsePacket())
55 return this->
udp_.read(buf,
len);
66#if defined(USE_SOCKET_IMPL_BSD_SOCKETS) || defined(USE_SOCKET_IMPL_LWIP_SOCKETS)
68#elif defined(USE_SOCKET_IMPL_LWIP_TCP)
std::vector< E131AddressableLightEffect * > light_effects_
void leave_(int universe)
void add_effect(E131AddressableLightEffect *light_effect)
E131ListenMethod listen_method_
void remove_effect(E131AddressableLightEffect *light_effect)
bool packet_(const uint8_t *data, size_t len, int &universe, E131Packet &packet)
bool process_(int universe, const E131Packet &packet)
std::unique_ptr< socket::Socket > socket_
UniverseConsumer * find_universe_(int universe)
std::vector< UniverseConsumer > universe_consumers_
ssize_t read_(uint8_t *buf, size_t len)
void set_method(E131ListenMethod listen_method)
float get_setup_priority() const override
const int E131_MAX_PROPERTY_VALUES_COUNT
constexpr float AFTER_WIFI
For components that should be initialized after WiFi is connected.
Providing packet encoding functions for exchanging data with a remote host.
uint8_t values[E131_MAX_PROPERTY_VALUES_COUNT]