Linux modules, drivers etc
I'm currently on a monitoringproject, where I work with a linux monitor box. I monitor several RS-232 devices and everything is going really well. The problem is: how can I make my monitordata available for new applications?
I made monitoringsoftwaredrivers and a memory management. This is a separate task. There is a service layer (2nd task) which function must be available for other applications. It takes information out of the memory management and answer this to the application. This way they never have to wait for the RS-232 protocol(which is really slow), And I can just give the API and binary to the high-level developers.
What I want now is:
The RS-232 service starts working on start up(this is not that hard, init.d etc.). When I start a monitor / log / smart thingy application it takes the information from my service. This application(s) will be typically written in Python.
What is the most common / best way to do this? Module? Linked Library, Pipelines?