Communication between C and C# programm
Posted: Sun May 07, 2017 9:43 pm
Hello everyone,
I have a question now i am working on a little security system that i made in miniature house with some sensors like a PIR, smokedetectors, magnetic contacts and some outputs like a sirene , LEDstrip,... the driving of this inputs/outputs i will do that with a C programm.
On the other side of the project there is an user interface where te user can arm and dissarm the security systems, add/remove sensors, see the logging, ... i will made this in C#.
Some things like arm and dissarm the system need some communication between the C and the C# programm.
But now i wondered what the best way is to do that on the RPI. I know that i can read a TCP/IP server-client but i wondered of there are some other tools that are easyer or some other communcation methonds.
I have a question now i am working on a little security system that i made in miniature house with some sensors like a PIR, smokedetectors, magnetic contacts and some outputs like a sirene , LEDstrip,... the driving of this inputs/outputs i will do that with a C programm.
On the other side of the project there is an user interface where te user can arm and dissarm the security systems, add/remove sensors, see the logging, ... i will made this in C#.
Some things like arm and dissarm the system need some communication between the C and the C# programm.
But now i wondered what the best way is to do that on the RPI. I know that i can read a TCP/IP server-client but i wondered of there are some other tools that are easyer or some other communcation methonds.