29 #define UDP_STATUS_CMD "SGETAL"
30 #define UDP_OUTPUT_CMD "S%1uO%03u"
31 #define UDP_THRESHOLD_CMD "STHR%1u%1u"
32 #define UDP_CALIBRATION_CMD "SCA%1u%1u%1u"
33 #define UDP_LINK_CMD "SLINK%1u"
34 #define UDP_AUTO_CMD "SAUTO%1u"
35 #define UDP_AGGRESSIVITY_CMD "SAGGR%1u"
36 #define UDP_IDENTIFY_CMD "SWHOIS"
37 #define UDP_RESET_CMD "SEERAZ"
42 #define UDP_DONE_RESPONSE "DONE"
43 #define UDP_RES_LEN 80
66 #define UDP_STATUS_RESPONSE "##%f/%f/%f/%f/%f/%u/%u/%u/%u/%u/%u/%u/%u/%u/%u/%u**"
67 #define UDP_STATUS_START "##"
68 #define UDP_STATUS_SEPARATOR "/"
69 #define UDP_STATUS_END "**"
71 #define UDP_IDENTIFY_RESPONSE "UDP2(%u)"
89 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
90 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
94 bool sendCommand(
const char *
cmd,
char *response);
103 bool setOutput(
unsigned int channel,
unsigned int value);
104 bool setCalibrations(
unsigned int ch1,
unsigned int ch2,
unsigned int ambient);
105 bool setThresholds(
unsigned int ch1,
unsigned int ch2);
106 bool setAutoMode(
bool enable);
107 bool setLinkMode(
bool enable);
108 bool setAggressivity(
unsigned int aggressivity);
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...
virtual ~USBDewpoint()=default
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual const char * getDefaultName() override
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 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...