I installed a driver in linux that can talk to the X10 CM19A RF transeiver. All is well installing that.
I can now do echo +A3 > /dev/cm19a0 in konsole and my light will turn on... great.
I am trying to program this action in c++, but i don't know where to start.
Is there a way/command in c++ that can write to a device in linux like echo does in konsole.
Thank you very much for any input, i searched the web and could not find what i needed, i might be looking for the wrong keywords.