49 virtual bool Connect()
override;
55 virtual std::string
name()
override
57 return "CONNECTION_I2C";
60 virtual std::string
label()
override
98 virtual bool ISNewText(
const char *dev,
const char *
name,
char *texts[],
char *names[],
int n)
override;
std::string m_ConfigBusPath
virtual void Activated() override
Activated Function called by the framework when the plugin is activated (i.e. selected by the user)....
void setDefaultAddress(uint8_t addr)
setDefaultAddress Set default I2C address. The default address is 0x28 unless otherwise changed by th...
INDI::PropertyText I2CConnectionTP
virtual const char * busPath()
void setDefaultBusPath(const char *path)
setDefaultBusPath Set default I2C bus path. Call this function in initProperties() of your driver if ...
virtual bool Connect() override
Connect Connect to device via the implemented communication medium. Do not perform any handshakes.
virtual bool processHandshake()
virtual uint8_t address()
virtual void Deactivated() override
Deactivated Function called by the framework when the plugin is deactivated. It is usually used to de...
virtual std::string name() override
virtual bool Disconnect() override
Disconnect Disconnect from device.
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
virtual std::string label() override
virtual bool saveConfigItems(FILE *fp) override
I2C(INDI::DefaultDevice *dev, IPerm permission=IP_RW)
Interface(INDI::DefaultDevice *dev, Type type=CONNECTION_NONE)
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
IPerm
Permission hint, with respect to client.
*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...