42 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
48 virtual bool updateLocation(
double latitude,
double longitude,
double elevation);
51 IText wunderAPIKeyT[1] {};
54 double wunderLat, wunderLong;
virtual bool saveConfigItems(FILE *fp)
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
const char * getDefaultName()
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 updateLocation(double latitude, double longitude, double elevation)
Update weather station location.
virtual IPState updateWeather()
updateWeather Update weather conditions from device or service. The function should not change the st...
bool Connect()
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
bool Disconnect()
Disconnect from device.
Text vector property descriptor.