39 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
40 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
41 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
55 bool sendCommand(
const char *
cmd,
char *response);
63 INDI::PropertyText ModelVersionTP {1};
64 INDI::PropertyText APIKeyTP {1};
66 static constexpr const uint8_t DIGITAL_INPUTS {8};
67 static constexpr const uint8_t DIGITAL_OUTPUTS {8};
68 static constexpr const uint8_t ANALOG_INPUTS {4};
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 bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
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.
virtual bool CommandOutput(uint32_t index, OutputState command) override
Send command to output.
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual ~IPX800()=default
virtual bool initProperties() override
Initialize properties initial state and value. The child class must implement this function.
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
const char * getDefaultName() override
virtual bool UpdateDigitalOutputs() override
Update all digital outputs.
void TimerHit() override
Callback function to be called once SetTimer duration elapses.
*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...