37 bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
38 bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
45 bool readCurrentFilterFromStatus(
int &position);
46 bool sendCommand(
const char *command,
char *response,
int responseLen,
int timeoutSeconds);
47 bool sendAutomaticCalibration();
48 bool sendZeroDetection();
58 char mFirmware[16] {};
59 IText DeviceInfoT[2] {};
const char * getDefaultName() override
int QueryFilter() override
Return current filter position.
bool initProperties() override
Initialize properties initial state and value. The child class must implement this function.
bool SelectFilter(int position) override
Select a new filter position.
bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
bool Handshake() override
perform handshake with device to check communication
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.