43 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
44 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
58 bool sendCommand(std::string command);
59 bool DC1DIFFMODE=
false;
60 bool DC1CONSTMODE=
false;
61 bool DC2DIFFMODE=
false;
62 bool DC2CONSTMODE=
false;
63 bool DC3DIFFMODE=
false;
64 bool DC3CONSTMODE=
false;
66 static constexpr const char *ENVIRONMENT_TAB {
"Sensors"};
67 static constexpr const char *DC1_TAB {
"DC1"};
68 static constexpr const char *DC2_TAB {
"DC2"};
69 static constexpr const char *DC3_TAB {
"DC3"};
83 void updateENV(
double temp1,
double temp2,
double temp3,
double DHTH,
double DHTT);
87 void updatePower(
double voltage);
88 double voltageread = 0;
91 void updateDC1(
int value);
94 void updateDC2(
int value);
97 void updateDC3(
int value);
101 bool setDewPWM(uint8_t
id, uint8_t value);
The Serial class manages connection with serial devices including Bluetooth. Serial communication is ...
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
const char * getDefaultName() override
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual ~WandererDewTerminator()=default
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual bool initProperties() override
Initialize properties initial state and value. The child class must implement this function.
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
Combines all INDI Connection Plugins. Each INDI connection plugin is responsible of managing communic...