diff --git a/keba/integrationpluginkeba.h b/keba/integrationpluginkeba.h index b8df1b7c..00b72e7a 100644 --- a/keba/integrationpluginkeba.h +++ b/keba/integrationpluginkeba.h @@ -51,8 +51,6 @@ class IntegrationPluginKeba : public IntegrationPlugin public: explicit DevicePluginKeba(); - void init() override; - void discoverDevices(DeviceDiscoveryInfo *info) override; void setupDevice(DeviceSetupInfo *info) override; diff --git a/keba/kecontact.h b/keba/kecontact.h index 06e1da02..20bd3ce6 100644 --- a/keba/kecontact.h +++ b/keba/kecontact.h @@ -115,25 +115,23 @@ public: int serialNumber(); void setAddress(QHostAddress address); - bool getDeviceConnectedStatus(); - bool getDeviceBlockedStatus(); QUuid enableOutput(bool state); QUuid setMaxAmpere(int milliAmpere); + QUuid unlockCharger(); + QUuid displayMessage(const QByteArray &message); + void getDeviceInformation(); void getReport1(); void getReport2(); void getReport3(); - QUuid unlockCharger(); - QUuid displayMessage(const QByteArray &message); - private: QUdpSocket *m_udpSocket = nullptr; QHostAddress m_address; QByteArrayList m_commandList; bool m_deviceBlocked = false; - bool m_connected = false; + QTimer *m_requestTimeoutTimer = nullptr; int m_serialNumber; QList m_pendingRequests;