Thursday, October 05, 2006

Playing With Serial

Today i got a new assignment to play with serial ports using RS-232 protocol and i have to find a way in GNU/Linux to capture the data. Luckily, it was very easy after get the information from other people. We can capture all the traffic directly from a device which was attached with the device (in my case it was attached in /dev/ttyUSB0 after looking at dmesg message). After setting the parameter, we can start capturing the data (for the test case, we use a heart beat sensors and it worked). Basically it's just a prototype. After writing this, i will look for more information about this in the place where it should be implemented :)

No comments:

Post a Comment