delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/04/06:29:36

Message-Id: <4.1.19991104211819.00a243a0@mail.student.unimelb.edu.au>
X-Sender: surahyo AT mail DOT student DOT unimelb DOT edu DOT au
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Thu, 04 Nov 1999 21:21:43 +1100
To: djgpp AT delorie DOT com
From: Surahyo <surahyo AT pgrad DOT unimelb DOT edu DOT au>
Subject: Re: Need help
In-Reply-To: <Pine.SUN.3.91.991104091449.9537T-100000@is>
References: <4 DOT 1 DOT 19991104151502 DOT 00a245d0 AT mail DOT student DOT unimelb DOT edu DOT au>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Could you please send me any simple program
to send and receive data using RS-232 (DOS, PC).
I am sorry, I am a beginner in C.
Thanks in advance.

At 09:15 4/11/99 +0200, you wrote:
>
>On Thu, 4 Nov 1999, Surahyo wrote:
>
>> I want to send this command below:
>>     "$PASHQ,GGA"
>> to COM1, which is connected to GPS receiver.
>> (9600 baud, 8 data bits, no parity, 1 stop bits).
>> The next, I want to get the response (ASCII format)
>> and put in a file.
>
>You should be able to do this by using the pre-defined stream named
>stdaux, exactly like you would with stdin and stdout.

- Raw text -


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