37 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
90 bool sendCommand(
const char *
cmd,
char * res =
nullptr,
int cmd_len = -1,
int res_len = -1);
91 void hexDump(
char * buf,
const char * data,
int size);
92 std::vector<std::string> split(
const std::string &input,
const std::string ®ex);
101 static constexpr
const char * INFO_TAB =
"Info";
103 static const char DRIVER_STOP_CHAR { 0x0A };
105 static constexpr
const uint8_t DRIVER_TIMEOUT {3};
107 static constexpr
const uint8_t DRIVER_LEN {128};
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 successfull connectio...
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
const char * getDefaultName() override
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....
Number vector property descriptor.