Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
Read system call is reading what is being writtein instead of OK when communicating with ...
- 05-29-2008

Re: Read system call is reading what is being writtein instead of OK when communicating with modem

There is echo functionality somewhere on the system.
This means that either the modem or some other part on
the communications chain echoes back the sent characters.
--
Tomi Engdahl (http://www.iki.fi/then /)
Take a look at my electronics web links and documents at
Tomi Engdahl (http://www.iki.fi/then /)
Take a look at my electronics web links and documents at
We've slightly trimmed the long signature. Click to see the full one.

Re: Read system call is reading what is being writtein instead of OK when communicating with modem

I am using cygwin.When I start hyperterminal,I am getting OK response
correctly.Moreover after checking through hyperterminal,my program is
giving OK as expected.But after 2 hours of testing it is again
printing the written input.Disconnecting and connecting also giving
this problem.The thing is hyperterminal is doing something which is
setting the things right.How can I know what the hyperterminal is
doing?

Re: Read system call is reading what is being writtein instead of OK when communicating with modem

athttp://www.epanorama.net /

OK.
The problem in then in the host OS layer (Windows).
The Windows-emulated Unix system call may be different
from the one running on a Unix-like system.
It is off-topic in a Linux newsgroup.
--
Tauno Voipio
Tauno Voipio

Re: Read system call is reading what is being writtein instead of OK when communicating with modem
Hi,

Do any other cygwin apps (like minicom) work? If so, you could use strace()
to see what ioctl()s are being sent.
Unfortunately I've no idea what the 'doze equivalent is to trace
hyperterminal .exe would be (or even if there is one).
Cheers,
John McCallum

Do any other cygwin apps (like minicom) work? If so, you could use strace()
to see what ioctl()s are being sent.
Unfortunately I've no idea what the 'doze equivalent is to trace
hyperterminal .exe would be (or even if there is one).
Cheers,
John McCallum

Re: Read system call is reading what is being writtein instead of OK when communicating with modem

I am getting the same problem also on a linux machine.We are getting
the input that is written as well as ok.We connected an N95 to the usb
port for the purpose of serial communication.Please help.Thanks
Site Timeline
- » Linux Kernel for SiS 55x SoC based system
- — Next thread in » Embedded Linux
-
- » Kernel starts dropping incoming ping packets
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Communist Chinese Military Companies
- — The site's Newest Thread. Posted in » Field-Programmable Gate Arrays
-