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"};
71 INDI::PropertySwitch CalibrateSP{1};
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);
105 INDI::PropertyNumber DC1ControlNP{1};
111 INDI::PropertyNumber DC2ControlNP{1};
117 INDI::PropertyNumber DC3ControlNP{1};
123 INDI::PropertySwitch DC1diffSP{3};
131 INDI::PropertyNumber DC1diffSETNP{1};
136 INDI::PropertyNumber DC1constSETNP{1};
143 INDI::PropertySwitch DC2diffSP{3};
151 INDI::PropertyNumber DC2diffSETNP{1};
156 INDI::PropertyNumber DC2constSETNP{1};
163 INDI::PropertySwitch DC3diffSP{3};
171 INDI::PropertyNumber DC3diffSETNP{1};
176 INDI::PropertyNumber DC3constSETNP{1};
185 INDI::PropertyNumber PowerMonitorNP{4};
194 INDI::PropertyNumber ENVMonitorNP{6};
209 Connection::Serial *serialConnection{
nullptr };
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...
*brief user defined string literal for JSON values *sa std::size_t n
Combines all INDI Connection Plugins. Each INDI connection plugin is responsible of managing communic...