|
|
| SuplaSrpc (SuplaDeviceClass *sdc, int version=23) |
|
void | setNetworkClient (Supla::Client *newClient) |
| void | onInit () override |
| bool | onLoadConfig () override |
| bool | verifyConfig () override |
| bool | isEnabled () override |
| void | disconnect () override |
| bool | iterate (uint32_t _millis) override |
| bool | isNetworkRestartRequested () override |
| uint32_t | getConnectionFailTime () override |
| bool | isRegisteredAndReady () override |
|
void | initClient () |
| void | sendActionTrigger (uint8_t channelNumber, uint32_t actionId) override |
| void | sendRegisterNotification (TDS_RegisterPushNotification *notification) override |
| bool | sendNotification (int context, const char *title, const char *message, int soundId) override |
| void | sendSubdeviceDetails (TDS_SubdeviceDetails *subdeviceDetails) override |
| void | getUserLocaltime () override |
| void | sendChannelValueChanged (uint8_t channelNumber, int8_t *value, uint8_t offline, uint32_t validityTimeSec) override |
| void | sendExtendedChannelValueChanged (uint8_t channelNumber, TSuplaChannelExtendedValue *value) override |
| void | getChannelConfig (uint8_t channelNumber, uint8_t configType) override |
| bool | setChannelConfig (uint8_t channelNumber, _supla_int_t channelFunction, void *channelConfig, int size, uint8_t configType) override |
| bool | setDeviceConfig (TSDS_SetDeviceConfig *deviceConfig) override |
| bool | setInitialCaption (uint8_t channelNumber, const char *caption) override |
| void | sendRemainingTimeValue (uint8_t channelNumber, uint32_t timeMs, uint8_t state, int32_t senderId) override |
|
void | sendRemainingTimeValue (uint8_t channelNumber, uint32_t remainingTime, unsigned char state[SUPLA_CHANNELVALUE_SIZE], int32_t senderId, bool useSecondsInsteadOfMs) override |
|
void | onVersionError (TSDC_SuplaVersionError *versionError) |
|
void | onRegisterResult (TSD_SuplaRegisterDeviceResult *register_device_result) |
|
void | onRegisterResultB (TSD_SuplaRegisterDeviceResult_B *registerDeviceResultB) |
|
void | onSetActivityTimeoutResult (TSDC_SuplaSetActivityTimeoutResult *result) |
|
void | setActivityTimeout (uint32_t activityTimeoutSec) |
|
uint32_t | getActivityTimeout () |
|
void | updateLastResponseTime () |
|
void | updateLastSentTime () |
|
void | onGetUserLocaltimeResult (TSDC_UserLocalTimeResult *result) |
| void | sendChannelStateResult (int32_t receiverId, uint8_t channelNo) override |
|
void | setServerPort (int value) |
|
void | setVersion (int value) |
|
void | setSuplaCACert (const char *) |
|
void | setSupla3rdPartyCACert (const char *) |
|
const char * | getSuplaCACert () const |
|
const char * | getSupla3rdPartyCACert () const |
|
void | setLowLevelDebugLogs (bool value) |
| bool | isUpdatePending () override |
|
void | handleDeviceConfig (TSDS_SetDeviceConfig *deviceConfig) |
|
void | handleSetDeviceConfigResult (TSDS_SetDeviceConfigResult *result) |
|
void | sendPendingCalCfgResult (int16_t channelNo, int32_t result, int32_t command, int dataSize=0, void *data=nullptr) |
|
void | sendPendingCalCfgResultForCommand (int16_t channelNo, int32_t result, int32_t pendingCommand, int32_t responseCommand, int dataSize=0, void *data=nullptr) |
|
void | sendCalCfgResult (int32_t receiverId, int16_t channelNo, int32_t result, int32_t command, int dataSize=0, void *data=nullptr) |
|
void | clearPendingCalCfgResult (int16_t channelNo, int32_t command=-1) |
|
void | clearPendingCalCfgTimeout (int16_t channelNo, int32_t command=-1) |
|
void | setChannelConflictResolver (Supla::Device::ChannelConflictResolver *resolver) |
|
void | logSrpcPacket (bool send, int callId, const uint8_t *buf, size_t size) |
|
| ProtocolLayer (SuplaDeviceClass *sdc) |
|
ProtocolLayer * | next () |
|
SuplaDeviceClass * | getSdc () |
|
void | setVerboseLog (bool value) |
|
virtual bool | isConfigEmpty () |
|
virtual bool | isConnectionError () |
|
virtual bool | isConnecting () |
|
virtual bool | isMqtt () const |
|
virtual void | sendRemainingTimeValue (uint8_t channelNumber, uint32_t remainingTime, uint8_t *state, int32_t senderId, bool useSecondsInsteadOfMs) |
|
virtual void | notifyConfigChange (int channelNumber) |