mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 21:29:49 +03:00
Haier Air Conditioner UART driver added (initial release)
some warnings removed
This commit is contained in:
@@ -10,14 +10,14 @@ public:
|
||||
virtual ~abstractCh(){};
|
||||
virtual int Poll() = 0;
|
||||
virtual int Setup() =0; //Should initialize hardware and reserve resources
|
||||
virtual int Anounce () {};
|
||||
virtual int Stop() {}; //Should free resources
|
||||
virtual int Anounce () {return 0;};
|
||||
virtual int Stop() {return 0;}; //Should free resources
|
||||
virtual int Status() {return CST_UNKNOWN;}
|
||||
|
||||
|
||||
protected:
|
||||
virtual int publishTopic(char* topic, long value, char* subtopic = NULL);
|
||||
virtual int publishTopic(char* topic, float value, char* subtopic = NULL );
|
||||
virtual int publishTopic(char* topic, char * value, char* subtopic = NULL);
|
||||
virtual int publishTopic(const char* topic, long value, const char* subtopic = NULL);
|
||||
virtual int publishTopic(const char* topic, float value, const char* subtopic = NULL );
|
||||
virtual int publishTopic(const char* topic, const char * value, const char* subtopic = NULL);
|
||||
//friend Input;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user