I am wondering if anybody can point me into the right direction as I am very new to linux operating systems....
Im working on crossbow mica2 hardware (wireless sensor networks) using TinyOS on linux - xubuntos to be precise.
My ambition is to create a program that will automatically capture the data and create a file containing the data while streaming through rs232 cable (serial to usb converter) which is also connected to the base station at the other end. I can see the packets/data streaming in the terminal.
I would prefer to do the coding in C I think I have a fair idea to do this. But in Linux everything is a file.
How can I do this on Linux?
(port number is /dev/ttyUSB0 which is COM1 windows equivalent)