delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/09/06:10:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Arik BenDov <arikbd AT hotmail DOT com>
Subject: Problem with serial port init
Date: Mon, 9 Feb 2004 10:05:49 +0000 (UTC)
Lines: 18
Message-ID: <loom.20040209T105919-70@post.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 62.90.139.184 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1))

Hi,

I have a strang proglem any help will be appriciated

I have s program sending data VIA serial port between 2 machines. The program 
works fine when both are Linux.
I use cygwin to port the program to windows (I run the program under Dos shell 
not Cygwin) and I have problem with the port setup part, the program cannot 
set the serial port parameters (speed, data bits etc).

When I disable the port setup part and use mode to set the port parameters the 
program works fine.

Does any one has code example (in C, C++) that does the work? I'm using 
termios tcsetattr.

Thanks.
Arik


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019