From: Jean Tourrilhes <jt@bo...> - 2002-12-12 17:56:05
Markus Pietrek wrote :
> I have just a simple question about serial connections over IrDA
> using IrCOMM. When I use /dev/ircomm0 for reading and writing, I
> loose the connection after a reset of the communication partner. I
> have to close and reopen /dev/ircomm0 first, because any data can be
> sent or received again. Is this an indented feature of the protocol?
> This is quite different to the connectionless /dev/ttyS0.
Correct. This is because there is no guarantee that the next
guy in front of the IrDA port is the same guy as before. Especially
that if the other guy reset the IrDA stack, it will come back with a
different IrDA address.
By the way, if I were you I would not use IrCOMM, because the
whole model is broken. If there is two guys in front of the IrDA port,
which one do you connect to ? Please use IrDA sockets, which give you
full control over those things.
> I'm using uClinux 2.4.17.
I hope you are aware that 2.4.17 contains bugs where a IrDA
connection could drop after some time, even if the other end didn't
reset. Fixed in later versions.
From: Markus Pietrek <maillist@fs...> - 2002-12-13 08:24:05
On Thursday 12 December 2002 18:54, Jean Tourrilhes wrote:
> By the way, if I were you I would not use IrCOMM, because the
> whole model is broken. If there is two guys in front of the IrDA port,
> which one do you connect to ? Please use IrDA sockets, which give you
> full control over those things.
I will try that out later. But at the very beginning it seamed that IrCOMM was
the easiest way to get used to IrDA and use a serial protocol over it.
> > I'm using uClinux 2.4.17.
> I hope you are aware that 2.4.17 contains bugs where a IrDA
> connection could drop after some time, even if the other end didn't
> reset. Fixed in later versions.
Yes, there are a lot of fixes from 2.4.17 to 2.4.20. But, running uClinux in
an embedded system with a lot of adapted drivers and memory configurations,
it is not so easy just to install a new kernel. I assume some days work for
it., changing all the Config and Makefiles, change the arch/arm/kernel code
Thanks for your information.
FS FORTH-SYSTEME GmbH
Phone: +49 (7667) 908 145, FAX +49 (7667) 908 221