|
void | fillStateData (TDSC_ChannelState *channelState) |
|
void | addClock (Supla::Clock *clock) |
|
Supla::Clock * | getClock () |
|
bool | begin (const char GUID[SUPLA_GUID_SIZE], const char *Server, const char *email, const char authkey[SUPLA_AUTHKEY_SIZE], unsigned char protoVersion=23) |
|
bool | begin (unsigned char protoVersion=23) |
|
void | setName (const char *Name) |
|
void | setGUID (const char GUID[SUPLA_GUID_SIZE]) |
|
void | setAuthKey (const char authkey[SUPLA_AUTHKEY_SIZE]) |
|
void | setEmail (const char *email) |
|
void | setServer (const char *server) |
|
void | setSwVersion (const char *) |
|
void | setManufacturerId (int16_t) |
|
void | setProductId (int16_t) |
|
void | addFlags (int32_t) |
|
void | removeFlags (int32_t) |
|
bool | isSleepingDeviceEnabled () |
|
int | generateHostname (char *, int macSize=6) |
|
void | onTimer (void) |
|
void | onFastTimer (void) |
|
void | iterate (void) |
|
void | status (int status, const __FlashStringHelper *msg, bool alwaysLog=false) |
|
void | setStatusFuncImpl (_impl_arduino_status impl_arduino_status) |
|
void | setServerPort (int value) |
|
int | handleCalcfgFromServer (TSD_DeviceCalCfgRequest *request, TDS_DeviceCalCfgResult *result=nullptr) |
|
void | enterConfigMode () |
|
void | leaveConfigModeWithoutRestart () |
|
void | enterNormalMode () |
|
void | scheduleSoftRestart (int timeout=0) |
|
void | scheduleProtocolsRestart (int timeout=0) |
|
void | softRestart () |
|
void | saveStateToStorage () |
|
void | disableCfgModeTimeout () |
|
void | resetToFactorySettings () |
|
void | disableLocalActionsIfNeeded () |
|
void | requestCfgMode (Supla::Device::RequestConfigModeType) |
|
int | getCurrentStatus () |
|
bool | loadDeviceConfig () |
|
bool | prepareLastStateLog () |
|
char * | getLastStateLog () |
|
void | addLastStateLog (const char *) |
|
void | enableLastStateLog () |
|
void | disableLastStateLog () |
|
void | setRsaPublicKeyPtr (const uint8_t *ptr) |
|
const uint8_t * | getRsaPublicKey () |
|
enum Supla::DeviceMode | getDeviceMode () const |
|
void | setActivityTimeout (_supla_int_t newActivityTimeout) |
|
uint32_t | getActivityTimeout () |
|
void | handleAction (int event, int action) override |
|
void | setAutomaticResetOnConnectionProblem (unsigned int timeSec) |
|
void | setLastStateLogger (Supla::Device::LastStateLogger *logger) |
|
void | setSuplaCACert (const char *) |
|
void | setSupla3rdPartyCACert (const char *) |
|
Supla::Protocol::SuplaSrpc * | getSrpcLayer () |
|
void | setCustomHostnamePrefix (const char *prefix) |
|
void | enableNetwork () |
|
void | disableNetwork () |
|
bool | getStorageInitResult () |
|
bool | isSleepingAllowed () |
|
void | allowWorkInOfflineMode (int mode=1) |
|
bool | isRemoteDeviceConfigEnabled () const |
|
void | setShowUptimeInChannelState (bool value) |
|
void | setProtoVerboseLog (bool value) |
|
bool | isOfflineModeDuringConfig () const |
|
Supla::Mutex * | getTimerAccessMutex () |
|
void | setChannelConflictResolver (Supla::Device::ChannelConflictResolver *resolver) |
|
void | setSubdevicePairingHandler (Supla::Device::SubdevicePairingHandler *handler) |
|
void | setMacLengthInHostname (int value) |
|
void | setStatusLed (Supla::Device::StatusLed *led) |
|
Public Member Functions inherited from Supla::ActionHandler |
virtual void | activateAction (int action) |
|
virtual bool | deleteClient () |
|
virtual ActionHandler * | getRealClient () |
|
virtual void | addAction (uint16_t action, ActionHandler &client, uint16_t event, bool alwaysEnabled=false) |
|
virtual void | addAction (uint16_t action, ActionHandler *client, uint16_t event, bool alwaysEnabled=false) |
|
virtual void | runAction (uint16_t event) const |
|
virtual bool | isEventAlreadyUsed (uint16_t event, bool ignoreAlwaysEnabled) |
|
virtual ActionHandlerClient * | getHandlerForFirstClient (uint16_t event) |
|
virtual ActionHandlerClient * | getHandlerForClient (ActionHandler *client, uint16_t event) |
|
virtual void | disableOtherClients (const ActionHandler &client, uint16_t event) |
|
virtual void | enableOtherClients (const ActionHandler &client, uint16_t event) |
|
virtual void | disableOtherClients (const ActionHandler *client, uint16_t event) |
|
virtual void | enableOtherClients (const ActionHandler *client, uint16_t event) |
|
virtual void | disableAction (int32_t action, ActionHandler *client, int32_t event) |
|
virtual void | enableAction (int32_t action, ActionHandler *client, int32_t event) |
|
virtual bool | disableActionsInConfigMode () |
|