LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2007, 11:27 AM   #1
andreski
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
serial port R/W with DTR and RTS


Hi.
I've checked the Serial Programming Howto for a Sample to build a program that:

Read and Write for Serial Port.
Handle RTS and DTR
Sets baudrate, Parity, Stop bits.

And I ve compiled so many, but I wouldnt make exact as I need.

But My box dont act as I want.

The Only program I have sucessfully checked is
gtkterm
It works fine as I need.

I dont understand what is happening with DTR and RTS status.

Thanks for any advice.
 
Old 12-06-2007, 10:57 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Perhaps you can explain exactly what you do want, or how the attempts you have made failed (post code fragments in [C O D E] tags, as appropriate).
--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Set RTS high on serial port Regulus Linux - Software 1 08-09-2006 04:58 PM
Serial line RTS and DTR setting zhanghao Linux - Hardware 1 02-15-2006 08:43 AM
Serial line RTS and DTR setting zhanghao Linux - General 5 02-14-2006 04:34 PM
Serial Port : How do I raise DTR ttumelty Programming 3 08-26-2005 04:17 AM
Controlling serial port RTS pin from 'C' program dcarter Slackware 1 09-26-2003 07:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration