8
« on: March 30, 2010, 12:11:28 pm »
So as "possy" in the irc suggested, i will present here the questions, nor the system though ( you can read it please in the pdf , its easier than post here).
The goal is to connect the sensors to LinuxMCE, they all provide their info via TCP/IP since they are connected to the switches and provide their info through the ethernet ports, i need to make the code in c++ on the end of LinuxMCE to receive that data.
Question 1 - I have three switches in the system, one to raise the number of lan ports (S1), and the other two which have sensors connected to them via SPI, rs2323, CAN. The S1 is connected to the core pc, and the other two are connected to this first one. Do i need to create a template device for any of the switches ( the main one and the sensor's ones) or letting the system know them in any way? (since they are just used to interconnect the system?)
Question 2 - For the sensors themselves should I mimic for example the motion sensor, the one you already have in the system? in terms of events, commands ,etc for the template? And what differs from yours is the real implementation c++ code?
THanks