ESPixelStick Firmware
Firmware for the ESPixelStick
|
#include <InputAlexa.h>
Public Member Functions | |
c_InputAlexa (c_InputMgr::e_InputChannelIds NewInputChannelId, c_InputMgr::e_InputType NewChannelType, uint32_t BufferSize) | |
virtual | ~c_InputAlexa () |
void | Begin () |
set up the operating environment based on the current config (or defaults) | |
bool | SetConfig (JsonObject &jsonConfig) |
Set a new config in the driver. | |
void | GetConfig (JsonObject &jsonConfig) |
Get the current config used by the driver. | |
void | GetStatus (JsonObject &jsonStatus) |
void | Process () |
Call from loop(), renders Input data. | |
void | GetDriverName (String &sDriverName) |
get the name for the instantiated driver | |
void | SetBufferInfo (uint32_t BufferSize) |
![]() | |
c_InputCommon (c_InputMgr::e_InputChannelIds NewInputChannelId, c_InputMgr::e_InputType NewChannelType, uint32_t BufferSize) | |
< Start up the driver and put it into a safe mode | |
virtual | ~c_InputCommon () |
virtual bool | SetConfig (ArduinoJson::JsonObject &jsonConfig)=0 |
Set a new config in the driver. | |
virtual void | GetConfig (ArduinoJson::JsonObject &jsonConfig)=0 |
Get the current config used by the driver. | |
virtual void | SetOperationalState (bool ActiveFlag) |
virtual void | NetworkStateChanged (bool IsConnected) |
virtual bool | isShutDownRebootNeeded () |
virtual void | ProcessButtonActions (c_ExternalInput::InputValue_t value) |
c_InputMgr::e_InputChannelIds | GetInputChannelId () |
c_InputMgr::e_InputType | GetInputType () |
Private Member Functions | |
void | validateConfiguration () |
void | onMessage (EspalexaDevice *pDevice) |
void | load () |
Load configuration from File System. | |
void | save () |
Save configuration to File System. | |
Private Attributes | |
Ticker | mqttTicker |
c_InputCommon * | pEffectsEngine = nullptr |
const char * | ON = "ON" |
const char * | OFF = "OFF" |
bool | stateOn = false |
Additional Inherited Members | |
![]() | |
bool | HasBeenInitialized = false |
uint32_t | InputDataBufferSize = 0 |
bool | IsInputChannelActive = true |
c_InputMgr::e_InputChannelIds | InputChannelId = c_InputMgr::e_InputChannelIds::InputChannelId_ALL |
c_InputMgr::e_InputType | ChannelType = c_InputMgr::e_InputType::InputType_Disabled |
c_InputAlexa::c_InputAlexa | ( | c_InputMgr::e_InputChannelIds | NewInputChannelId, |
c_InputMgr::e_InputType | NewChannelType, | ||
uint32_t | BufferSize ) |
|
virtual |
|
virtual |
set up the operating environment based on the current config (or defaults)
Implements c_InputCommon.
void c_InputAlexa::GetConfig | ( | JsonObject & | jsonConfig | ) |
Get the current config used by the driver.
|
inlinevirtual |
get the name for the instantiated driver
Implements c_InputCommon.
|
virtual |
Implements c_InputCommon.
|
private |
Load configuration from File System.
|
private |
|
virtual |
Call from loop(), renders Input data.
Implements c_InputCommon.
|
private |
Save configuration to File System.
|
virtual |
bool c_InputAlexa::SetConfig | ( | JsonObject & | jsonConfig | ) |
Set a new config in the driver.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |