46 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
47 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
69 std::vector<std::string> split(
const std::string &input,
const std::string ®ex);
90 bool setPowerEnabled(uint8_t port,
bool enabled);
91 bool setPowerOnBoot();
94 bool setAutoDewEnabled(
bool enabled);
95 bool setDewPWM(uint8_t
id, uint8_t value);
103 bool sendCommand(
const char *
cmd,
char *res);
106 bool setupComplete {
false };
163 std::vector<std::string> lastSensorData;
164 char stopChar { 0xD };
166 static constexpr
const uint8_t PEGASUS_TIMEOUT {3};
167 static constexpr
const uint8_t PEGASUS_LEN {128};
168 static constexpr
const char *DEW_TAB {
"Dew"};
169 static constexpr
const char *ENVIRONMENT_TAB {
"Environment"};
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...
Provides interface to implement weather reporting functionality.
virtual IPState updateWeather() override
updateWeather Update weather conditions from device or service. The function should not change the st...
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
const char * getDefaultName() override
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
Combines all INDI Connection Plugins. Each INDI connection plugin is responsible of managing communic...
Number vector property descriptor.
Switch vector property descriptor.