LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 09-27-2004, 08:30 AM   #1
zaheer031
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
Reading Baud Rate of Serial Port


1.I am writing a program
to communicate via serial port.
I am curious to find out how exactly
to print the input baud rate of serial
port.


2. When I try to set the Baud rate
using cfsetospeed() system call
beyond 9600 at both the sender and
reciever ends there seems to be some
problem with receiving of data.


Any leads would be of great help,

Zaheer
 
Old 09-27-2004, 12:47 PM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
This document may help:
http://www.easysw.com/~mike/serial/serial.html
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
Setting Baud Rate on Comm2 Question steve_f60 Linux - General 2 06-21-2005 01:30 PM
reading data from a serial port mchitrakar Linux - Networking 3 12-04-2004 01:24 PM
How do I change ttyS port baud rate? joe_dejesus Linux - General 1 09-27-2001 09:50 PM
rs232 at non-standard baud rate possible? scgadgets Programming 1 09-14-2001 08:27 PM


All times are GMT -5. The time now is 07:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration