For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > November 2007 > serial monitoring with RTS/CTS









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author serial monitoring with RTS/CTS
marco.guai@gmail.com

2007-11-22, 8:08 am

Hi all.
I have the Linux kernel 2.6

I need to use and monitoring a serial using HW control pins RTS/CTS.

I have tried to use: ioctl(fd, TIOCMBIS, TIOCM_RTS);
for set high the RTS pin.

but I have this error: -1.

someone can help me?

thanks in advance.
Marco Guai
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com