From: Patrik Sj�gren <Patrik.Sjogren@lmemw.ericsson.se>
Subject: POSIX file_io, full-duplex problems
Date: 1996/03/29
Date: 1996-03-29T00:00:00+00:00 [thread overview]
Message-ID: <315B9B00.3B59@lmemw.ericsson.se> (raw)
Hi,
I'm trying to make my application (running on Sun,Solaris2.5, compiled
with gnat3.01) talk to a PC via /dev/ttyb. The "hardware-binding" I've
tried to use is forest1.4 (POSIX).
My problem is that I only get one-way communication to work (write_only
in one end and read_only at the other end). Should I be able to
open( /dev/ttyb, Read_Write ) and use one filedescriptor for both read and
write? I've tried this and also two filedescriptors for read or write but the
result is the same. The "write-end" gets garbage when trying to Read the
Read_Fd.
Could someone please give me a hint or direct me to existing software
using a similar setup?
thanks!/Patrik Sjogren
--
\_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_
Patrik Sj�gren
Ericsson Microwave Systems AB
Display- and Reconnaissance Phone: (+46) 13 - 28 41 42
Systems Division Fax: (+46) 13 - 28 42 80
LM/EMW/FD/KL Email: Patrik.Sjogren@lmemw.ericsson.se
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
reply other threads:[~1996-03-29 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox