23 #ifndef INCLUDE_HUEPLUSPLUS_HUE_ENTERTAINMENT_MODE_H 24 #define INCLUDE_HUEPLUSPLUS_HUE_ENTERTAINMENT_MODE_H 71 bool setColorRGB(uint8_t light_index, uint8_t red, uint8_t green, uint8_t blue);
Group * group
Associated group.
Definition: EntertainmentMode.h:81
bool connect()
Connect and start streaming.
Definition: EntertainmentMode.cpp:137
Class for Hue Entertainment Mode.
Definition: EntertainmentMode.h:36
~EntertainmentMode()
Destroy the Entertainment Mode object.
Definition: EntertainmentMode.cpp:127
Namespace for the hueplusplus library.
Definition: Action.h:27
bool setColorRGB(uint8_t light_index, uint8_t red, uint8_t green, uint8_t blue)
Set the color of the given light in RGB format.
Definition: EntertainmentMode.cpp:268
std::vector< uint8_t > entertainment_msg
buffer containing the entertainment mode packet data
Definition: EntertainmentMode.h:83
bool update()
Update all set colors by setColorRGB.
Definition: EntertainmentMode.cpp:289
uint8_t entertainment_num_lights
number of lights in entertainment mode group
Definition: EntertainmentMode.h:84
bool disconnect()
Disconnect and stop streaming.
Definition: EntertainmentMode.cpp:262
Bridge class for a bridge.
Definition: Bridge.h:138
EntertainmentMode(Bridge &b, Group &g)
Constructor.
Definition: EntertainmentMode.cpp:63
std::unique_ptr< TLSContext > tls_context
tls context
Definition: EntertainmentMode.h:86
Bridge * bridge
Associated bridge.
Definition: EntertainmentMode.h:80
Class for Groups of lights.
Definition: Group.h:41