Ontrol has built a basic driver framework that greatly simplifies communications driver development for Ontrol devices. This allows coding simple master-slave drivers in a simple way. OntrolBaseDriver provides all the mechanisms for :
- cyclical polling
- fast/normal/slow poll rates
- Response time-outs and retries
- On-change and periodical writes with maxWriteTime setting
- Device pinging
All these are taken care of by the OntrolBaseDriver, completely independent of the protocol or even the communication medium. By extending from this, you can easily develop your own custom driver, concentrating or your protocol details only, without needing to worry about all the background processing.