Unix Programming - Send a series of bit zeros through serial port

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > July 2006 > Send a series of bit zeros through serial port





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 Send a series of bit zeros through serial port
jwamicha

2006-07-31, 7:28 am

Hi,

I'm currently running linux on an embedded POS device
(http://www.linudix.com) which unfortunately I'm unable to recompile
Linux for. The support is also poor and so I have been unable to obtain
a response on the details of the serial device it is running.

The problem is tcsendbreak() simply does not work. I need to send
BREAK signal so I can get data off a weighing machine.

Does anyone know a way I can send a series of bit zero streams for
between 250ms and 500ms rather than using tcsendbreak?

Thanks a million.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com