51 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
52 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
53 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
94 bool getStartupData();
97 bool getFirmwareVersion();
102 bool sendCommand(
const char *command,
char *response);
114 bool hasLight{
true };
115 uint8_t simulationWorkCounter{ 0 };
116 uint8_t targetCoverStatus{ 0xFF };
117 uint8_t prevCoverStatus{ 0xFF };
118 uint8_t prevLightStatus{ 0xFF };
119 uint8_t prevMotorStatus{ 0xFF };
120 uint8_t prevBrightness{ 0xFF };
126 bool callHandshake();
The Serial class manages connection with serial devices including Bluetooth. Serial communication is ...
The TCP class manages connection with devices over the network via TCP/IP. Upon successful connection...
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
virtual IPState UnParkCap() override
unPark dust cap (open cover). Must be implemented by child.
virtual bool initProperties() override
Initialize properties initial state and value. The child class must implement this function.
virtual IPState AbortCap() override
Abort motion. Must be implemented by child.
virtual bool ISSnoopDevice(XMLEle *root) override
Process a snoop event from INDI server. This function is called when a snooped property is updated in...
virtual void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
void setDustcapConnection(const uint8_t &value)
setDustcapConnection Set Dustcap connection mode. Child class should call this in the constructor bef...
virtual bool SetLightBoxBrightness(uint16_t value) override
setBrightness Set light level. Must be implemented in the child class, if supported.
virtual IPState ParkCap() override
Park dust cap (close cover). Must be implemented by child.
void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual bool EnableLightBox(bool enable) override
EnableLightBox Turn on/off on a light box. Must be implemented in the child class.
uint8_t getDustcapConnection() const
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
enum SnapCap::@70 DustcapConnection
const char * getDefaultName() override
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
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...