🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #12642

linux serial programming

#12642
From: Ryan Cassel
Date: Wed, 24 Oct 2001 18:38
10 lines
1399 bytes
Under Linux, I just want to configure my port in  115200 baud with one
start and stop bit, and no parity in a C program. I've tried "ioctl" but
i didn't sucess to find the signification of flags. I try "termios" but
it's the same thing i can't find the flags corresponding at start and
stop bit...

Some one can tell me how can i do to configure my serial port to 115200
bauds one start stop bit with no parity.

thanks
Technical Details
Message-ID: <3BD70AB3.21002B51@wanadoo.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcea4,c911165a000b65f9,start
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-10-24 11:38:57 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail
From: Ryan Cassel <ryan.cassel@wanadoo.fr>
Newsgroups: be.comp.programming
Subject: linux serial programming
Date: Wed, 24 Oct 2001 20:38:43 +0200
Organization: Wanadoo, l'internet avec France Telecom
Lines: 11
Message-ID: <3BD70AB3.21002B51@wanadoo.fr>
NNTP-Posting-Host: aboulogne-104-1-4-120.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: wanadoo.fr 1003948736 20931 80.11.40.120 (24 Oct 2001 18:38:56 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 24 Oct 2001 18:38:56 GMT
X-Mailer: Mozilla 4.78 [fr] (Win98; U)
X-Accept-Language: fr,en